port 10022 # TCP or UDP server? proto udp mode p2p #port 64780 dev-type tun dev tun13 #tun-mtu 1472 #fragment 1452 tun-ipv6 comp-lzo cd /etc/openvpn/ tls-client ca ca.crest.dn42.crt cert arturh0.crest.dn42.crt key dn42_arturh.ta.key tls-auth arturh0.crest.dn42.key remote-cert-tls server remote crestdn42.ath.cx #user nobody #group nogroup persist-key persist-tun keepalive 1 30 status /var/log/openvpn/64828.status log-append /var/log/openvpn/64828.log float verb 1 ifconfig 172.22.254.10 172.22.254.9 script-security 2 # allow shell-scripts up fix_ip.sh # cmd tun_dev tun_mtu link_mtu ifconfig_local_ip ifconfig_remote_ip [ init | restart ] tls-verify "./verify-cn.sh gw.crest.dn42"