| 1 |
dev tun0 |
| 2 |
server 10.8.0.0 255.255.254.0 |
| 3 |
|
| 4 |
verb 3 |
| 5 |
ca /etc/openvpn/server/pki/ca.crt |
| 6 |
key /etc/openvpn/server/pki/private/server.key |
| 7 |
cert /etc/openvpn/server/pki/issued/server.crt |
| 8 |
tls-crypt-v2 /etc/openvpn/server/ta.key |
| 9 |
#tls-group "secp384r1" |
| 10 |
|
| 11 |
push "redirect-gateway def1 bypass-dhcp" |
| 12 |
push "redirect-gateway ipv6 def1 bypass-dhcp" |
| 13 |
push "dhcp-option DNS 1.1.1.1" |
| 14 |
|
| 15 |
keepalive 10 120 |
| 16 |
reneg-sec 120 |
| 17 |
persist-tun |
| 18 |
|
| 19 |
dh none |
| 20 |
auth SHA384 |
| 21 |
cipher AES-256-GCM |
| 22 |
tls-cipher TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384 |
| 23 |
|
| 24 |
explicit-exit-notify 1 |
| 25 |
push "explicit-exit-notify" |
| 26 |
push "push-peer-info" |
| 27 |
push "reneg-sec 0" |
| 28 |
|
| 29 |
# Does not work in containers |
| 30 |
disable-dco |
| 31 |
|
| 32 |
verify-client-cert none |
| 33 |
username-as-common-name |
| 34 |
auth-user-pass-optional |
| 35 |
|
| 36 |
tls-cert-profile preferred |
| 37 |
tls-version-min 1.3 |
| 38 |
auth SHA512 |
| 39 |
|
| 40 |
script-security 0 |
| 41 |
errors-to-stderr |
| 42 |
|
| 43 |
allow-compression no |
| 44 |
|
| 45 |
topology subnet |
| 46 |
proto udp |
| 47 |
port 1196 |
| 48 |
|
| 49 |
user nobody |
| 50 |
group nogroup |
| 51 |
|
| 52 |
management 0.0.0.0 8081 /etc/openvpn/server/password.txt |
| 53 |
management-hold |
| 54 |
management-client-auth |