Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Port forwarding issue
- From: "Jigish Gohil" <jigish.gohil@xxxxxxxxx>
- Date: Wed, 1 Nov 2006 07:03:08 +0000 (UTC)
- Message-id: <b317ae5c0610312303r251031a6kadbd78e19986d605@xxxxxxxxxxxxxx>
I am trying to forward all the port 80 requests from internet to my
router to a web server on internal network.
Internet ----> SUSE router ----> Webserver on intranet.
I have followed this guide:
http://www.novell.com/coolsolutions/feature/16709.html
Relevant section in /etc/sysconfig/SuSEfirewall2 are :
FW_DEV_EXT="any eth-id-00:15:f2:52:f8:8a"
FW_DEV_INT="eth-id-00:08:a1:65:d7:c6"
FW_DEV_DMZ=""
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="0/0"
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP="9000 http"
FW_FORWARD=""
FW_FORWARD_MASQ="0/0,192.168.0.249,tcp,80,80,0/0"
FW_REDIRECT=""
FW_SERVICES_ACCEPT_INT=""
FW_SERVICES_ACCEPT_DMZ=""
I have Masquerading enabled, and IP forwarding enabled too.
I can access the server from router, and the web server can connect to
the internet too.
However the requests to port 80 are not being forwarded to the web
server on internal network(192.168.0.249).
Any suggestions what I need to do to fix this?
Thanks in advance
Jigish
router to a web server on internal network.
Internet ----> SUSE router ----> Webserver on intranet.
I have followed this guide:
http://www.novell.com/coolsolutions/feature/16709.html
Relevant section in /etc/sysconfig/SuSEfirewall2 are :
FW_DEV_EXT="any eth-id-00:15:f2:52:f8:8a"
FW_DEV_INT="eth-id-00:08:a1:65:d7:c6"
FW_DEV_DMZ=""
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="0/0"
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP="9000 http"
FW_FORWARD=""
FW_FORWARD_MASQ="0/0,192.168.0.249,tcp,80,80,0/0"
FW_REDIRECT=""
FW_SERVICES_ACCEPT_INT=""
FW_SERVICES_ACCEPT_DMZ=""
I have Masquerading enabled, and IP forwarding enabled too.
I can access the server from router, and the web server can connect to
the internet too.
However the requests to port 80 are not being forwarded to the web
server on internal network(192.168.0.249).
Any suggestions what I need to do to fix this?
Thanks in advance
Jigish
| < Previous | Next > |