[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, then a good idea is to use DNAT.
# DNAT rule
DNAT:info  net  ofc:   tcp     80


-----Original Message-----
From: shorewall-newbies-bounces at lists.shorewall.net
[mailto:shorewall-newbies-bounces at lists.shorewall.net] On Behalf Of Eugene
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: tcp     80      -       all 

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


Shorewall-newbies mailing list
Post: Shorewall-newbies at lists.shorewall.net
Support: http://www.shorewall.net/support.htm
FAQ: http://www.shorewall.net/FAQ.htm

More information about the Shorewall-newbies mailing list