mirror of
https://github.com/sasjs/adapter.git
synced 2026-07-23 14:45:29 +00:00
33 lines
644 B
Plaintext
33 lines
644 B
Plaintext
# Client
|
|
client
|
|
tls-client
|
|
dev tun
|
|
# this will connect with whatever proto DNS tells us (https://community.openvpn.net/openvpn/ticket/934)
|
|
proto udp
|
|
remote vpn.4gl.io 7194
|
|
resolv-retry infinite
|
|
# this will fallback from udp6 to udp4 as well
|
|
connect-timeout 5
|
|
data-ciphers AES-256-CBC:AES-256-GCM
|
|
auth SHA256
|
|
script-security 2
|
|
keepalive 10 120
|
|
remote-cert-tls server
|
|
|
|
# Route ALL traffic through the VPN (full tunnel)
|
|
redirect-gateway def1
|
|
# Send DNS through the tunnel so it doesn't leak to your local ISP
|
|
dhcp-option DNS 1.1.1.1
|
|
|
|
# Keys
|
|
ca ca.crt
|
|
cert user.crt
|
|
key user.key
|
|
tls-auth tls.key 1
|
|
|
|
# Security
|
|
nobind
|
|
persist-key
|
|
persist-tun
|
|
verb 3
|