松哥的笔记
openwrt使用uci命令配置防火墙
2013-12-5 lqy
uci add firewall rule
uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci set firewall.@rule[-1].dest_port=22
uci commit firewall
/etc/init.d/firewall restart

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容