Skip to content

Instantly share code, notes, and snippets.

@d1b
Last active March 15, 2017 14:10
Show Gist options
  • Save d1b/1998f325b687fa1484f7 to your computer and use it in GitHub Desktop.
Save d1b/1998f325b687fa1484f7 to your computer and use it in GitHub Desktop.
iinet 6rd openwrt 15.05. config.
...
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6'
...
config interface 'lan'
option ifname 'ethX'
option type 'bridge'
option proto 'static'
option ipaddr 'X.X.X.X'
option netmask 'X.X.X.X'
option ip6assign '64'
config interface 'wan'
option ifname 'ethY'
option proto 'pppoe'
...
option ipv6 '1'
config interface 'wan6'
option ifname '@wan'
option proto '6rd'
option peeraddr '203.0.178.66'
option ip6prefix '2001:4479::'
option ip6prefixlen '32'
option ip4prefixlen '0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment