Bright:Shorewall:port forwarding

From Define Wiki
Revision as of 14:37, 17 December 2013 by Michael (talk | contribs) (Created page with "== Port Forwarding == There are no examples in the rules files, although there are descriptions in the comments at the top of the file. In order to forward a port to another...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Port Forwarding

There are no examples in the rules files, although there are descriptions in the comments at the top of the file.

In order to forward a port to another external system we would use the DNAT option.

DNAT    net     net:10.16.1.1:8081      tcp     5090

The example above is used to forward incoming traffic on teh external network using port 5090, to the system with IP 10.16.1.1 on port 8081. This is the rule that allows us to control the Boston Cluster from outside the lab.