On Wed, 2004-12-15 at 18:09, Burton wrote: > Ok I have had some great help with people on this board I just have not > found an answer to my problem. > > This is what I need to happen > > [Client]--->T1(12.22.81.1) -->[Linux 12.22.81.8 10025]-->[Windows Mail > Server 204.250.113.2 25] > > Then I would like it to also send the data back though T1 (12.22.81.1) > > Current clients get to our SMTP server IE: > [Client]--->T1(204.250.113.1) -->[Windows Mail Server 204.250.113.2 25] > > > The point of this is my boss wants us to divert some traffic though t1 > (12.22.81.1) but keep the our mail server on its current network > > This is what I have tried > > iptables -F > service iptables stop > > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 10025 -j DNAT --to > 204.250.113.2:25 try adding: iptables -t nat -A POSTROUTING -o eth1 -d 204.250.113.2 --dport 25 \ -j SNAT --to-source $ip_of_eth1 to force the replies from the windows mail server back through the linux box. -j -- "Here we have an ordinary square. Whoa! Slow down egghead!" --The Simpsons