How to Install Openvpn in Ubuntu and Connect From Ubuntu and Windows 10

preview_player
Показать описание
Ubuntu Server 20.04 Administration

In this video I will show you how to install Openvpn in Ubuntu Server. Also, we will be installing openvpn client in Ubuntu desktop and Windows 10 to establish a connection to the server.

00:40 Installing Openvpn Server in Ubuntu.
06:00 Connecting from Ubuntu Desktop client
09:25 Connection from Windows 10 client
Рекомендации по теме
Комментарии
Автор

I have been working in IT Networking for over 15 years and I have to say that this guy is good. His instructions are precise and to the point. I look forward to more of your videos!

eddiesmurfy
Автор

Awesome tutorial. I got it done in less than 5 minutes. I had to install net tools and ufw, somehow managed all that, used winscp to get the ovpn file and added it to my android phone and boom! Working. Thank you.

sidharthv
Автор

Is it a good practice to run the OpenVPN server on my local machine and then connect from the same machine?

gelo_dk
Автор

thank you, its working on ubuntu 20 as a server and windows 10 as a client

DedicAbdo
Автор

very usefull learned alot thank you 👍🏼🤗

AtariKafa
Автор

nice tutorial..just try today for my access from office to home network, is working.

tengkuemirulismartengkurad
Автор

Thank you! I was behind proxy&NAT os I had to setup proxy for wget : /etc/wgetrc and needed the „curl” which was not installed on my machine.

swfl
Автор

Hi, hopefully the topic is not forgotten after that much time, ...I have a question here. I assume the server setup requires public IP adsress in order to be able to conect to it from remote clients. I do not have static above the server, is there a way how to omit this and use for example domain which is being updated with ddns. Is that save solution?

janulik
Автор

The system does not have the TUN device available.
TUN needs to be enabled before running this installer.

How to solve this problem ?
Thanks

arcenme
Автор

So my self hosted box is not working. On my client i get the error "peer certificate verification failure" I even removed my cert and added a new one and it is still not working.

HisLoveArmy
Автор

That was pretty cool, i was able to get it to work via Vultr after som work with the firewall, great that you put both Ubtuntu Desktop and Windows 10 guide also. Thanks, and keep it up!

JoerBrando
Автор

Hi there! So really good video... BUT! some constructive thoughts here... I'd suggest 2 things...
1) if you can, I would edit out when you mistype netstat... that's kinda a waste of time ;)
2) around 10:31... when you talk about the windows config area in the systray.. no one can see what you are talking about - because the video of your face is covering that area. Perhaps redo that part and move your face square thing to a different area.
But all in all - very helpful! Thanks!

IntenseTech
Автор

I'm running Ubuntu 20.04 and I get this error when trying to run the installation script:

"Ubuntu 22.04 or higher is required to use this installer."

Do you know if/how I can get around this without changing the OS?

thetechsplainer
Автор

i have some problem when i want to copy openvpn-client.ovpn to my pc

ariankhanehgir
Автор

Thanks very much, this was the only tutorial that works for me, with the others i was getting errors like TLS handshake failed, or i do get the connection with the ovpn server, but dont have internet in both machines, so really helpful tutorial

stuvmssmvuts
Автор

the wsl that I used is debian buster version, and i have a problem on enabling ufw configuration. the error is say the iptables is not support, but on your simulation it can be on wsl ubuntu. how can I fix it? thanks

antokxvi
Автор

WinSCP is nice, but wouldn't cat work faster?

ssh to server
cat the filename.ovpn
select content and copy in terminal [ctrl+c]
paste in notepad [on windows] and save filename.ovpn

vladtheimpala
Автор

Thank you for your video. It is very clear to understand and I learn a lot from your video such as concept as well as some new command line.

roathkanel
Автор

Hello there. I sent the ovpn file to my android phone to import it on the openvpn app to connect to my server but It didn't work. Is the process of creating the ovpn file different if you want to use it on android? Thanks!

randomnico
Автор

What a straightforward and easy-to-follow tutorial. Excellent. Thank you! Liked and subscribed.

MetaBX