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

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

 



On Sat, May 24, 2003 at 07:40:58AM +0800, Ricky spoke thusly:

>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

Seems to work without issues for me.
-- 
The fact that the United States can label other countries as terrorist
states itself is quite remarkable because its not a secret that the United
States is incontrovertibly a terrorist state. -- Noam Chomsky


[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