Install php interface vpnadmin
This commit is contained in:
31
conf/openvpn_client.conf.tpl
Normal file
31
conf/openvpn_client.conf.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
remote <TPL:SERVER_NAME>
|
||||
|
||||
# proto [ udp6 | udp | tcp6-client | tcp-client ]
|
||||
proto <TPL:PROTO>
|
||||
|
||||
pull
|
||||
nobind
|
||||
dev tun
|
||||
tun-ipv6
|
||||
keepalive 10 30
|
||||
comp-lzo adaptive
|
||||
|
||||
# UDP only
|
||||
<TPL:UDP_COMMENT>explicit-exit-notify
|
||||
|
||||
# TLS
|
||||
tls-client
|
||||
remote-cert-tls server
|
||||
cert /etc/openvpn/keys/user.crt
|
||||
key /etc/openvpn/keys/user.key
|
||||
ca /etc/openvpn/keys/ca-server.crt
|
||||
|
||||
# Logs
|
||||
verb 3
|
||||
mute 5
|
||||
status /var/log/openvpn-client.status
|
||||
log-append /var/log/openvpn-client.log
|
||||
|
||||
# Routing
|
||||
route-ipv6 2000::/3
|
||||
redirect-gateway def1 bypass-dhcp
|
Reference in New Issue
Block a user