2024-08-26 17:30:16 +03:00
|
|
|
proto tcp
|
|
|
|
|
dev tun
|
2020-10-29 13:50:19 +03:00
|
|
|
ca /etc/openvpn/easyrsa/pki/ca.crt
|
|
|
|
|
key /etc/openvpn/easyrsa/pki/private/server.key
|
|
|
|
|
cert /etc/openvpn/easyrsa/pki/issued/server.crt
|
2024-08-26 17:30:16 +03:00
|
|
|
tls-crypt /etc/openvpn/easyrsa/pki/ta.key
|
|
|
|
|
dh none
|
|
|
|
|
ifconfig-pool-persist /tmp/openvpn-ipp.txt
|
|
|
|
|
push "redirect-gateway def1 bypass-dhcp"
|
|
|
|
|
push "dhcp-option DNS 208.67.222.222"
|
|
|
|
|
push "dhcp-option DNS 208.67.220.220"
|
|
|
|
|
keepalive 10 120
|
|
|
|
|
cipher AES-256-GCM
|
|
|
|
|
auth SHA256
|
|
|
|
|
user nobody
|
|
|
|
|
group nogroup
|
2020-10-29 13:50:19 +03:00
|
|
|
persist-key
|
|
|
|
|
persist-tun
|
|
|
|
|
status /tmp/openvpn-status.log
|
2024-08-26 17:30:16 +03:00
|
|
|
verb 4
|