Dears, I have Ubuntu 14 droplet which basically have Apache and Wordrpess and a couple of Node.js apps
I need to have my own VPN server to use at work because almost any port other than 80 and 443 is blocked
So I followed your tutorial and installed OpenVPN server on port 1194 so of course this is blocked at work
So as I did with my Node.js apps I opened my sites-available file in /etc/apache2 and added a virtual host which redirect to the droplet IP and port
<VirtualHost *:80>
ServerName vpn.xxx.xx
ProxyPreserveHost On
ProxyPass / http://104.131.5.182:1194/
</VirtualHost>
And changed the .ovpn file with the new domain name and port: remote vpn.xxx.xx 80
But this didn’t work… (maybe it’s not http at all ?)
So I was hoping if you can help
Sorry I’m not expert on this, but I really did search a lot but couldn’t find a case similar to mine
Thanks a lot for your support.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
So it was easy… I had to change values at /etc/openvpn/server.conf
It worked fine but SSH didn’t work :(
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.