Skip to content

Instantly share code, notes, and snippets.

@eritpchy
Created November 22, 2022 02:15
Show Gist options
  • Save eritpchy/e3f491d24275e72ff14b35933ed1b5ee to your computer and use it in GitHub Desktop.
Save eritpchy/e3f491d24275e72ff14b35933ed1b5ee to your computer and use it in GitHub Desktop.
asus_ipv6.sh
#!/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