From 7b272d3e6039815a274c56001625e26bc28d3e1b Mon Sep 17 00:00:00 2001 From: Thom van Hal Date: Mon, 28 May 2018 09:02:37 +0200 Subject: [PATCH] Add bogus ipv6 address to block IPV6 access Added a bogus ipv6 address to block ipv6 from connecting while using the vpn on ipv6 enabled networks. --- openvpn-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index fb00722..fa79c5c 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -389,6 +389,8 @@ auth SHA512 cipher AES-256-CBC comp-lzo setenv opt block-outside-dns +ifconfig-ipv6 fd69:2205:1941:1::1/64 fd69:2205:1941:1::2 +redirect-gateway ipv6 key-direction 1 verb 3" > /etc/openvpn/client-common.txt # Generates the custom client.ovpn