Can I modify packets that leave my station using iptables to have a different source address ?
For example I have the ip X and I want the packets that leave the station having in the ip header the ip Y. I guess it has something to do with the mangle table of iptables but I`m not too good with that.
something like this maybe?
Code:
iptables -t mangle -A PREROUTING -s X -j SAME --to Y
Please help!