HELP--Is it posible to SNAT certain port--

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

 



Hi,
 
Is it posibles to MASQ only sertain port (eg. smtp) package?
That I want to let users mail with another ADSL to keep my web server working smooth.
 
I mean, is this working?
iptables -t nat -A POSTROUTING -p tcp --dport 25 -o eth0 -j SNAT --to 1.2.3.4

[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