port 12022 # TCP or UDP server? proto udp mode p2p #port 64780 dev-type tun dev tun15 #tun-mtu 1472 #fragment 1452 tun-ipv6 comp-lzo cd /etc/openvpn/ tls-client ca ca.crest.dn42.crt cert arturh1.crest.dn42.crt key arturh1.crest.dn42.key tls-auth dn42_arturh.ta.key remote-cert-tls server remote 78.46.35.151 #user nobody #group nogroup persist-key persist-tun keepalive 1 30 status /var/log/openvpn/64828a.status log-append /var/log/openvpn/64828a.log float verb 1 ifconfig 172.22.254.165 172.22.254.164 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 gw0.crest.dn42"