[Shorewall-newbies] Port Forwarding
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
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: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?
Shorewall-newbies mailing list
Post: Shorewall-newbies at lists.shorewall.net
More information about the Shorewall-newbies