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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 99

  • @eddiesmurfy
    @eddiesmurfy 3 ปีที่แล้ว +5

    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!

  • @sidharthv
    @sidharthv 3 ปีที่แล้ว +1

    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.

  • @DedicAbdo
    @DedicAbdo 3 ปีที่แล้ว

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

  • @tengkuemirulismartengkurad1541
    @tengkuemirulismartengkurad1541 9 หลายเดือนก่อน

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

  • @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]

  • @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

  • @gelo_dk
    @gelo_dk 2 ปีที่แล้ว +1

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

  • @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!

  • @MetaBX
    @MetaBX 3 ปีที่แล้ว +3

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

  • @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?

  • @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.

  • @MarkHathaway1
    @MarkHathaway1 หลายเดือนก่อน

    Is there a script that sets up the server in client-server mode? Thanks

  • @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.

  • @AtariKafa
    @AtariKafa 3 ปีที่แล้ว +1

    very usefull learned alot thank you 👍🏼🤗

  • @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?

  • @Levich1
    @Levich1 3 ปีที่แล้ว

    So should I use a public IP of my router or local IP of RassberyPi which I'm installing openvpn onto?

  • @shitpostgang3007
    @shitpostgang3007 4 ปีที่แล้ว +5

    Thanks! Great tutorial.

    • @Roottech25
      @Roottech25  4 ปีที่แล้ว +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

  • @eavanzo
    @eavanzo 3 ปีที่แล้ว +4

    Muito bom! bem explicado o passo a passo, parabéns!

  • @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?

  • @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!

  • @arcenme
    @arcenme 4 ปีที่แล้ว +2

    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

  • @zeeshaniqbal5955
    @zeeshaniqbal5955 2 ปีที่แล้ว

    Can I establish a rule to allow a specific user or subnet to access a specific website?

  • @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

  • @HisLoveArmy
    @HisLoveArmy 8 หลายเดือนก่อน

    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.

  • @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

  • @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💙

  • @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

  • @ErickBobson
    @ErickBobson 8 หลายเดือนก่อน

    Thank you for this amazing tutorial.

  • @keinaelphilemon7304
    @keinaelphilemon7304 ปีที่แล้ว +1

    Thanks !
    Thanks x2 !

  • @franckciccio8032
    @franckciccio8032 2 ปีที่แล้ว

    Hi, my connection with Openvpn is really slow....do you have some way to speed up it?

  • @Ladi7724
    @Ladi7724 2 ปีที่แล้ว

    Works like a charm

  • @MastersArtificialLineofWork
    @MastersArtificialLineofWork 4 ปีที่แล้ว

    Simple and easy tutorial

  • @zeeshanumar4466
    @zeeshanumar4466 2 หลายเดือนก่อน

    really a good tutorial. How can we add more clients?

    • @Roottech25
      @Roottech25  2 หลายเดือนก่อน

      @@zeeshanumar4466 check out my electronics tutorials. I got some good formulas there...

  • @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

  • @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?

  • @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?

  • @romabilibov7612
    @romabilibov7612 3 ปีที่แล้ว

    Nice work man!!! Very useful.

  • @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.

  • @SupremeGlory
    @SupremeGlory 3 ปีที่แล้ว

    clean and easy. thank you.

  • @HisLoveArmy
    @HisLoveArmy 3 ปีที่แล้ว

    Is there a command in Ubuntu that I can run to see what clients are connected to the VPN?

  • @ariankhanehgir7903
    @ariankhanehgir7903 3 ปีที่แล้ว +2

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

    • @joaoalves7656
      @joaoalves7656 3 ปีที่แล้ว

      Me too

    • @rodcosta290
      @rodcosta290 หลายเดือนก่อน

      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

  • @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

  • @mroesk
    @mroesk 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +1

      I've seen that last name before.. I'm going to try Google it see what comes up..

    • @mroesk
      @mroesk 4 ปีที่แล้ว

      @@Roottech25 You have? I hope it's not a bad thing.

    • @mroesk
      @mroesk 4 ปีที่แล้ว

      @@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 4 ปีที่แล้ว

      @@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.

  • @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

  • @gustavohuertacayun3234
    @gustavohuertacayun3234 3 ปีที่แล้ว

    Great! Thanks for the video

  • @rabailmushtaq147
    @rabailmushtaq147 3 ปีที่แล้ว

    What if your openvpn is not listening on the port 1194, is there any fix for that?

  • @Houston123ABC
    @Houston123ABC 3 ปีที่แล้ว

    Thank you! Thank you! Thank you!

  • @josemaenzo
    @josemaenzo 3 ปีที่แล้ว +1

    Great tutorial. Thanks a lot.

  • @CarlosGonzalez-by9kq
    @CarlosGonzalez-by9kq 2 ปีที่แล้ว

    Thank you very much.

  • @kikemore3451
    @kikemore3451 3 ปีที่แล้ว

    thanks very useful !!! congrats

  • @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?

  • @Faisal-ss1ff
    @Faisal-ss1ff 3 ปีที่แล้ว

    thanks man

  • @MOHAMEDAEZZ
    @MOHAMEDAEZZ 3 ปีที่แล้ว

    Nice tutorial

  • @sushileaderyt1957
    @sushileaderyt1957 3 ปีที่แล้ว

    why do you need a facecam for a coding tutorial? just curious

  • @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 ปีที่แล้ว +1

      @@Roottech25 I lose my internet connection when I connect to the VPN. How can I still use the internet from my VPN server??

  • @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!!!

  • @kenhgaming8552
    @kenhgaming8552 3 ปีที่แล้ว

    help me why the ubuntu don't accept me connect ??

  • @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.

  • @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.

  • @naturli4218
    @naturli4218 3 ปีที่แล้ว

    how to mask open vpn ssl over https?

  • @geogib709
    @geogib709 3 ปีที่แล้ว

    i dont have ubuntu on my windows system

  • @kenhgaming8552
    @kenhgaming8552 3 ปีที่แล้ว

    192.168.137.5 is the ip of the server ?

  • @seeyasoon52
    @seeyasoon52 4 ปีที่แล้ว

    Awesome tutorial. Send Biz inquire too email.

  • @t.2244
    @t.2244 3 ปีที่แล้ว

    i love you

  • @HOUISSAAnas
    @HOUISSAAnas ปีที่แล้ว

    bara yarham waldik