Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ShapeShifter499/3e32ef1083c79bf383145ae8ca5f7990 to your computer and use it in GitHub Desktop.
Save ShapeShifter499/3e32ef1083c79bf383145ae8ca5f7990 to your computer and use it in GitHub Desktop.
openvpn-server config
port 443
proto udp6
dev tun6
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 00.0.0.0 255.255.255.0
server-ipv6 0000:0000:0000:0000::/64
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DNS6 2001:4860:4860::8888"
push "dhcp-option DNS6 2001:4860:4860::8844"
push "route-ipv6 2000::/3"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment