Created
November 22, 2022 02:15
-
-
Save eritpchy/e3f491d24275e72ff14b35933ed1b5ee to your computer and use it in GitHub Desktop.
asus_ipv6.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ip6tables -X | |
ip6tables -F | |
ip6tables -P OUTPUT ACCEPT | |
ip6tables -P INPUT ACCEPT | |
ip6tables -P FORWARD ACCEPT | |
#https://www.right.com.cn/forum/thread-2802556-1-1.html | |
ip -6 route add 0::/0 dev ppp0 | |
ip -6 route add default dev ppp0 metric 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment