Created
October 6, 2014 10:38
-
-
Save jackyyf/12ef98cc3826b9cf0c69 to your computer and use it in GitHub Desktop.
Gist by paste.py @ 2014-10-06 18:38:23.635359
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
| iface wb0 inet6 static | |
| address 2001:da8:8001:3306:dead:beef:bad:cafe | |
| netmask 64 | |
| network 2001:da8:8001:3306:: | |
| gateway 2001:da8:8001:3306::1 | |
| accept_ra 1 | |
| pre-up /sbin/brctl addbr wb0 || exit 0 | |
| pre-up /sbin/brctl addif wb0 eth0 || exit 0 | |
| pre-up /sbin/brctl addif wb0 wlan0 || exit 0 | |
| pre-up /sbin/brctl addif wb0 wlan1 || exit 0 | |
| pre-up /sbin/ebtables -t broute -A BROUTING -p ! ipv6 -j DROP | |
| pre-up /sbin/ip -6 addr del 2001:da8:8001:3306:dead:beef:bad:cafe/64 dev wb0 || exit 0 | |
| pre-up /sbin/ip -6 route flush dev wb0 || exit 0 | |
| post-down /sbin/brctl delbr wb0 | |
| post-down /sbin/ebtables -t broute -D BROUTING -p ! ipv6 -j DROP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment