We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
napt66能否添加支持?
The text was updated successfully, but these errors were encountered:
如果用作二级路由,在不使用napt66情况下,可以通过如下设置使用IPv6。
高级设置—WAN—IPv6设置中除网络连接类型外,全部按照下图设置
1.查看wan端口的网卡名 主要用ifconfig在路由器控制台里看,一般以eth开头,找到wan口的IP就行(下图即为eth1)(获取到IPV6地址的网卡)
2.设置启动脚本 在“路由器启动后执行”中加入如下代码
#启动ipv6网络 modprobe ip6table_mangle ebtables -t broute -A BROUTING -p ! ipv6 -j DROP -i wan端口的网卡名 brctl addif br0 wan端口的网卡名
3.防火墙规则 在“防火墙规则启动后执行”中添加:
ip6tables -F ip6tables -P INPUT ACCEPT ip6tables -P FORWARD ACCEPT ip6tables -P OUTPUT ACCEPT
注意:上述规则直接开放所有IPv6端口
参考来源:https://blog.suysker.xyz/archives/34
Sorry, something went wrong.
No branches or pull requests
napt66能否添加支持?
The text was updated successfully, but these errors were encountered: