Getting OpenVPN working on DigitalOcean
Posted: Thu Sep 05, 2019 11:29 pm
Hello,
I am trying to get OpenVPN on my Digital Ocean VPS working for PiHole. I asked on their forums and directed me here.
Here is my config file. I would appreciate it if someone could help.
[oconf=]
port 1194
proto udp
dev tun0
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 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS <IP of DO Server>"
#push "dhcp-option DNS 1.0.0.1"
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
[/oconf]
Thanks,
Cake12356
I am trying to get OpenVPN on my Digital Ocean VPS working for PiHole. I asked on their forums and directed me here.
Here is my config file. I would appreciate it if someone could help.
[oconf=]
port 1194
proto udp
dev tun0
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 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS <IP of DO Server>"
#push "dhcp-option DNS 1.0.0.1"
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
[/oconf]
Thanks,
Cake12356