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

  Рет қаралды 87,636

root tech

root tech

Күн бұрын

Ubuntu Server 20.04 Administration
www.udemy.com/...
Help support the channel by buying me coffee: buymeacoff.ee/...
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.
Openvpn Server Installation script github.com/Nyr...
Windows 10 Openvpn client openvpn.net/co...
00:40 Installing Openvpn Server in Ubuntu.
06:00 Connecting from Ubuntu Desktop client
09:25 Connection from Windows 10 client

Пікірлер: 99
@DedicAbdo
@DedicAbdo 3 жыл бұрын
thank you, its working on ubuntu 20 as a server and windows 10 as a client
@tengkuemirulismartengkurad1541
@tengkuemirulismartengkurad1541 8 ай бұрын
nice tutorial..just try today for my access from office to home network, is working.
@AtariKafa
@AtariKafa 3 жыл бұрын
very usefull learned alot thank you 👍🏼🤗
@ErickBobson
@ErickBobson 8 ай бұрын
Thank you for this amazing tutorial.
@gelo_dk
@gelo_dk 2 жыл бұрын
Is it a good practice to run the OpenVPN server on my local machine and then connect from the same machine?
@keinaelphilemon7304
@keinaelphilemon7304 Жыл бұрын
Thanks ! Thanks x2 !
@josemaenzo
@josemaenzo 3 жыл бұрын
Great tutorial. Thanks a lot.
@shitpostgang3007
@shitpostgang3007 4 жыл бұрын
Thanks! Great tutorial.
@Roottech25
@Roottech25 4 жыл бұрын
to kind of understand the this tutorial you have to have a bit of knowledge of networking and linux combined. Even if is just in the terminal. It contains lots of good information on network and Linux. Hope you found it useful... thanks
@HisLoveArmy
@HisLoveArmy 7 ай бұрын
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.
@ariankhanehgir7903
@ariankhanehgir7903 3 жыл бұрын
i have some problem when i want to copy openvpn-client.ovpn to my pc
@joaoalves7656
@joaoalves7656 3 жыл бұрын
Me too
@rodcosta290
@rodcosta290 17 күн бұрын
i guess you dont need this now, but you need to have an ssh server in your ovpn server, and enable port forwarding on your router
@SupremeGlory
@SupremeGlory 3 жыл бұрын
clean and easy. thank you.
@arcenme
@arcenme 3 жыл бұрын
The system does not have the TUN device available. TUN needs to be enabled before running this installer. How to solve this problem ? Thanks
@stuvmssmvuts2017
@stuvmssmvuts2017 3 жыл бұрын
if u are in windows, i suggest to reinstall the openvpn client
@MarkHathaway1
@MarkHathaway1 24 күн бұрын
Is there a script that sets up the server in client-server mode? Thanks
@eddiesmurfy
@eddiesmurfy 3 жыл бұрын
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!
@eavanzo
@eavanzo 3 жыл бұрын
Muito bom! bem explicado o passo a passo, parabéns!
@randomnico6250
@randomnico6250 3 жыл бұрын
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!
@sidharthv
@sidharthv 3 жыл бұрын
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.
@IntenseTech
@IntenseTech 2 жыл бұрын
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!
@simgplusnervt4698
@simgplusnervt4698 2 жыл бұрын
How do I connect to a remote server? So how do I connect if the server and client are only connected by the public internet?
@HOUISSAAnas
@HOUISSAAnas Жыл бұрын
bara yarham waldik
@janulik9535
@janulik9535 Жыл бұрын
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?
@ironwolf3699
@ironwolf3699 2 жыл бұрын
What happens if my public ip changes? Does openvpn automatically switch to the new one, or do I have to switch to it manually?
@zeeshanumar4466
@zeeshanumar4466 Ай бұрын
really a good tutorial. How can we add more clients?
@Roottech25
@Roottech25 Ай бұрын
@@zeeshanumar4466 check out my electronics tutorials. I got some good formulas there...
@antokxvi896
@antokxvi896 3 жыл бұрын
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
@franckciccio8032
@franckciccio8032 2 жыл бұрын
Hi, my connection with Openvpn is really slow....do you have some way to speed up it?
@zeeshaniqbal5955
@zeeshaniqbal5955 2 жыл бұрын
Can I establish a rule to allow a specific user or subnet to access a specific website?
@moneynongrata
@moneynongrata 2 жыл бұрын
Cool script! May I ask: in the script line 259 - DH parameters. Is it ok to have this in a public file? Shall we generate somehow our own DH parameters?
@roathkanel
@roathkanel 2 жыл бұрын
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.
@Levich1
@Levich1 3 жыл бұрын
So should I use a public IP of my router or local IP of RassberyPi which I'm installing openvpn onto?
@HirenMistryhirenhcm
@HirenMistryhirenhcm 3 жыл бұрын
I was able to setup OpenVPN on Ubuntu in AWS. I am also able to connect to the server. However, the speed is very slow.
@vladtheimpala218
@vladtheimpala218 2 жыл бұрын
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
@charleslyp2421
@charleslyp2421 3 жыл бұрын
Which one IP public that will be used static or dinamic?
@maksymkyryliuk492
@maksymkyryliuk492 Жыл бұрын
Thanks a lot!) You saved my nervous and time💙
@sw09fl
@sw09fl 3 жыл бұрын
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.
@MetaBX
@MetaBX 3 жыл бұрын
What a straightforward and easy-to-follow tutorial. Excellent. Thank you! Liked and subscribed.
@YayanHeryanto888
@YayanHeryanto888 2 жыл бұрын
Good tutorial, but how if the client is on different segment IP, let say client is in country A and server is in country B, and there is no public IP ?
@Roottech25
@Roottech25 2 жыл бұрын
Cybersecurity $$$$$$$ money
@New_Video_Games
@New_Video_Games 3 жыл бұрын
Hi bro,sorry i have one question,how i can get your terminal,i wanna download your terminal,please help me
@kenhgaming8552
@kenhgaming8552 3 жыл бұрын
192.168.137.5 is the ip of the server ?
@kikemore3451
@kikemore3451 3 жыл бұрын
thanks very useful !!! congrats
@HisLoveArmy
@HisLoveArmy 3 жыл бұрын
Is there a command in Ubuntu that I can run to see what clients are connected to the VPN?
@Houston123ABC
@Houston123ABC 2 жыл бұрын
Thank you! Thank you! Thank you!
@CarlosGonzalez-by9kq
@CarlosGonzalez-by9kq 2 жыл бұрын
Thank you very much.
@naturli4218
@naturli4218 3 жыл бұрын
how to mask open vpn ssl over https?
@sushileaderyt1957
@sushileaderyt1957 3 жыл бұрын
why do you need a facecam for a coding tutorial? just curious
@stuvmssmvuts2017
@stuvmssmvuts2017 3 жыл бұрын
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
@hpksingh3067
@hpksingh3067 2 жыл бұрын
can i use public ip address to make openvpn server in lunux??
@Roottech25
@Roottech25 2 жыл бұрын
If you're using the server for real scenario... yes. it will detect it during installation
@hpksingh3067
@hpksingh3067 2 жыл бұрын
@@Roottech25 When i use my public ip to setup openvpn server in linux, it does not work like it doesnt connect thru vpn client in my windows 10 and when i use my local ip of linux to setup openvpn server in linux, then it works in windows 10 openvpn client What am i doing wrong?
@hpksingh3067
@hpksingh3067 Жыл бұрын
@@Roottech25 can tell me the error i am seeing??? please!!!
@Ladi7724
@Ladi7724 2 жыл бұрын
Works like a charm
@gustavohuertacayun3234
@gustavohuertacayun3234 3 жыл бұрын
Great! Thanks for the video
@tanmaybhawsar6154
@tanmaybhawsar6154 3 жыл бұрын
hey buddy! how do i connect from my phone (remotely), did everything in here also forwarded those ports on my router
@Roottech25
@Roottech25 3 жыл бұрын
No that's separate... You're going to have to do that
@phyokyi9140
@phyokyi9140 3 жыл бұрын
Hello Thanks for tutorial. I have two questions. How to create new user with different IP? And how to fast speed, currently it was so slow. Thanks
@LucasLima-zd9gl
@LucasLima-zd9gl 3 жыл бұрын
Hello! Just execute the SH installation file again and it will give you a few options.. one of them is to generate a new client :)
@michaelikegloria5213
@michaelikegloria5213 3 жыл бұрын
@@LucasLima-zd9gl is it unlimited users?
@rabailmushtaq147
@rabailmushtaq147 3 жыл бұрын
What if your openvpn is not listening on the port 1194, is there any fix for that?
@MOHAMEDAEZZ
@MOHAMEDAEZZ 3 жыл бұрын
Nice tutorial
@seeyasoon52
@seeyasoon52 4 жыл бұрын
Awesome tutorial. Send Biz inquire too email.
@romabilibov7612
@romabilibov7612 3 жыл бұрын
Nice work man!!! Very useful.
@kenhgaming8552
@kenhgaming8552 3 жыл бұрын
help me why the ubuntu don't accept me connect ??
@MastersArtificialLineofWork
@MastersArtificialLineofWork 3 жыл бұрын
Simple and easy tutorial
@Faisal-ss1ff
@Faisal-ss1ff 3 жыл бұрын
thanks man
@lhzawk
@lhzawk 3 жыл бұрын
Debian 9 or higher is required to use this installer. This version of Debian is too old and unsupported. I'm using Kali Linux the latest version why do i get this error???
@Roottech25
@Roottech25 3 жыл бұрын
Kali is for cybersecurity experts, I don't have that kind of expertise
@RORY759
@RORY759 3 жыл бұрын
@@Roottech25 I lose my internet connection when I connect to the VPN. How can I still use the internet from my VPN server??
@extrauser8641
@extrauser8641 3 жыл бұрын
Hello, acutely great totorial it's work's for me But now I have some doubts. Is this free? if it is free for how many user it free is there any restrictions after this much of user you have to pay this much amount like that
@Roottech25
@Roottech25 3 жыл бұрын
Printing money and more check for everyone ;0)
@sinasts3633
@sinasts3633 3 жыл бұрын
@@Roottech25 does this mean generating new users isn't free?
@miami9608
@miami9608 3 жыл бұрын
Mine won't let me connect to the vpn any fix?
@MrThekid2009
@MrThekid2009 3 жыл бұрын
you got to have forward the port number and the server ip on your router.
@geogib709
@geogib709 3 жыл бұрын
i dont have ubuntu on my windows system
@JoerBrando
@JoerBrando 3 жыл бұрын
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!
@TheNaf44
@TheNaf44 2 жыл бұрын
hi do you know how to get OVPN Config Script [UDP]
@franckciccio8032
@franckciccio8032 2 жыл бұрын
Hi ! I have tried to follow your tutorial but my client doesnìt connect to the server. Do you know where can i find logs to fix it? Thanks in advance
@Roottech25
@Roottech25 2 жыл бұрын
Ping
@Roottech25
@Roottech25 2 жыл бұрын
Follow common troubleshooting steps
@franckciccio8032
@franckciccio8032 2 жыл бұрын
@@Roottech25 The ping works, but the client doesn't connect
@franckciccio8032
@franckciccio8032 2 жыл бұрын
@@Roottech25 Thank you, I fixed it
@t.2244
@t.2244 3 жыл бұрын
i love you
@kasymhojagulyyev6824
@kasymhojagulyyev6824 3 жыл бұрын
Whoa lol
@mroesk
@mroesk 3 жыл бұрын
Great tutorial. If you are using the same .ovpn file for two different clients, there will be an ip address conflict, both using x.x.x.2. How would you setup 2 different clients?
@Roottech25
@Roottech25 3 жыл бұрын
I've seen that last name before.. I'm going to try Google it see what comes up..
@mroesk
@mroesk 3 жыл бұрын
@@Roottech25 You have? I hope it's not a bad thing.
@mroesk
@mroesk 3 жыл бұрын
@@Roottech25 Anyway, I created a profile for my iPhone as well but the tunnel to my home server from an outside network doesn't work. If I'm at a hotel and I use openDNS vpn, I doubt it will work. Can you guide me?
@mroesk
@mroesk 3 жыл бұрын
@@Roottech25 I can't get anything to work now. Since I want to connect from an outside network, ie, a hotel room, I should use the ISP ip address and since I'm using openDNS, I should select 1.1.1.1, correct?
@Lucaslima-gz9vk
@Lucaslima-gz9vk 3 жыл бұрын
@@mroesk You need to port forward you VPN connection in your router, so you'll be able to connect from an external network.
@educapro
@educapro 3 жыл бұрын
This was a great video, thank you. Gracias mi Hermano. I am installing this on Unbutu running in virtual box on my macOS server. I ran into one issue which was" scp /home/username/openvpn-client.ovpn: No such file or directory". This stumped me. I need help with just this one piece. Other than that, I installed network-manager and all was well the rest of the way. If you don't mind contacting me about this one area, I would not mind at all buying a coffee for you. We could connect on zoom, but I need to make sure that I'm onsite with the server I've built ubuntu on to complete the task. I can provide my email address when you are ready. Mil Gracias. -educapro * I wish other tutorials were as thorough and user-friendly as yours. I find the OpenVPN documentation in some parts very confusing. No straight forward instructions with step by step as you've done here. I want to ask them, what's the big secret, just explain with clarity and use Audio to accompany your video demonstrations. So weird their videos without audio. ** Since no one's taken the time to be as thorough and build a video to install and connect OpenVPN on the macOS platform, I may be the first to do it. This is a necessary tool for Mac Enterprise Environments. Would love to collaborate with you and make it happen. I can share more of what the similarities are between Mac and Windows so it won't seem intimidating to others wanting to set up the Mac.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
VPN Everything! OpenVPN Gateway Tutorial
17:41
Craft Computing
Рет қаралды 216 М.
Установка и настройка OpenVPN на Linux.
28:11
Компьютер - это просто!
Рет қаралды 6 М.
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
WireGuard installation and configuration - on Linux
17:55
Christian Lempa
Рет қаралды 191 М.
How to Get $500 Motherboards for $50
31:29
Linus Tech Tips
Рет қаралды 1,1 МЛН
Install and Configure OpenVPN Server in Windows PC
17:51
Techy Druid
Рет қаралды 85 М.
TailsOS Guide For The Ultra Paranoid
35:32
Mental Outlaw
Рет қаралды 436 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17