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
本文固定链接: https://www.2hei.net/2010/09/10/use_openvpn_client_in_ubuntu/ | 2hei.net
最活跃的读者