-1

Want to configure openvpn for ipv6

Hi

I want to configure Openvpn for ipv6. I have configured ipv4 its working fine but i couldn' t configure Ipv6.. does anyone configured could share your docs please..

Thanks,

Saravanakumar.M

OpenVPN Server Add a comment
saravana1112
asked May 03 2018

Answer

-1

Install OpenVPN

apt-get install openvpn

Need to generate a key

openvpn --genkey --secret /etc/openvpn/myhost.key

If you using the OpenVPN tap device with IPv6 there is only very little configuration left (/etc/openvpn/myhost.conf):

dev tap
secret myhost.key
script-security 3
up /etc/openvpn/myhost.up

The actual work is done in the UP-script:

#!/bin/sh
ifconfig $dev up
ifconfig $dev add 2001:db8:abba:1000::1/64
Add a comment
linuxhelp
asked Mar 19 2019
Post your Answer