Bright:Shorewall:port forwarding
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 5090The 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.