Question
Broken wordpress/web server after setting up openVPN
I had a functioning wordpress multisite droplet (IP: 188.166.85.97) and installed openVPN following the instructions in this page:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04
Now I realized that my webserver is not responding (I cannot open any page). Same thing has happened to the wordpress, it is either broken or not repsonding.
My main concern is to have my webserver&wordpress back to life. I do not mind to disable or undo the openVPN installation.
I did not find much information about conflict between openVPN and wordpress instalation. I am even not sure if I understand what has gone wrong. Can anyone advice please?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I can’t really say for sure what your solution is, but I can try to make poor assumptions about your problem. Is SSH even working? If not, it sounds as if your OpenVPN installation totally boned your firewall settings and locked out all traffic. You’ll probably need to use your console to fix it.
I can connect via SSH, and I guess you are right about the possible firewall issue.
I’m having the same problem!
Its your ufw rules causing that issue. There is a good chance that you just copy pasted this code in your
but if u see clearly -A POSTROUTING line has wlp11s0 but if your droplet is probably using eth0. change that and it will work. I did the same thing. I didn’t notice it at the first time.
you can check the correct value by
which gives something like
default via 139.59.32.1 dev
eth0
onlinkthe interface name is eth0 in my case.
I’ve this problem exactly.
see https://www.digitalocean.com/community/tutorials/how-to-setup-a-firewall-with-ufw-on-an-ubuntu-and-debian-cloud-server
my problem solved via typing
sudo ufw allow 80/tcp
you can use this code for every port you want