|
|
@ -14,7 +14,7 @@ cert server.crt |
|
|
|
# Private key |
|
|
|
# Private key |
|
|
|
key server.key |
|
|
|
key server.key |
|
|
|
# Symmetric encryption |
|
|
|
# Symmetric encryption |
|
|
|
dh dh1024.pem |
|
|
|
dh dh.pem |
|
|
|
# Improve security (DDOS, port flooding...) |
|
|
|
# Improve security (DDOS, port flooding...) |
|
|
|
# 0 for the server, 1 for the client |
|
|
|
# 0 for the server, 1 for the client |
|
|
|
tls-auth ta.key 0 |
|
|
|
tls-auth ta.key 0 |
|
|
@ -29,15 +29,15 @@ server 10.8.0.0 255.255.255.0 |
|
|
|
push "redirect-gateway def1" |
|
|
|
push "redirect-gateway def1" |
|
|
|
|
|
|
|
|
|
|
|
# Alternatives DNS (FDN) |
|
|
|
# Alternatives DNS (FDN) |
|
|
|
push "dhcp-option DNS 80.67.169.12" |
|
|
|
push "dhcp-option DNS 80.67.169.12" |
|
|
|
push "dhcp-option DNS 80.67.169.40" |
|
|
|
push "dhcp-option DNS 80.67.169.40" |
|
|
|
|
|
|
|
|
|
|
|
# (OpenDNS) |
|
|
|
# (OpenDNS) |
|
|
|
# push "dhcp-option DNS 208.67.222.222" |
|
|
|
# push "dhcp-option DNS 208.67.222.222" |
|
|
|
# push "dhcp-option DNS 208.67.220.220" |
|
|
|
# push "dhcp-option DNS 208.67.220.220" |
|
|
|
|
|
|
|
|
|
|
|
# (Google) |
|
|
|
# (Google) |
|
|
|
# push "dhcp-option DNS 8.8.8.8" |
|
|
|
# push "dhcp-option DNS 8.8.8.8" |
|
|
|
# push "dhcp-option DNS 8.8.4.4" |
|
|
|
# push "dhcp-option DNS 8.8.4.4" |
|
|
|
|
|
|
|
|
|
|
|
# Ping every 10 seconds and if after 120 seconds the client doesn't respond we disconnect |
|
|
|
# Ping every 10 seconds and if after 120 seconds the client doesn't respond we disconnect |
|
|
@ -87,4 +87,4 @@ auth-user-pass-verify scripts/login.sh via-env |
|
|
|
max-clients 50 |
|
|
|
max-clients 50 |
|
|
|
# Run this scripts when the client connects/disconnects |
|
|
|
# Run this scripts when the client connects/disconnects |
|
|
|
client-connect scripts/connect.sh |
|
|
|
client-connect scripts/connect.sh |
|
|
|
client-disconnect scripts/disconnect.sh |
|
|
|
client-disconnect scripts/disconnect.sh |
|
|
|