Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Add support for IPv6 mesh VPN connections
Browse files Browse the repository at this point in the history
  • Loading branch information
bodems committed Jan 3, 2015
1 parent 1f66ef6 commit 7b0eace
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions files/etc/init.d/freifunk_setup
Expand Up @@ -176,6 +176,7 @@ initial_public_setup()
uci set network.public6.ifname="@public"
uci set network.public6.peerdns="0"
uci set network.public6.proto="dhcpv6"

}

initial_wan_setup()
Expand All @@ -195,6 +196,20 @@ initial_wan_setup()
uci set network.wan6="interface"
uci set network.wan6.ifname="@wan"
uci set network.wan6.proto="dhcpv6"
uci set network.wan6.ip6table="1"

uci set network.wan6_lookup="rule6"
uci set network.wan6_lookup.mark="0x01/0x01"
uci set network.wan6_lookup.lookup="1"

uci set network.wan6_unreachable="route6"
uci set network.wan6_unreachable.type="unreachable"
uci set network.wan6_unreachable.table="1"
uci set network.wan6_unreachable.target="::/0"
uci set network.wan6_unreachable.metric="65535"
uci set network.wan6_unreachable.gateway="::"
uci set network.wan6_unreachable.interface="loopback"

}

initial_setup()
Expand Down

0 comments on commit 7b0eace

Please sign in to comment.