Last active
April 26, 2018 15:06
-
-
Save willwhui/b13cf86ff05456bec76a15d2b82fc77f to your computer and use it in GitHub Desktop.
在vps上配置openvpn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在vps上配置openvpn |
如何配置网站分流
指定特定目标ip流量走vpn,参见https://gist.github.com/willwhui/1febd37a3dd79a503cc8544c3bb18ece#gistcomment-2232565
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
貌似隔一段时间(比较长)就会断线
重启客户端就可以。
不知道是不是和服务端的/etc/openvpn/server.conf 中的keepalive参数有关?
在服务端和客户端的配置都增加下面这个配置试试:
意思就是360000秒=100小时内,客户端和服务端之间不联系都视为正常,不要中断连接。