How to Install OpenVPN on Ubuntu (self-hosted VPN)
Learn how to install OpenVPN on Ubuntu for free. In this tutorial, we will be using Ubuntu 20.04.
Get $200 of free DigitalOcean credits here 👉 https://ttt.do/OpenVPNDigitalOcean (affiliate link)
Don’t want to bother with a self-hosted VPN? My my affiliate link to install Private Internet Access 👉 https://ttt.do/PIA (they don’t keep logs)
Code snippets and more at https://tonyteaches.tech/openvpn-ubuntu/
Check out my vlog channel @TonyFlorida
#openvpn #ubuntu
by Tony Teaches Tech
linux web server
I can only connect while I'm on my home network..
How do I fix this?
How come you didnt need to port foward port 1194 to be able connect on your open vpn ? Usually u need to do this
very much THANK you!
i spent two day reading forums, and couldn't look find a good solution.
i'm just learning linux system
Aha now i get it. Thanksss
Things have changed a bit: first off when adding the repositories you have to change the name of the ubuntu version you're using (in my case I changed "focal" to "jammy", also the default password for the openvpn (admin) user is given in the terminal when finished installing (so you cannot use "passwd openvpn" command anymore).
I did everything in tutorial but cannot connect in the end, connection timed out, nothing in logs
Awesome Brother..give me a suggestion or a video how can i forword my port using openvpn hosted on my vps..please
if i want to access some specific domain through OpenVPN then?
I have finished the admin login step and not getting how to login as a user in ubuntu
I just use protonvpn it's also free if you want
why you install it as root?
Don't forget to run as superuser (root), or use 'sudo' before every 'apt' command. You can change to superuser/root mode by running 'sudo su -' in the command line.
Thank you for this. Much appreciated.
How to use VPN for sharing critical data of my company ?
I mean, how to setup my company website in order to access only if im using a specific VPN ?
Thanks triple T. 💪🏿
Great video! Bold to share your IP like that, but I like bold 👍
Do you have any videos showing how to limit users to say just 1 server on the network?
Hi Tony,
I have "Ubuntu 22.04.2 LTS" and I got this error on installation time:
The following packages have unmet dependencies:
openvpn-as : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
With the VPN active is all data passed through the VPN now encrypted?
I did everything stpe by step and when I'm going to reach the admin page or even my IP address with 943 port, the page doesn't load and I get this message from browser: "This site can’t be reached"