port 1194
proto udp4
dev tun

ca ca.crt
cert server.crt
key server.key
dh dh.pem

mode server
tls-server
topology subnet
push "topology subnet"
ifconfig 10.8.0.1 255.255.255.0
ifconfig-pool 10.8.0.2 10.8.0.199 255.255.255.0

client-config-dir ccd

push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 1.0.0.1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

push "block-outside-dns"

push "route-gateway 10.8.0.1"
push "redirect-gateway def1"


keepalive 10 120

tls-auth ta.key 0
key-direction 0

cipher AES-256-CBC

auth SHA256

comp-lzo


user nobody
group nogroup

persist-key
persist-tun

status openvpn-status.log

verb 3
