You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
517 B
28 lines
517 B
client |
|
dev <?php echo $vpn_dev . "\n" ?> |
|
proto <?php echo $vpn_proto ?>-client |
|
remote <?php echo $vpn_remote . "\n" ?> |
|
resolv-retry infinite |
|
cipher AES-256-CBC |
|
redirect-gateway |
|
|
|
# Keys |
|
ca [inline] |
|
<?php echo file_get_contents("/etc/openvpn/ca.crt") . "\n" ?> |
|
tls-auth [inline] 1 |
|
<?php echo file_get_contents("/etc/openvpn/ta.key") . "\n" ?> |
|
|
|
key-direction 1 |
|
remote-cert-tls server |
|
auth-user-pass |
|
auth-nocache |
|
|
|
# Security |
|
nobind |
|
persist-key |
|
persist-tun |
|
comp-lzo |
|
verb 3 |
|
|
|
# Proxy ? |
|
# http-proxy cache.univ.fr 3128
|
|
|