[Shorewall-newbies] Port Forwarding

Sakthivel Subramanian sakthi at altair.com
Mon Mar 15 15:02:31 PST 2004


If you are trying to direct all the web traffic from net to your internal
webserver running at 192.168.2.4, then a good idea is to use DNAT.
# DNAT rule
DNAT:info  net  ofc:192.168.2.4   tcp     80

-Sakthi

-----Original Message-----
From: shorewall-newbies-bounces at lists.shorewall.net
[mailto:shorewall-newbies-bounces at lists.shorewall.net] On Behalf Of Eugene
Ventimiglia
Sent: Monday, March 15, 2004 1:55 PM
To: 'List for New Shorewall Users'
Subject: [Shorewall-newbies] Port Forwarding


Following the directions in the rules file, I set up the following:


ACCEPT          net     ofc:192.168.2.4 tcp     80      -       all 

I was hoping this would forward port 80 traffic to the firewall to
192.168.2.4, but it doesn't work. Have I set up the rule correctly? The log
doesn't show anything dropped, how can I debug this?

--e

_______________________________________________
Shorewall-newbies mailing list
Post: Shorewall-newbies at lists.shorewall.net
Subscribe/Unsubscribe:
https://lists.shorewall.net/mailman/listinfo/shorewall-newbies
Support: http://www.shorewall.net/support.htm
FAQ: http://www.shorewall.net/FAQ.htm



More information about the Shorewall-newbies mailing list