diff options
-rw-r--r-- | networking/ipv6vpn.page | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/ipv6vpn.page b/networking/ipv6vpn.page index c9f1ca0..de33f38 100644 --- a/networking/ipv6vpn.page +++ b/networking/ipv6vpn.page @@ -1,4 +1,6 @@ +Note to self: when remote VPS reboots, run code in "VPS Host-side" section. + Warning: the method described below is almost certainly massive overkill; OpenVPN can probably be configured to tunnel IPv6 bi-directionally in other ways. @@ -57,6 +59,8 @@ Add openvpn to the default service group and bring up the daemon: The tun0 interface comes up "bare" and not active by default; the following should be added to a post-init script, but for now just run it by hand: + sysctl -w net.ipv6.conf.all.forwarding=1 + ip -6 route add default via fe80::1 dev eth0 ip link set tun0 up ip addr add fec0::1/96 dev tun0 ip route add $SITE_PREFIX::/64 via fec0::2 dev tun0 |