Firewallto enter the
Firewall - Zone Settings.The
SYN-flood protectionis enabled by default. You can use the below default firewall zone settings in most of the conditions.
Firewall. ➀ Under the tab of
General Settings, change forward to
accept. ➁ In the Zones section, change the Forward on the row of WAN from
accept. Click Save & Apply button on the bottom right corner.
Port Forwardsto enter the configure section, on the New port forward section:
Name: Enter the reference name. e.g.,
Protocol: Select from
External zone: Select
External port: Set the port number want to access from the external network 📌 Suggest selecting the WAN port between 1025~25534. Do not use the standard ports occupied by the other services such as 23, 80, 433, 3389, 7700, 10080, etc.
Internal zone: Select
Internal IP Address: Select from the list of connected intranet hosts 📌 If can not find the host on the list, please recheck the IP settings on the host.
Internal port: Choose the port number which needs to forward from the intranet host
Save & Apply
iptables. Go to the tab
Custom Rules, add the new iptable rules. Below is the example codes to forward 192.168.30.113:80 to router IP 192.168.30.1:1180.
iptables -t nat -A PREROUTING -d 192.168.30.1 -p tcp --dport 1180 -j DNAT --to-destination 192.168.30.113:80 iptables -t nat -A POSTROUTING -d 192.168.30.113 -p tcp --dport 80 -j SNAT --to 192.168.30.1
Network > Firewall > Traffic Rules: Open port on router. You can add a new port on the router.
Addbutton. Then click
Save & Applybutton on the bottom right corner. You will find the new port on the