求助 关于ipv6问题

@Ta 2021-06-24发布,2021-06-24修改 2203点击
我在光猫里打开了ipv6,获得的地址是
2408:8215:442:5f50:bc35:fc5d:6c66:b9f0,然后我发现在内网中可以直接访问,但是在其他网络,比如我的移动手机,无法访问,但是可以ping通,我尝试了其他端口也不行,是不是哪里没配置好呢
iShot2021-06-24 16.23.34.png

@老虎会游泳
回复列表(3|隐藏机器人聊天)
  • @Ta / 2021-06-24 / /

    换其它端口试试。

  • @Ta / 2021-06-24 / /
    老虎在群里给解答了,解决方法,关闭猫跟路由器里的防火墙
  • @Ta / 2021-06-25 / /

    光猫的IPv6防火墙最有意思,其实是要开启WAN到LAN的端口过滤功能,然后设置过滤类型为黑名单,保持黑名单为空,这样就关掉防火墙了。

    -73db5d905b3fa59d.jpg

    AsusWRT/梅林固件在IPv6页面有一个专门的防火墙开关。

    小米路由器的IPv6防火墙不能通过正常途径关闭,只能通过ssh登录路由器,然后执行ip6tables -F命令来关闭。可以写到开机自启动脚本里,/etc/rc.local,比如我的是:

    root@XiaoQiang:/etc# cat rc.local
    # Put your custom commands here that should be executed once# the system init finished. By default this file does nothing.
    
    ip6tables -F
    ip6tables -X
    ip6tables -P INPUT ACCEPT
    ip6tables -P OUTPUT ACCEPT
    ip6tables -P FORWARD ACCEPT
    
添加新回复
回复需要登录