From ca43c7b074d69b1d802090b12d4bf65fe21c3c92 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sat, 11 Jun 2016 17:09:32 -0400 Subject: clean up networking folder --- networking/ipv6vpn.page | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'networking/ipv6vpn.page') diff --git a/networking/ipv6vpn.page b/networking/ipv6vpn.page index 6a49230..dcb90fb 100644 --- a/networking/ipv6vpn.page +++ b/networking/ipv6vpn.page @@ -15,7 +15,7 @@ ways. ## VPS Host-side (based off -[http://library.linode.com/networking/openvpn/debian-6-squeeze](linode library) +[linode library](http://library.linode.com/networking/openvpn/debian-6-squeeze) instructions, but heavily modified) First off, make sure you have IPv6 correctly configured on the VPS. I added the @@ -44,7 +44,7 @@ On the remote host (runing debian wheezy), as root: cp ca.crt $YOURSITENAME.crt $YOURSITENAME.key $XFER_TO_SITE cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn -Then copy the following to /etc/openvpn/server.conf: +Then copy the following to `/etc/openvpn/server.conf`: # simple machine-machine OpenVPN config file port 1194 @@ -68,7 +68,7 @@ Then copy the following to /etc/openvpn/server.conf: up-delay up /usr/local/bin/ipv6_tunnel_up.sh -Create /usr/local/bin/ipv6_tunnel_up.sh: +Create `/usr/local/bin/ipv6_tunnel_up.sh`: #!/usr/bin/env sh ip link set tun0 up @@ -106,8 +106,8 @@ ip, ip6tables), as well as OpenVPN (luci-app-openvpn): Configure radvd with the site's /64 prefix, and enable on the LAN interface. -Configure OpenVPN; easiest to copy-paste the following to /etc/config/openvpn -and scp credentials to /etc/openvpn: +Configure OpenVPN; easiest to copy-paste the following to `/etc/config/openvpn` +and `scp` credentials to `/etc/openvpn`: package openvpn @@ -150,7 +150,7 @@ the "lan" zone, and allow forwarding to wan6 only as both source and destination. For IPv6 web ui access, add a static IPv6 address to the LAN interface: -$SITEPREFIX::1/64 makes sense. (TODO: does this work?) +`$SITEPREFIX::1/64` makes sense. (TODO: does this work?) Restart the whole kit-and-kaboodle, re-enable openvpn, and see if things work! @@ -168,11 +168,11 @@ tcp-server" on the VPS server). # Lazy plaintext no-config Method (raw, for historical reference) -http://serverfault.com/questions/231950/openvpn-ipv6-tunnel-radvd + -http://wiki.openwrt.org/doc/howto/ipv6.essentials + -On $VPSHOST: +On `$VPSHOST`: sysctl -w net.ipv6.conf.all.forwarding=1 # not sure why this is required... @@ -202,4 +202,5 @@ firewall interface (enclosing tun0) instead of trying to do everything with the # Reference -After writing this, I found: https://www.zagbot.com/openvpn_ipv6_tunnel.html +After writing this, I found + -- cgit v1.2.3