Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ip6tables -A FORWARD -m state --state NEW -i tun+ -o eth0 -s 2a00:xxxx:35:59::/64 -j ACCEPT
- ip6tables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
- ip6tables -t nat -A POSTROUTING -s 2a00:xxxx:35:59::/112 -j SNAT --to 2a00:xxxx:35:59::5
- ip6tables -A FORWARD -m state --state NEW -i tun+ -o eth0 -s 2a00:xxxx:35:59::1:0/112 -j ACCEPT
- ip6tables -A FORWARD -m state --state NEW -i tun+ -o eth0 -s 2a00:xxxx:35:59::/64 -j ACCEPT
- ip6tables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
- ip6tables -I FORWARD -i tun0 -o eth0 -s 2a00:xxxx:35:59::/112 -m conntrack --ctstate NEW -j ACCEPT
- ip6tables -I FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
- ip6tables -t nat -I POSTROUTING -o eth0 -s 2a00:xxxx:35:59::/112 -j MASQUERADE
- ip route add 2a00:xxxx:35:59::1:0/112 via 2a00:xxxx:35:59::5 (hates me)
- route -A inet6 add 2a00:xxxx:35:59::1:0/112 gw 2a00:xxxx:35:59::5 (hates me too)
- ip6tables -A FORWARD -m state --state NEW -i tun+ -o eth0 -s 2a00:xxxx:35:59::1:0/112 -j ACCEPT
- ip6tables -A FORWARD -m state --state NEW -i tun+ -o eth0 -s 2a00:xxxx:35:59::/64 -j ACCEPT
- ip6tables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
- ip6tables -t nat -A POSTROUTING -s 2a00:xxxx:35:59::1:0/112 -j SNAT --to 2a00:xxxx:35:59::5
Add Comment
Please, Sign In to add comment