Aurora-Admin-Panel / deploy

一个多服务器端口租用管理面板
MIT License
1.58k stars 461 forks source link

开启 IPV6 支持后,本地对外ping ipv6不通了 #107

Open zhaozhejun opened 7 months ago

zhaozhejun commented 7 months ago

root@debian:~# ping 2409:8c60:2400:2:0:5:0:666 PING 2409:8c60:2400:2:0:5:0:666(2409:8c60:2400:2:0:5:0:666) 56 data bytes 64 bytes from 2409:8c60:2400:2:0:5:0:666: icmp_seq=1 ttl=54 time=61.1 ms 64 bytes from 2409:8c60:2400:2:0:5:0:666: icmp_seq=2 ttl=54 time=60.7 ms 64 bytes from 2409:8c60:2400:2:0:5:0:666: icmp_seq=3 ttl=54 time=60.1 ms 64 bytes from 2409:8c60:2400:2:0:5:0:666: icmp_seq=4 ttl=54 time=60.0 ms ^C --- 2409:8c60:2400:2:0:5:0:666 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3005ms rtt min/avg/max/mdev = 59.971/60.471/61.103/0.470 ms root@debian:~# bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)

        极光面板 一键脚本
--------------------------------
1.  安装 极光面板
2.  更新 极光面板
3.  卸载 极光面板
————————————
4.  启动 极光面板
5.  停止 极光面板
6.  重启 极光面板
————————————
7.  查看 后端实时日志
8.  查看 前端实时日志
9.  查看 全部实时日志
10. 导出 全部日志
————————————
11. 备份 数据库
12. 还原 数据库
13. 添加 管理员用户
14. 修改 面板访问端口(默认 8000)
15. 修改 面板流量同步间隔(默认 10 分钟)
16. 修改 DDNS同步间隔(默认 2 分钟)
17. 开启 IPV6 支持(需要本机支持 IPV6)
————————————
0.  退出脚本
————————————

请输入数字 [1-16]: 17

[信息] 已添加 IPV6 MASQ 规则! [+] Running 7/7 ⠿ Container aurora-nginx-1 Removed 0.4s ⠿ Container aurora-worker-1 Removed 10.6s ⠿ Container aurora-backend-1 Removed 10.5s ⠿ Container aurora-redis-1 Removed 0.4s ⠿ Container aurora-postgres-1 Removed 0.5s ⠿ Network aurora_worker Removed 0.3s ⠿ Network aurora_aurora Removed 0.2s [信息] 停止成功! [+] Running 7/7 ⠿ Network aurora_aurora Created 0.1s ⠿ Network aurora_worker Created 0.1s ⠿ Container aurora-postgres-1 Started 1.0s ⠿ Container aurora-redis-1 Started 1.0s ⠿ Container aurora-worker-1 Started 2.1s ⠿ Container aurora-backend-1 Started 1.9s ⠿ Container aurora-nginx-1 Started 3.0s [信息] 启动成功! [信息] 已开启 IPV6 支持! [注意] 重启系统会导致 ip6tables 规则被重置,需要重新添加! root@debian:~# ping 2409:8c60:2400:2:0:5:0:666 ping: connect: Network is unreachable 微信截图_20240322124233

如上,实在不知道哪里出问题了,,卸载极光后恢复正常, 安装极光不启用ipv6也能ping通, 就是启用ipv6后,开始无法ping通外面。。