[亲测]架设强大安全qmail+vpopmail+mysql邮件服务器(已更新*webmail*:2011-06-14)
时间:2011-09-16
来源:互联网
openvpn终于可以使用了。我在network-manager当中直接使用的文件导入功能。
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
作者: bnpysse 发布时间: 2011-09-16
openvpn终于可以使用了。我在network-manager当中直接使用的文件导入功能。
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
作者: bnpysse 发布时间: 2011-09-16
openvpn终于可以使用了。我在network-manager当中直接使用的文件导入功能。
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
想着让VPN能分开走路由,因为在Windows下依靠chnroutes可以很方便的实现,无非就是添加路由罢了。但看了在linux下的设置,不知道如何进行设置。
一是我在/etc/openvpn下面没有发现client.conf文件,把chnroutes生成的routes.txt文件加上max_routes之后拷贝成client.conf文件,不行。
二是在要导入的文件中,添加了routes.txt文件的内容,也不行。
下面附一下要导入的文件,请指正:
max-routes 3000
client
remote *.*.* 99
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
#注解一下,这几个文件实际应用时,已换成我自己的认证文件了。
ca *.crt
cert *.crt
key *.key
ns-cert-type server
comp-lzo
route-delay 2
route-method exe
verb 3
route 1.0.1.0 255.255.255.0 net_gateway 5
route 1.0.2.0 255.255.254.0 net_gateway 5
route 1.0.8.0 255.255.248.0 net_gateway 5
route 1.0.32.0 255.255.224.0 net_gateway 5
route 1.1.0.0 255.255.255.0 net_gateway 5
route 1.1.2.0 255.255.254.0 net_gateway 5
route 1.1.4.0 255.255.252.0 net_gateway 5
作者: bnpysse 发布时间: 2011-09-16
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28