织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

Firewall: functional difference betweenDG游戏 port f

时间:2025-11-07 15:33来源: 作者:admin 点击: 2 次
Hello, I was following some tutorials for setting up a Wireguard server. This one uses a port forward as follows: While the official OpenWrt tutor

Hello, I was following some tutorials for setting up a Wireguard server. This one uses a port forward as follows:

image

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?

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-11-08 06:11 最后登录:2025-11-08 06:11
栏目列表
推荐内容