Internet, Tech

Port-Forwarding in OpenWRT

Port forwarding can be enabled in OpenWRT by editing the firewall config file /etc/firewall.config.

forward:dport=5022:192.168.1.106:22

This is a typical entry in the firewall config implying that incoming connections from the WAN on port 5022 will be forwarded to port 22 on the machine 192.168.1.106.

Note:

The above method works on Kamikaze. For White Russian, check out the comment below.

Standard