On Sun, 24 Feb 2002, byte wrote:

> I want to know if we can do NAT in the same network. e.g. I want to
> map port 80 of 192.168.1.1 to 192.168.1.4 Can I use: iptables -t nat
> -A PREROUTING -p tcp --dport 80 -d 192.168.1.1 -j DNAT --to
> 192.168.1.4

...and also add SNAT to 192.168.1.1 rule in postrouting.

Regards
tw
-- 

----------------
 ck.eter.tym.pl


Reply via email to