#1 2019-02-05 09:33:37

Trusted Member
Registered: 2018-04-16
Posts: 4

Guide wanted for configuring openvpn for IPv6

I have an openvpn server (IPv4) running on a 128k vps and would like to try tunnelling IPV6 through it. 

I have looked at a few guides on the internet, but have not found one that will obviously work on a host with a /112 address range.

Anyone done this or can point to a guide that will work?


#2 2019-07-29 16:34:30

Trusted Member
Registered: 2019-07-28
Posts: 4

Re: Guide wanted for configuring openvpn for IPv6

As I also had problems finding a working guide to install OpenVPN I will here state what I did to get it work. I now used the "new" script to auto-install openvpn based on the work of https://github.com/angristan/openvpn-install (referred here). The script asks you all required data including whether to use IPv6. What I basically did after fresh OS installation of Debian_8.0_minimal was:

# apt-get update
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50
# apt-get install ca-certificates nano openssh-client openssh-server;
# cd; wget https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh --no-check-certificate -O openvpn-install.sh; 
# chmod +x openvpn-install.sh; bash openvpn-install.sh

-Now enter the data like your IP, etc. I stuck with the defaults except of the port and IP. As port you need to use on of your range.
-Enter a name for your configuration.
To quickly "download" the configuration file just

# cat /root/<vpn-config-file> 

Copy and paste the text content into a new file on your vpn client computer. This was for me faster than downloading and transferring the file via WinSCP.
-Use it in your OpenVPN client. Works.

Last edited by tse84 (2019-07-29 16:38:30)


Board footer

Powered by FluxBB