Suddenly everything is broken

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Thu Mar 28, 2019 12:55 am

Suddenly everything is broken

Post by nathanh0 » Thu Mar 28, 2019 1:14 am

Ok so first off: Hi, my first post; thank you for OpenVPN :) <3


Everything was working for a good 3 months and suddenly stopped last night when I logged in to the VPN Server to add a new user.

How I started: I followed a setup guide from Digital Ocean Ubuntu 18 OpenVPN setup. I went as far as making a script to create new OVPN files (crt/key) by coworker names.

What the setup is all about: Pushing routes (domain names) using the allow pull fqdn option in client.

Is this a private network?: Yes, it's not a full VPN takeover (the user gets to keep their internet, this just routes their traffic of our company domains through OpenVPN so they all come from a firewall accepted IP Address (VPN IP)).

Where am I stuck?:

It seems like the gateway or something is not allowing traffic through. It feels like it's denying my traffic completely.

So for example, I had to turn off the firewalls on the sites I was protecting with VPN so our developers could get into them again, but if I turn on the VPN they can't even reach those sites.

So the VPN being connected will prevent you from accessing a site that's public which we're routing you through with the VPN. So this means that VPN is pushing routes, but nothing is making it through. It's doing the exact opposite of what I want even while the sites are public (no firewall).

Of course - Turning off the VPN I can get to those public sites originally pushed from the VPN.

This is running on Digital Ocean. If anyone knows why the server may have turned off after 3 months let me know.

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh.pem
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route"
push "route"
push "route"
push "route"
push "route"
push "route"
push "route"
push "dhcp-option DNS"
push "dhcp-option DNS"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
cipher AES-256-CBC
auth SHA256
max-clients 100
user nobody
group nogroup
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1

Post Reply