vpnc – -natt-mode none vpnc.conf
vpnc.conf:
IPSec gateway 111.111.111.111
IPSec ID login_vpn
IPSec secret haslo
Xauth username login
openvpn – -config openvpn.ovpn
openvpn.conf
dev tun
tls-client
remote 111.111.111.111 7777
# If redirect-gateway is enabled, the client will redirect it’s
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)
#redirect-gateway
pull
proto udp
script-security 2
ca ca.crt
comp-lzo
reneg-sec 0
auth-user-pass