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
Getting OpenVPN working on DigitalOcean
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 05, 2019 11:21 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 05, 2019 11:21 pm
Re: Getting OpenVPN working on DigitalOcean
Sorry for the formatting issues, this is my first post
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Getting OpenVPN working on DigitalOcean
Please start here:
viewtopic.php?f=30&t=22603
viewtopic.php?f=30&t=22603
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 05, 2019 11:21 pm
Re: Getting OpenVPN working on DigitalOcean
Will do, thanks