This article is about some tips to setup OpenVPN both with IPv4 and IPv6. Before continuing, it’re recommended to read another post about 《Install OpenVPN with IPv6 on Ubuntu》
For the Server side:
– ONLY ONE keys set. including ca.crt, server.crt, server.key, dh1024.pem and potential ta.key.
– TWO different configuration files, for example server-v4.conf and server-v6.conf.
– The difference between two server configuration files:
– > different protocols, udp for IPv4 and udp6 for IPv6.
– > different ports for different protocols.
– > different subnet address, for example 10.8.0.0 for IPv4 and 10.8.1.0 for IPv6, both with 255.255.255.0 as netmask.
For the Client side:
– TWO different configuration files, for example client-v4.conf and client-v6.conf.
– The difference between two client configuration files:
– > different protocols, udp for IPv4 and udp6 for IPv6.
– > different remote addresses and port numbers.
EOF
Leave a Reply