I cant access my website after i setup ikev2 vpn in same droplet?

January 31, 2018 1.4k views
Ubuntu Ghost VPN

So I followed this guide in setting up my personal vpn on the same droplet which contained my website.

Now the vpn works but my website doesn’t work anymore.

I tried enabling ufw again but still doesn’t work.

Luckily I made a snap of my droplet before doing it.

I’m just here to know if it is possible to do it or not.

1 Answer

I used this guide/tut: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04#step-4-—-configuring-strongswan

Everything’s working fine now. I have fixed it.

I first restored from a snap.

What went wrong was that at my first install (I’m using putty here), i put the host name as my domain then log on to my sudo user there and this where the website did not load.

On second attempt and the fix: I ssh using my site’s ip address instead of the domain and installed everything and all of it works fine.

Website now loads and the vpn works.

I know I was stupid to ssh through my domain. Haha So yeah… Maybe someone out there made the same mistake as mine, I’m just putting this here.

by Namo
A virtual private network, or VPN, allows you to securely encrypt traffic as it travels through untrusted networks, such as those at the coffee shop, a conference, or an airport. IKEv2, or Internet Key Exchange v2, is a...
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!