Last active
April 21, 2023 08:22
-
-
Save mzpqnxow/74efe4ca535b81bece35b363e416904d to your computer and use it in GitHub Desktop.
OpenVPN client when IPv6 is disabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If your system has IPv6 disabled, OpenVPN will error out when receiving | |
# route6 and ip6 information from the server (assuming it supports IPv6) | |
# Add the following to your OpenVPN configuration to allow the connection | |
# to succeed by ignoring them | |
# | |
# You'll see the following in your error messages after the session is established | |
# if you're having this issue. It is fatal and the tunnel will fail to come up | |
# | |
# ... | |
# do_ifconfig, tt->did_ifconfig_ipv6_setup=1 | |
# /sbin/ip link set dev vtun0 up mtu 1500 | |
# /sbin/ip addr add dev vtun0 a.b.c.d 255.255.255.0 broadcast a.b.c.d | |
# /sbin/ip -6 addr add aaaa:bbbb:cccc:nn::xxxx/64 dev vtun0 | |
# Linux ip -6 addr add failed: external program exited with error status: 2 | |
# Exiting due to fatal error | |
# | |
pull-filter ignore "ifconfig-ipv6 " | |
pull-filter ignore "route-ipv6 " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment