OpenVPN both with IPv4 and IPv6


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


6 responses to “OpenVPN both with IPv4 and IPv6”

  1. 那天翻算法作业偶然看到你的名字,没想到你到我们学校了,以前做简历用的都是你的模板

    • @Artemis 你也是EECS 12级的么(还是算法助教)?好巧啊,很高兴你用我的模板哈,现在resumecls已经被收录到CTAN镜像中了,不用下载就可以直接使用了哦。http://www.ctan.org/pkg/resumecls

      • 我是EECS 12级的,不过不是算法助教,只是和助教一个实验室而已。

        你的模板很不错啊,被收录了得恭喜一下,我也得学学自己写。

        • @Artemis 和算法助教一个实验室……好羡慕……你懂的……
          谢谢你的夸奖哈,自信心爆棚有木有~
          其实写模板我也是刚刚开始学着写,
          入门基本就看dtxtut就可以了
          http://www.ctan.org/pkg/dtxtut
          貌似也有人写好了pku毕设的模板,本来还准备想试试能不能写一个的说……

    • @Ma Ruxiao

      Yep, just as the post said, you only need pay attention to the difference of the two config files. And actually, there can be even more.

Leave a Reply to Xuan Hu Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.