当前位置: 首页 > OpenSource > 正文

use openvpn client in ubuntu

#install openvpn and resovconf
$sudo apt-get install openvpn
$sudo apt-get install resovconf

$sudo cat client.conf.mytest
client
;dev tap
dev tun
;dev-node MyTap
proto tcp
;proto udp
remote your-vpn-domain 1001
remote your-vpn-domain 1002
remote-random
resolv-retry infinite
nobind
;user nobody
;group nogroup
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca /home/2hei.net/.vpn/ca.crt
cert /home/2hei.net/.vpn/client.crt
key /home/2hei.net/.vpn/client.key
ns-cert-type server
;tls-auth ta.key 1
;cipher x
comp-lzo
verb 3
;mute 20
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

#start openvpn
$sudo openvpn –script-security 3 –config /home/2hei.net/.vpn/client.conf.mytest

本文固定链接: http://2hei.net/use_openvpn_client_in_ubuntu.html | 2hei's site

该日志由 2hei 于2010年09月10日发表在 OpenSource 分类下,
原创文章转载请注明: use openvpn client in ubuntu | 2hei's site

报歉!评论已关闭.