Hi guys,

I am trying to set up a port forwarding (port 80) setup on my gateway
linux box so that another box will answer the WWW requests.  I am really
stuck, the ipportfw documentation, isnt. I am using the following
in my rc.local:

/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_cuseeme
/sbin/modprobe ip_masq_quake
/sbin/modprobe ip_masq_vdolive
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a masquerade -S 192.168.0.0/24 -D 0.0.0.0/0
#/sbin/ipfwadm -I -a accept -P tcp -S 0.0.0.0/0 -D 209.180.148.64/32 WWW
/sbin/ipportfw -C
/sbin/ipportfw -A -t209.180.148.64/80 -R 192.168.0.30/80
/sbin/ipportfw -A -u209.180.148.64/525 -R 192.168.0.30/525



I am getting this info fromm the masq :

[root@orion rc.d]# /sbin/ipfwadm -M -l
IP masquerading entries
prot expire   source               destination          ports
udp  01:52.45 192.168.0.35         phnxpop1.phnx.uswest.net 1454 (61018)
-> doma
in
tcp  14:58.92 fred.desrtdocs.com  209.63.131.11        http (80) -> 61758
tcp  12:59.58 fred.desrtdocs.com  209.63.131.11        http (80) -> 61752
tcp  07:24.76 fred.desrtdocs.com  192.168.0.36         http (80) -> 1920
tcp  07:21.36 fred.desrtdocs.com  192.168.0.36         http (80) -> 1919
tcp  07:06.64 fred.desrtdocs.com  192.168.0.36         http (80) -> 1910
tcp  06:42.78 fred.desrtdocs.com  192.168.0.8          http (80) -> 1102
tcp  00:10.68 192.168.0.39         mail.desrtdocs.com  1063 (61023) ->
pop-3
tcp  00:51.96 192.168.0.35         209.63.131.13        1455 (61019) ->
3306

Fred is the http server (192.168.0.30) so if I read this right I am
connecting to the server but its just not coming back across the Masq?

I have checked the logs on both the masq server and the http server and
see nothing really standing out.

Help, I am lost as far as why I cant redirect the port (80)

Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to