RE: How configure Iptable in RedHat 8.0

2003-06-13 Thread Tom Diehl
On Fri, 13 Jun 2003, Daevid Vincent wrote: > You might look into "shorewall" as an easy way to edit iptables stuff... > http://www.shorewall.net/ or gShield, firewall builder, or any of the other tools out there for setting up a iptables rules. Although, I must admit they kinda take a lot of the

RE: How configure Iptable in RedHat 8.0

2003-06-13 Thread Daevid Vincent
ECTED] > Subject: Re: How configure Iptable in RedHat 8.0 > > > Dear Michael Schwendt, > > I modifed "net.ipv4.ip_forward = 1" in file "/etc/sysctl.conf". > Then, I have found "/proc/sys/net/ipv4/ip_forward" is > always"1". It

Re: How configure Iptable in RedHat 8.0

2003-06-13 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 13 Jun 2003 15:14:48 +0700, Le Ngoc Thach wrote: > Dear Michael Schwendt, > > I modifed "net.ipv4.ip_forward = 1" in file "/etc/sysctl.conf". > Then, I have found "/proc/sys/net/ipv4/ip_forward" is always"1". It's > not wrong. > but "PRER

Re: How configure Iptable in RedHat 8.0

2003-06-13 Thread Le Ngoc Thach
Dear Michael Schwendt, I modifed "net.ipv4.ip_forward = 1" in file "/etc/sysctl.conf". Then, I have found "/proc/sys/net/ipv4/ip_forward" is always"1". It's not wrong. but "PREROUTING" does not work. Thach! Michael Schwendt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Ju

Re: How configure Iptable in RedHat 8.0

2003-06-12 Thread I REMAIN
try this iptables -t nat -A PREROUTING -p tcp --dport 81 -i ethX -j DNAT --to 192.168.2.2:80 where ethX refers to the interface for 203.162.4.1 (ould be eth0,eth1 or whatever it correspondes to on your system). Regards Tunde --- Le Ngoc Thach <[EMAIL PROTECTED]> wrote: > > > Hi, > I'm using i

Re: How configure Iptable in RedHat 8.0

2003-06-12 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Jun 2003 13:52:43 +0700, Le Ngoc Thach wrote: > I'm using iptables-1.2.6a-2 in RedHat 8.0 router, gateway and firewall. > I can not configure to implement the case: > Ex: > - External IP of gateway is 203.162.4.1, this host is also listenin