angristan / openvpn-install

Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
https://stanislas.blog
MIT License
13.78k stars 2.98k forks source link

Add an option to specify the IPv6 interface #350

Open nicedayever opened 6 years ago

nicedayever commented 6 years ago

OS: Ubuntu 18.04 OpenVPN 2.4.4

For some VPS or server, they dont have the native IPv6 connectivity and have to rely on the 6-in-4 tunnel (eg HE IPV6 tunnel). In this case, the IPv6 connectivity is not available on eth0, rather, it is on the interface like he-ipv6. In the custom mode, it is suggested that users should be able to choose the interface for IPv6 connection.

randshell commented 4 years ago

It should work in the latest version of this script https://github.com/angristan/openvpn-install/blob/c2a4edc714bac411913095473d5859b8748c8ad3/openvpn-install.sh#L609-L611