Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: steffers@earth.uni-muenster.de (Georg Steffers)
To: axp-list@redhat.com
Subject: Re: Port forwarding problems
Date: Thu, 15 Jul 1999 14:40:15 +0200 (METDST)	[thread overview]
Message-ID: <199907151240.OAA16751@earth.uni-muenster.de> (raw)
In-Reply-To: <1BEE67ADF602D3119F9A0008C79174C70E823E@PETRIFIED> from "Durham, Kenneth J" at Jul 14, 99 10:05:59 am

> 
> 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


      reply	other threads:[~1999-07-15 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-14 17:05 Port forwarding problems Durham, Kenneth J
1999-07-15 12:40 ` Georg Steffers [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox