|
今天晚上刷了flippy大神的月饼版,根据刷机说明自定义了防火墙规则,并且重启了防火墙和盒子.可以用来做旁路由时却无法访问你懂的外网地址,旁路由上的的软软乳显示连接外网地址正常, 并且浏览器国内地址正常
ps: 设置方法没有问题,主路由和旁路由相互指定对方IP为网关,没刷月饼版之前的op版本系统一直这么使用都是没有问题的
自定义了防火墙规则也已经添加了这个条目:
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
防火墙自定义所有规则如下,本人只添加了上面需要添加的一条,其他都未作变更,求大神帮忙指教,怀疑是防火墙规则出问题了,
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
# Internal uci firewall chains are flushed and recreated on reload, so
# put custom rules into the root chains e.g. INPUT or FORWARD or into the
# special user chains, e.g. input_wan_rule or postrouting_lan_rule.
iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
|
|