|
Hi
Firstly, ipnatadmin option -l is not implemented Secondly, Im doing what you want to do. It is quite simple. In your case it should be like ipnatadm -O -i -P tcp -S 192.168.200.2/32 -M 1.1.1.160/32 -W eth0
ipnatadm -I -i -P tcp -D 1.1.1.160/32 80 -N 192.168.200.2/32 -W eth0 Where the first rule translate everything that come from your webserver going out and the second rule translate packages for 1.1.1.160 port 80 to 192.168.200.2. Apply the firewall rules as you need. With best regards Rolf Cronberg rolfc@hehe.com
|
Messages
Outline:
It's work only inside.. by SiFu, 2/05/98
ports distributing by Roberto Favaro, 2/09/98
tcp port redirection by Michael J. Maravillo, 2/09/98
...should be done using something else by Michael Hasenstein, 2/10/98
How to use port forwarding... by Keith, 12/22/98
ICQ with IPMASQ by SiFu, 12/22/98
How to do a NAT with Linux ipchains?? by Hunter Nguyen, 6/03/99
How to do a NAT with Linux ipchains?? by Hunter Nguyen, 6/03/99