Getting OpenVPN working on DigitalOcean

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
Cake12356
OpenVpn Newbie
Posts: 4
Joined: Thu Sep 05, 2019 11:21 pm

Getting OpenVPN working on DigitalOcean

Post by Cake12356 » 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

Cake12356
OpenVpn Newbie
Posts: 4
Joined: Thu Sep 05, 2019 11:21 pm

Re: Getting OpenVPN working on DigitalOcean

Post by Cake12356 » Thu Sep 05, 2019 11:34 pm

Sorry for the formatting issues, this is my first post

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Getting OpenVPN working on DigitalOcean

Post by TinCanTech » Thu Sep 05, 2019 11:43 pm

Please start here:
viewtopic.php?f=30&t=22603

Cake12356
OpenVpn Newbie
Posts: 4
Joined: Thu Sep 05, 2019 11:21 pm

Re: Getting OpenVPN working on DigitalOcean

Post by Cake12356 » Thu Sep 05, 2019 11:46 pm

TinCanTech wrote:
Thu Sep 05, 2019 11:43 pm
Please start here:
viewtopic.php?f=30&t=22603
Will do, thanks

Post Reply