Difference between revisions of "Bright:Shorewall:port forwarding"

From Define Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 14:37, 17 December 2013

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.