Redirecting outgoing SMTP from LAN to another LAN server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hullo :)

I'd like to do $SUBJECT, but after much playing with commands like

iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 25 -j DNAT --to 10.0.0.253:25

I have given up and have come to you fine people for help...

My LAN is on eth1, with WAN on eth0. The gateway machine is 10.0.0.254 doing masq for 
LAN clients, but I'd like to send any outgoing SMTP connections to 10.0.0.253 - alas 
any time I've tried, I just end up killing ALL outgoing SMTP :(

Any suggestions warmly received!

Cheers,
Gavin.


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux