新兵上阵
- 注册时间
- 2020-7-13
- 金币
- 26 个
- 威望
- 0 个
- 荣誉
- 0 个
累计签到:3 天 连续签到:0 天 [LV.20]漫游旅程
|
发表于 2020-7-15 12:40
刷了 openWRT精品小包x86固件By eSir PlayGround 这个包,照网上的配置,成功上网,IPV6也正常。
今天发现从内网用ping命令时,所有的外网地址IPV4无法ping通,比如ping www.baidu.com 能得到IP地址,但无法ping通。但ping IPV6的域名或地址时可以ping 通。FTP也无法连接,局域网内正常。
我刷好后把防火墙里的规则删除了,但自定义规则 里加了一条如下:
# 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.
ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
------------分割线------------
大家帮忙看看是什么问题,感谢!!
|
|