Next-in-Thread Next Message Previous Message Next Thread

Idea: Im doing it

Forum: Linux IP NAT Forum
Re: Question Using Linux NAT like Checkpoint Firewall-1? (Paul Fremantle)
Keywords: Firewall NAT
Date: Mon, 02 Feb 1998 08:32:29 GMT
From: <rolfc@hehe.com>

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

Next-in-Thread Next Message Previous Message Next Thread

Messages Inline: 1 All Outline: 1 2 3

1. Question: It's work only inside.. by SiFu, 2/05/98
-> Question: ports distributing by Roberto Favaro, 2/09/98
-> Note: tcp port redirection by Michael J. Maravillo, 2/09/98
-> More: ...should be done using something else by Michael Hasenstein, 2/10/98
-> Question: How to use port forwarding... by Keith, 12/22/98
-> Feedback: ICQ with IPMASQ by SiFu, 12/22/98
1. Sad: How to do a NAT with Linux ipchains?? by Hunter Nguyen, 6/03/99 newer
4. Sad: How to do a NAT with Linux ipchains?? by Hunter Nguyen, 6/03/99 newer

to: "Im doing it"

Subscribe Membership Move/Remove Admin Mode Help for HyperNews 1.9.5