hi ,

my box has four ips on eth0
eth0 192.168.0.1
eth0:0 192.168.0.2
eth0:1 192.168.0.3
eth0:1 192.168.0.4

i want to force all outgoing packets to change ther src add from .1 to .4 

for some reason this doesnt work
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.0.4

any ideas
thx mok2


Reply via email to