Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Port forwarding problems
@ 1999-07-14 17:05 Durham, Kenneth J
  1999-07-15 12:40 ` Georg Steffers
  0 siblings, 1 reply; 2+ messages in thread
From: Durham, Kenneth J @ 1999-07-14 17:05 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Port forwarding problems
  1999-07-14 17:05 Port forwarding problems Durham, Kenneth J
@ 1999-07-15 12:40 ` Georg Steffers
  0 siblings, 0 replies; 2+ messages in thread
From: Georg Steffers @ 1999-07-15 12:40 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-15 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-14 17:05 Port forwarding problems Durham, Kenneth J
1999-07-15 12:40 ` Georg Steffers

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