|
Hello, I was following some tutorials for setting up a Wireguard server. This one uses a port forward as follows:
image1394×882 83.8 KB While the advises to use the following traffic rule uci set firewall.wg="rule" uci set firewall.wg.name="Allow-WireGuard" uci set firewall.wg.src="https://forum.openwrt.org/t/firewall-functional-difference-between-port-forwards-and-traffic-rules/wan" uci set firewall.wg.dest_port="${VPN_PORT}" uci set firewall.wg.proto="udp" uci set firewall.wg.target="ACCEPT"According to the first tutorial, it looks like port forwarding binds external and internal port, regardless of rules. Are port forwards and traffic rules equivalent solutions? (责任编辑:) |

