openwrt 防火墙

iptables -N MINIUPNPD 2>/dev/nulip
iptables -A forwarding_lan_rule -j MINIUPNPD
iptables -t nat -N MINIUPNPD
iptables -t nat -I prerouting_wan_rule -j MINIUPNPD 2>/dev/null

 

iptables -N MINIUPNPD 2>/dev/nulip

走wan口

iptables -A forwarding_lan_rule -j MINIUPNPD

走lan 口

 

posted on 2022-03-09 11:45  lydstory  阅读(153)  评论(0)    收藏  举报

导航