Install & Configure OpenVPN Server on Windows

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • How to install and configure OpenVPN server on Windows 10
    You and your co-workers often work remotely. You want to build a vpn server on Windows operating system. In this video, I will show you how to install OpenVPN server on Windows
    ----------
    Commands docdro.id/QeQ1sHX
    NETGEAR WiFi 6 Router amzn.to/3Ov8X3S
    TP-Link WiFi 6 Router amzn.to/3QjafAt
    ----------
    Please HELP ME 10K subscribers
    #bth #openvpn #windows10

Комментарии • 150

  • @GurmeetSingh-lk4sb
    @GurmeetSingh-lk4sb Год назад +7

    You are absolutely Brilliant. With in 10 min. you explained all points for setting VPN. Thanks a lot.

    • @BTH82
      @BTH82  Год назад

      Thanks and welcome

  • @whyismyusernametaken...
    @whyismyusernametaken... Год назад +10

    I do want to add something to this. I followed your entire tutorial and it got me connected to the VPN, but my public IP wasn't changing. What fixed this is adding this:
    1) Add this line to the server.ovpn file: push "redirect-gateway def1"
    2) Going to Services and then making the "Routing and Remote Access" set to automatic start and then starting it.
    3) Going to the Network Connections spot in Control Panel, right clicking on the main/active LAN port, properties, sharing tab, checking the "Allow other network users to connect....", setting the dropdown to the OpenVPN TAP adapter (or whatever you named it), unchecking the "Allow other network users to control...", clicking OK.
    4) Setting IPEnableRouter to 1 in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    I did all of this and my mobile phone is able to connect now and shows my public IP.
    Thanks for your video for putting me on the right path and I hope this is closing the loop.
    Source of what worked for me: forums.openvpn.net/viewtopic.php?t=7343

    • @efuzone9966
      @efuzone9966 Год назад

      Hello, I have done the same.. I am able to use keys and profile in openvpn connect for windows. Internet is working fine.. How do i connect on android openvpn client. When i import profile it is saying cannot parse ca file, key files etc..

    • @Treybal.
      @Treybal. Год назад +1

      @@efuzone9966 u have to ipmport ovpn file together with the other 3

    • @vonmises8680
      @vonmises8680 Год назад

      Hello, I got my VPN server working. I can ping the server. But, I can't connect from the client to the server. Can you help?

    • @BieZhang
      @BieZhang 7 месяцев назад

      Worked for me, thank you so much

    • @fresh.0nline
      @fresh.0nline 5 месяцев назад

      everything is working but is one issue that i have. every time when I reboot the server, I must manually do step 3. even the sharing is active, i must do it manually (unckeck sharing and then check it back) to have access in my internal network and this is very frustrating.

  • @d0uglasdg
    @d0uglasdg 2 года назад +4

    thanks!! your video helped me create a vpn for 25 clients, I had to make some adjustments, but the main thing was well explained.

    • @waqasadrees516
      @waqasadrees516 9 месяцев назад

      Bro I am stuck while setting up VPN. Can you help please

    • @Vietquat114
      @Vietquat114 9 месяцев назад

      with 25 clients, I think common routers can run sequential without lag connection

  • @eng.fahadsaleem2541
    @eng.fahadsaleem2541 Год назад +10

    Hi Sir i try to do all the steps but when i try to connect to the server it's appeared error massage (No server Certificate verification method has been enabled ) Please can you help me on that ?

    • @La_Costic11
      @La_Costic11 27 дней назад

      same here... anyone help?

  • @CWYCharles
    @CWYCharles Год назад +3

    Please update the text document in your description. I could not access it. Thanks.

  • @dienphamvan3094
    @dienphamvan3094 8 месяцев назад

    I finally found the video I needed, thank you so much

  • @jorgealegre8765
    @jorgealegre8765 2 года назад +5

    Your tutorial videos are amazing. I decided to go back to creating soft after 16 years. soft soft is so easy to get into, but also offers

  • @AroundDubai
    @AroundDubai 11 месяцев назад

    Thanks for the video. All steps covered precisely. Can you show us how we can established a site to site connectivity using OpenVPN?
    For example : We should be able to connect to the above server from an office with multiple users without the need of using a client.

  • @tektabanca3275
    @tektabanca3275 Год назад

    I did it on the perfect amazon server. Thank you

  • @ahmedjoo1858
    @ahmedjoo1858 2 года назад +1

    Thank for the video .. How to forward all traffic to the server ? i guess that's the main purpose of using VPN !!

  • @LingCh3n
    @LingCh3n Год назад

    great follow your step and it work~ thx for your sharing

  • @vla2uv
    @vla2uv Год назад +3

    It wouldn't have hurt if you would have shown a set-up in conjunction with a router that has a built-in OpenVPN server and necessarily a built-in Dyn DNS(like Asus routers have), which would've meant to connect remotely either from a laptop or Android to your own residential IP, rather then connect with a foreign VPN. There are sometimes when you really need to connect to your own country and that example would've been very helpful!

  • @alexr3669
    @alexr3669 2 года назад

    Thx, worked exactly like you described

  • @matiss8520
    @matiss8520 Год назад

    Amazing content, very precise instructions.

  • @andrescepeda7511
    @andrescepeda7511 2 года назад +5

    So I was able to successfully connect to my server trough the openvpn, but I am only able to ping the VPN network address, however I cannot access or ping the other ip addresses in the LAN(server side), is there something wrong in I am doing?

    • @gedckaful
      @gedckaful 2 года назад

      Same for me

    • @zach7110
      @zach7110 2 года назад +1

      Probably firewall. Windows does not want to allow access to a different IP subnet than your main Lan, so in Windows Firewall, try allowing incoming connections from the IP range you set your OpenVPN server to use.

    • @oliver6986
      @oliver6986 2 года назад

      Have you changed your routing option in regedit? Have you setup a static ip routing table in your router?

    • @arsad_islam
      @arsad_islam Год назад

      It's because of CGNET

    • @StellarSp0rk
      @StellarSp0rk Год назад

      was this ever resolved im on the same boat i can connect but i get no access to LAN

  • @sarahkenzy6293
    @sarahkenzy6293 2 года назад +4

    from where you brought the file ''server'' which is in the windows desktop

    • @winter7885
      @winter7885 5 месяцев назад

      you refer to the ones in 3:08 right? I'm having the same issue

  • @AlphaDango
    @AlphaDango Год назад +1

    Both PC are connected to the vpn server but I stil can't use rdp on either of them

  • @wiz2398
    @wiz2398 2 года назад +4

    Bro its not working if installed on RDP server.
    Error. Connecting to management interface failed.
    View log file(c:\user\Administrator\OpenVPN\log\server.log) for more details

  • @36en
    @36en Год назад +1

    Thanks for the vid, but sadly did not work out. I ran the server but not even the port it was supposed to work on was listening. Dont know how or where I messed up, but I had to give up. Maybe I'll try on linux next time. Too bad there are not even troubleshooting steps available, logs didn't mention any critical error, service was running.

  • @Shadow-ro1nc
    @Shadow-ro1nc Год назад +3

    On 4:00, where did you get the "server" file?

  • @bucbuc472
    @bucbuc472 2 года назад

    Thanks, it was very helpful.

  • @jumasolucoestecnologicas8807
    @jumasolucoestecnologicas8807 6 месяцев назад

    Excelente vídeo, parabéns.

  • @_bhimsainik_gaurav358
    @_bhimsainik_gaurav358 Год назад

    Back when I used to use soft soft when I knew it kind of well I used the soft roll to make softs I thought it was just more effective

  • @user-sl1qn1ze3i
    @user-sl1qn1ze3i Год назад

    thanks. love your channel.

    • @BTH82
      @BTH82  Год назад

      Thank you too!

  • @masudiqbal7182
    @masudiqbal7182 Год назад +1

    From where did you get the server text file in desktop?

  • @preenxus3425
    @preenxus3425 4 месяца назад

    I didn't fully understand, it must place server.ovpn file into config-auto folder? And I didn't notice when did you start the openvpn server?

  • @marksalvacion7625
    @marksalvacion7625 8 месяцев назад

    Still works in 12.2023 ❤

  • @swaggerjonsen
    @swaggerjonsen 2 года назад +2

    My client stays yellow... And i get TLS key negotiation errors can someone help ?

  • @ferraritnt
    @ferraritnt Год назад

    Thank you very much for the video, it was the most complete I found, but I have a doubt. As I can create more clients, I would like to be able to connect more than one client.

  • @shade29n
    @shade29n Год назад +1

    Hey please can you explain how to access ips in local lan of openvpn servers

  • @yanandrew
    @yanandrew Год назад +1

    1. I followed all the steps all the way but when I get to the client files part, I'm confused because the 4 server files should still be in your config folder (mine are) but yours aren't.
    2. OpenVPN was already installed in the system as per your video, and this was evident in the OpenVPN shortcut on your desktop. How then did you managed to get the same installer to launch and give you the option to Install or Customize, because with the programme already installed, the installer will only ask if you want to remove the programme. Did you uninstall openVPN first? If yes, wouldn't that remove all the configuration files? It is not very clear on the video.
    Can you please advise?

    •  Год назад +1

      1- Server and client pcs are different, 2- Again, different PCs you can see @8:50 it is a different computer from the previous one

  • @sarwarbakhteyar938
    @sarwarbakhteyar938 Год назад +1

    I keep getting 'connecting to management interface failed.' Any idea???

  • @damnfunnyrock
    @damnfunnyrock 11 месяцев назад

    USEFUL CONTENT

  • @user-gv8lb6uf5g
    @user-gv8lb6uf5g 2 года назад

    Thank you! Job very good!

  • @dimram2005
    @dimram2005 2 года назад

    great work... thank you

  • @henryjayr
    @henryjayr 2 месяца назад

    not working for me. keeps saying no easyrsa var file exists and when connecting to the client i get TLS errors. how to fix?

  • @MonkBartel
    @MonkBartel Год назад

    Open VPN builds multiple IPs, what should I do?

  • @user-yr6sk9oc3c
    @user-yr6sk9oc3c 2 года назад

    Very clearly tutorial.

  • @willyfromthehillies
    @willyfromthehillies Год назад +2

    what if the computer running openvpn server is not the gateway? How can you get the openvpn clients to have access to the LAN that the openvpn server resides on? What routes need to be pushed?

  • @LordMalchior
    @LordMalchior 6 месяцев назад

    Hi! How do you have server conf on your desktop before install openvpn? This step is missing

  • @stephanecombelasse9029
    @stephanecombelasse9029 9 месяцев назад

    Avez-vous une solution pour du Wake-on-Lan ? Gratuite, avec réveil du PC ? Merci.

  • @kclo4377
    @kclo4377 4 месяца назад

    I would like to know how to assign client ip same as sever ip? Can you help for me?

  • @ameer049
    @ameer049 Год назад +2

    Where did you get the server.txt file from? I cant find the file on my desktop

    • @isaaczarspada1769
      @isaaczarspada1769 Год назад

      Did you figure it out, I tried copying the server.crt but windows kept prompting me to install a certificate

  • @marcelskrepka5444
    @marcelskrepka5444 2 года назад

    Thank you, me a lot! 😁

  • @villepakarinen
    @villepakarinen 8 месяцев назад +1

    "Default installation will skip the necessary features" ummm, why?

  • @KillerKotHD
    @KillerKotHD 2 года назад

    Guys how can i do this:
    A - client
    B - Ovpn server
    C - Proxy server from A client that is coming from server?

  • @iusky1
    @iusky1 2 года назад +1

    Valeu! Estou tentando aqui. W server 2016. Abraço.

  • @Looki2000
    @Looki2000 5 месяцев назад

    not working. I can't access anything on my local pc

  • @medefamily
    @medefamily 9 месяцев назад

    On 4:24 is the ip addres mean ip public in my own pc?

  • @gnomone1968
    @gnomone1968 Год назад

    Amazing content, very precise instructions

    • @BTH82
      @BTH82  Год назад

      Glad you think so!

  • @Ada-oo1yy
    @Ada-oo1yy 2 года назад

    I have an windows TAP error. Reinstalling TAP- Adapter drivers wasn't helping.

  • @stephanecombelasse9029
    @stephanecombelasse9029 9 месяцев назад

    il faut préciser qu'il faut ouvrir le port 1194 TCP sur la machine client sur le routeur et dans le pare-feu.

  • @potato_tube
    @potato_tube 2 года назад

    can the client be macOS? if yes are the steps same as win11?

  • @BrutalBusinessBuilding-cf9gm
    @BrutalBusinessBuilding-cf9gm 7 месяцев назад

    how to delete or disable all vpn on my pc?

  • @griffinschreiberizer7616
    @griffinschreiberizer7616 Год назад

    I cant view your Command line Links? is it possible to put them in order cz when i got to creating the server folder I was missing two files I only had one security cert and the dh.pem from here I couldn't continue?

  • @felipepintogama
    @felipepintogama 2 года назад

    Awesome!!!!

  • @goravbihani6415
    @goravbihani6415 2 года назад +2

    Sir can u teach pithon

  • @shivambaghel4465
    @shivambaghel4465 3 месяца назад

    Can you please provide me the easy-esa zip file ?
    i'm not able to find the exact file on the internet

  • @FerNando-kr3rf
    @FerNando-kr3rf 2 года назад +1

    Buenas tardes, como podria hacer para que el cliente cuando quiera conectarse le pida contraseña, con la version anterior de easyrsa 2 era con build-key-pass nombredelcliente pero si ahora se genera de forma diferente no se como se haria ya que se instala easyrsa 3 por ello usas diferentes comando. gracias

  • @dadamnmayne
    @dadamnmayne 2 года назад

    Thank you

  • @eriknazario4385
    @eriknazario4385 2 года назад

    Also watch internet money tutorials on how to create lodies that should give u a good basis

  • @ayse_mina.unal346
    @ayse_mina.unal346 Год назад

    When I want to connect it asks for username and password.

  • @marcesantafe3163
    @marcesantafe3163 4 месяца назад

    no se puede descargar el archivo de texto

  • @williamhernandez3691
    @williamhernandez3691 2 года назад

    work it over CG-NAT ? (router internet movil)

  • @mancampovestiminvatam
    @mancampovestiminvatam Год назад

    Where does the DHCP server reside?

  • @korisnik4321
    @korisnik4321 Год назад

    How to create only Client profile ?

  • @markm75
    @markm75 2 года назад

    There isnt a build-client-full batch file?

  • @ernestasraudys2968
    @ernestasraudys2968 Год назад

    can make totorial how make openvpn server with using socks5 ip ?

  • @luisquintana2793
    @luisquintana2793 7 месяцев назад

    dies open vpn has ability to rotate ip address or proxy every 15 secs to 30 secs

  • @senil5906
    @senil5906 Год назад

    Hi , can I login from phone to this server?

  • @psiquisirreal
    @psiquisirreal Год назад

    Why the notepad link seems risky?

  • @tngitans1488
    @tngitans1488 2 года назад

    how do you create4 a opvn file so i can use it on andriod

  • @yasharyassin2642
    @yasharyassin2642 2 года назад

    eventually it all snapped into place and I started learning how to add all the effects, titles, motion text. It was pretty cool to see my

  • @carloswilliansnascimentoso6038
    @carloswilliansnascimentoso6038 2 месяца назад

    what link archive???

  • @msbrocky8180
    @msbrocky8180 Год назад

    Easyrsa error in my pc, what can i do?

  • @thepuzzlemaster64
    @thepuzzlemaster64 11 месяцев назад

    Why the hell is this tutorial more up to date than the official wiki?
    Most of the wiki still shows how to set it up with easyRSA2 instead of easyRSA3 which are completely different command wise

  • @evandromachado6869
    @evandromachado6869 Год назад +1

    06-05-23 - Great!!!

  • @shade29n
    @shade29n Год назад

    I entered my domain name from Noip in client config but it does not work, if i replace with public ip it works, kindly suggest what to do

    • @shade29n
      @shade29n Год назад

      Hmm i guess noip doesnt work but i tried the dynu one it works

  • @widizeiga3120
    @widizeiga3120 2 года назад

    I opened up a new project and deleted the area where you "paint" the soft and I don't know how to make it co back!! Lol

  • @hninlivi1375
    @hninlivi1375 Год назад

    thanks

  • @anishsagerkumar2789
    @anishsagerkumar2789 2 года назад +2

    How to Create RDP for Free.?
    Best VPN for Ever.?
    Can you make a video on this topic in detail.?

  • @SuporteTecnicoDokSolutions
    @SuporteTecnicoDokSolutions 8 месяцев назад

    how to add users and password ?

  • @anonyme2902
    @anonyme2902 Год назад

    I did not understand how he got the server text file at 4:00? or provide it to me?

  • @TheBrock118
    @TheBrock118 2 года назад

    it's all fine, it all works. But how do I make all the traffic go through the VPN?

    • @oliver6986
      @oliver6986 2 года назад

      Are you connected? Have you changed the regedit routing information? probably you also need a static ip routing in your router

    • @josephshenturk
      @josephshenturk 2 года назад

      Скажите пожалуйста, как потом вы на сервере запустили openvpn? На клиенте всё понятно. Тут не до конца показали наверное. Файлы из config auto перенесли на config на сервере и потом запустили? Непонятно мне. Помогите пожалуйста.

  • @tiranicusw1433
    @tiranicusw1433 2 года назад

    U use the same installer package at the begining and before for the client (minute 9), but that is not posible, because when I try to install again, just appear Modify - Repair and Remove, WTF? .... is not possible to use server and client from the same pc ?

    • @HTOP1982
      @HTOP1982 2 года назад

      He's using a different computer for that.
      Not specifically said, but look at the windows version, and desktop.

    • @ahmedjoo1858
      @ahmedjoo1858 2 года назад

      he used 2 different computers (server and windows 11 for client)

  • @yoatecatl
    @yoatecatl 2 года назад

    Hello friend, at minute 1:01 of your video you say that you have to open the Administrator: Command Prompt, but you don't say how and I don't know how to do it, could you help me please?

    • @n9nych422
      @n9nych422 2 года назад +1

      dude, if u dont know how to run as admin close this video xD

    • @oliver6986
      @oliver6986 2 года назад

      right click, run as admin

    • @monarcas5502
      @monarcas5502 Год назад

      try running win+r, type "cmd", once done press and hold ctrl+shift, then press enter, voilà cmd with administrive privileges opened.

  • @Mailman_NOB
    @Mailman_NOB Год назад

    I get error No server certificate verification method has been enabled

  • @ethanhunt7069
    @ethanhunt7069 2 года назад

    Hey, quick question, when I tried to connect, it gave me an error so I checked the log and the error was with the comp-1zo, am I supposed to put something different there?

    • @ahmedjoo1858
      @ahmedjoo1858 2 года назад

      its an "L" not "1" => comp-lzo in both server and client.ovpn files

    • @oliver6986
      @oliver6986 2 года назад

      Its l and not 1. But I think that command is anyway old (security issue).

  • @gigabyte3412
    @gigabyte3412 Год назад

    6million views WOW. tNice tutorials has to be the soft soft video with the most views ever ?

  • @worldofshorts1009
    @worldofshorts1009 Год назад

    Is this vpn gives free internet to our pc ? And when we connect to this vpn is we want to connect with internet (wifi)

  • @antonioaopb
    @antonioaopb Год назад

    Show de Bola

  • @maxspeednice
    @maxspeednice Год назад

    do i need to have static ip for my openvpn client or my openvpn server to do this video ?

    • @benizukebeni
      @benizukebeni Год назад

      normally, you need static IP. but you can use ddns to trick that. see 6:31

  • @nelsoncasiple
    @nelsoncasiple 2 года назад

    U just need ur pc, ur pc keyboard and a mouse.

  • @TheTruthOnlyForEver
    @TheTruthOnlyForEver 2 года назад

    I hope everyone one else becos successful because I’m not

  • @leocm1365
    @leocm1365 2 года назад +1

    😍😍

  • @ivanovivan4806
    @ivanovivan4806 6 месяцев назад +1

    ничего не работает дизлайк

  • @KaleemUllah-dc6wr
    @KaleemUllah-dc6wr 2 года назад

    can we changed the port of 1194 ?

    • @heda4341
      @heda4341 2 года назад

      yes you can, but use not reserved ports.

  • @mfgd-qo2yo
    @mfgd-qo2yo 2 месяца назад

    Эмерсончиксон, вудиксончиксон

  • @soultracer
    @soultracer Год назад

    That voice is horrible.

  • @ramherfer
    @ramherfer Год назад

    ¿Por favor de donde diablos sale la carpeta pki?
    Where the heck does the pki folder come from please?
    bin/sh: ./easyrsa/init-pki: not found