From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1302 invoked from network); 15 Jul 1999 12:49:22 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Jul 1999 12:49:21 -0000 Received: from earth.uni-muenster.de (EARTH.UNI-MUENSTER.DE [128.176.216.227]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id IAA26472 for ; Thu, 15 Jul 1999 08:39:57 -0400 Received: (from steffers@localhost) by earth.uni-muenster.de (950413.SGI.8.6.12/950213.SGI.AUTOCF) id OAA16751 for axp-list@redhat.com; Thu, 15 Jul 1999 14:40:15 +0200 From: steffers@earth.uni-muenster.de (Georg Steffers) Message-Id: <199907151240.OAA16751@earth.uni-muenster.de> Subject: Re: Port forwarding problems To: axp-list@redhat.com Date: Thu, 15 Jul 1999 14:40:15 +0200 (METDST) In-Reply-To: <1BEE67ADF602D3119F9A0008C79174C70E823E@PETRIFIED> from "Durham, Kenneth J" at Jul 14, 99 10:05:59 am X-Mailer: ELM [version 2.4 PL24 ME5a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I have redhat 6.0 installed on my machine and updated my kernal to 2.2.5-15 > and added the moduals for ipmasqadm utilities. I run in my rc.firewall all > the ipmaq ruleset and add these 2 lines to forward the ports to the internal > network > > ipmasqadm ipportfw -f > ipmasqadm ipportfw -a -P tcp -L XXX.XXX.XXX.XXX 80 -R 192.168.0.2 80 > > but when i try going to that ip address in the web browser it will not pull > up the page in 192.168.0.2. I made sure that the web browser was running on > the .2 machine. I can access that site from the internal network but from > outside i get nothing. Ive been reading all the documentation from the > ipmasq site but nothing explains more than what i already have. I also > looked into the man pages for ipmasqadm but still i cant figure this out. > can someone help me out. or atleast point me in the right direction. thank > you > I am not sure if this helps but as i changed to a 2.2.* kernel on an i*86 Machine i noticed that i had to enable forwarding explicitly. I did a cat /proc/sys/net/ipv4/ip_forward and it gave me a 0 so i did a echo 1 > /proc/sys/net/ipv4/ip_forward and viola the machine did forwarding Hope this helps Georg