MikroTik OpenVPN Server Configuration with Windows Client

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024
  • If this video is helpful to you, buy a coffee for more inspiration: www.buymeacoff...
    MikroTik OpenVPN is able to create a secure and encrypted OpenVPN tunnel between a remote client and OpenVPN Server across public network. So, a remote OpenVPN client can communicate to OpenVP Server's local network as if it was directly connected to the local network. OpenVPN setup guide is available in this article.
    For more details: systemzone.net... or systemzone.net/...

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

  • @georgiosstratigos4334
    @georgiosstratigos4334 3 года назад +2

    FYI : i followed the subject instructions also for site to site openvpn (between 2 mikrotik routers)and working great . congrats for the clear instructions

  • @zaroqe
    @zaroqe 4 года назад

    Thank you! Your video is very clear and precise. I managed to setup vpn for my office.

  • @rubenkuh8853
    @rubenkuh8853 4 года назад

    thank you! It has been very easy to understand because of the way you did it

  • @yangchongtan2424
    @yangchongtan2424 3 года назад

    Bro your video really easy understand, thanks for your sharing and now i can setup my VPN easily.

  • @bradpitt1415
    @bradpitt1415 3 года назад

    I live in Suzhou next to Shanghai. At first, I used IKEV2 VPN, but it didn't work well, so I'm currently using Panda VPN's stealth method. I am using it to my satisfaction. If v2 does not work, try steerlh. Openvpn = Stealth

  • @ButcherUA
    @ButcherUA 4 года назад +1

    Thank you BRO !!! Your video manual best :)))

  • @ionut2219
    @ionut2219 4 года назад

    Very nice and useful tutorials. Keep up the good work!

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

    Mikrotik nat firewall configuration and port forwarding are missing

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

    Only you to save me!!! very thanks!!!

  • @bluewhales47
    @bluewhales47 3 года назад +1

    is this still need IP Public on Server OpenVPN side ? what if mikrouik router side dosn't have IP Public from ISP, how to connect workstation client as a part of the Mikrotik Network, thanks 🙏

  • @Bingbangbo3246
    @Bingbangbo3246 4 года назад

    Thanks, it works, the bad thing was that Verify Client Certificate doesn't work.

    • @SystemZone
      @SystemZone  4 года назад

      It should work. Specify CA and Client Certificate properly in client configuration file. Also you can follow this article: systemzone.net/mikrotik-openvpn-configuration-on-tcp-port-443-with-windows-os/

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

    Thanks

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

    i did the 2 mikrotik routers connect via OpenVPN site to site, how can i connect a remote computer to connect to the network?

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

    I have no internet connection after configuring ovpn with those steps. Any ideas where I went wrong?

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

    Hi sir thanks for this awesome video
    Sir I I have some issue with this I do each single step and follow you
    But when I connect openvpn client through same network from windows that connection succeed but When I'm trying to connect from outside network the VPN not connecting
    please help

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

    again as with all other instructions - access from VPN to LAN does not work - how to make LAN accessible to clients from VPN ?? 🤷‍♂

  • @jagilren
    @jagilren 4 года назад +1

    Phenomenal. Thanks...

  • @danielbaraza154
    @danielbaraza154 4 года назад

    Great!!! Thank you for the video

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

    What if we don't have public static IP address on Wan Or our mikrotik Wan behind NAT . Can we do same process .

  • @onilsonoliveira7943
    @onilsonoliveira7943 4 года назад

    When you create the certifying authority uses the public ip or gateway router ? I did as I taught,but gave error here.
    error:Tue May 26 22:21:52 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Tue May 26 22:21:52 2020 TLS Error: TLS handshake failed
    Tue May 26 22:21:52 2020 Fatal TLS error (check_tls_errors_co), restarting

  • @tomiyalima
    @tomiyalima 3 года назад

    Gracias, de verdad gracias!!!

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

    Very good

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

    what model of mikrotik?

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

    I don't have public IP on mikrotik or not port forwarding facility at wan
    Can I do this without having public IP on mikrotik

  • @LokeshKumarJ-qn4bq
    @LokeshKumarJ-qn4bq 5 лет назад

    Everything is working fine. The client receives the IP from the router but it is not assigning the gateway. Even in this tutorial gateway is empty

  • @tarzan-wo9xs
    @tarzan-wo9xs 3 месяца назад

    how to create ovpn config file sir.

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

    Thank you so much for sharing!! I'm able to connect from my client to the OpenVPN server. However, when I check the WAN IP of my client, it is still showing me the IP of the public network that I'm behind and NOT the IP of the OpenVPN server. Any thoughts? Thank you.

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

    Your steps are okay. Is it possible you speak while presenting. Consider that in your next presentation.

  • @ravinderrajput7456
    @ravinderrajput7456 4 года назад

    What setting needs to be done so that the the vpn client runs the internet through the vpn server

  • @LokeshKumarJ-qn4bq
    @LokeshKumarJ-qn4bq 5 лет назад +1

    Thank you so much !!! You made my day !!! Works like a charm :-)

  • @guarinoantoniohernandezmar6300
    @guarinoantoniohernandezmar6300 5 лет назад

    1000000000000% working thanks

  • @uacagile8998
    @uacagile8998 3 года назад

    Is there any chance to take the printout from remote Server to VPN client machine?

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

    i have a question sir

  • @ibrahim.abdiyev
    @ibrahim.abdiyev 5 лет назад

    THX very much

  • @jako265
    @jako265 4 года назад

    Hello friend, it works great!!!! Please tell me can i use the same keys to other miktotik so from client side i have only a pair of certificates??

  • @kennethpressley3399
    @kennethpressley3399 3 года назад

    I'm unable to config mine. I use to cofigure netgear router. Mikrotik is different. I'm not an informatician

  • @mmaaddmmaaxx69
    @mmaaddmmaaxx69 5 лет назад

    Thanks for the video!... I got this all working, but now I want to upgrade my Mikrotik (done that before and now howto this) but when I restore my config to the new unit the OVPN doesn't work? I even tried to export/import the certs... any advise?

  • @maspurmikrotiker8476
    @maspurmikrotiker8476 3 года назад

    how to make a client.key file?

  • @playerfun2344
    @playerfun2344 4 года назад

    Hi sir, I have one question, from VPN i can access all pc from lan, but from LAN i can not access any client from VPN, what's wrong ?

  • @rudythang3582
    @rudythang3582 6 лет назад +1

    after follow all step
    Mon Jul 16 11:23:43 2018 us=793415 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
    Options error: On Windows, --ifconfig is required when --dev tun is used
    Use --help for more information.

  • @Garethuk2006
    @Garethuk2006 6 лет назад

    thank you so much :)

  • @SpiritOfFire73
    @SpiritOfFire73 5 лет назад

    what if I don't fill in 'CA CRL HOST' while I make ' Certificates'?
    can it work?

  • @JorgeLuisKrauss
    @JorgeLuisKrauss 4 года назад

    Hi, I can't make it work... I have a mikrotik router on my work, and because of covid-19 we are trying to set up open-vpn connections. I've followed you step-by-step, replacing the IP's with mine, but after writing down my password I get the "TCP: connect to [AF_INET]MyIP:PORT failed, will try again in 5 seconds" error... I've tryed setting off my windows fw... nothing...

    • @SystemZone
      @SystemZone  4 года назад

      Follow this article step by step: systemzone.net/mikrotik-openvpn-configuration-on-tcp-port-443-with-windows-os/

  • @TrueNetworking
    @TrueNetworking 4 года назад

    Do any of the routers require public ip?

  • @celso.vss86
    @celso.vss86 3 года назад

    At 6:20 am the MAC address is that of the server?

  • @LamNguyen-vu5qb
    @LamNguyen-vu5qb 6 лет назад +2

    Tks your video. I have a question "Where did you get client.ovpn file??".

    • @SystemZone
      @SystemZone  6 лет назад

      you will find client.ovpn in this article systemzone.net/mikrotik-openvpn-setup-with-windows-client/

    • @LamNguyen-vu5qb
      @LamNguyen-vu5qb 6 лет назад

      you can fix error for me, please :(

  • @mikaeladingra4238
    @mikaeladingra4238 6 лет назад

    Hello Grand Chief, I need your help. I would like to access the internet remotely via my mikrotik router which is at home via a VPN connection. is it possible to become an internet access provider via VPN PPTP ?? STP answer me

  • @CesarDanielLopez
    @CesarDanielLopez 5 лет назад

    hi!, it's a great tutorial, the conecction to mikrotik works fine, but.. i need hel to reach the machines on my internal lan. can you help me please?

    • @jggallas
      @jggallas 4 года назад +1

      You need to add an internal route in every machine, something like "route add vpnLanAddress mask netmask mikrotikLanAddress -p" "route add 10.10.1.0 mask 255.255.255.0 192.168.1.254 -p" this example work for windows

  • @luxli7643
    @luxli7643 5 лет назад +1

    Hi, many Thanks.
    Could this VPN client out to the gateway your remotely routers (OVPN Server Mikrotik)?
    I would be on internet via OVPN server.

    • @luxli7643
      @luxli7643 5 лет назад +1

      I found the solution.I must put in config file this command "redirect-gateway autolocal" and all my traffic is now going through a remote OVPN server.Thanks

    • @LokeshKumarJ-qn4bq
      @LokeshKumarJ-qn4bq 5 лет назад

      @@luxli7643 In Which Line i have to add ???

    • @luxli7643
      @luxli7643 5 лет назад

      Hi @@LokeshKumarJ-qn4bq in client.ovpn file.
      Below i paste content of my ovpn config file.
      client
      dev tun
      redirect-gateway autolocal
      proto tcp-client
      remote xxx.xxx.253.77
      port 5002
      nobind
      persist-key
      persist-tun
      tls-client
      remote-cert-tls server
      ca ca.crt
      cert client.crt
      key client.key
      verb 4
      mute 10
      cipher AES-256-CBC
      auth sha1
      auth-user-pass user.pass
      auth-nocache
      Best regards

    • @ionutc.3657
      @ionutc.3657 3 года назад

      @@luxli7643 Thank you! I was seeking 2 days for this solution :)

  • @techsupport6495
    @techsupport6495 4 года назад

    for this can i need static ip on both sides

    • @SystemZone
      @SystemZone  4 года назад +1

      No, only server need static IP

    • @techsupport6495
      @techsupport6495 4 года назад

      @@SystemZone thanks for your reply, can i get your skype id or whatsapp Number ?

  • @sollekram
    @sollekram 4 года назад

    for accessing it across the Internet?

    • @SystemZone
      @SystemZone  4 года назад

      yes bro.

    • @sollekram
      @sollekram 4 года назад

      @@SystemZone I should port forward the external ip(of the mikrotik)on the modem?

  • @ajudanet8005
    @ajudanet8005 5 лет назад

    does it work with dynamic ip addr (at the wwan)??

    • @SystemZone
      @SystemZone  5 лет назад

      No, for all vpn you should have static public IP on WAN interface.

  • @PabloOlivare
    @PabloOlivare 4 года назад

    where do you get ovpn file?

    • @flamaryonklever
      @flamaryonklever 4 года назад

      Só criar um arquivo no bloco de notas igual ao dele e renomear para client.ovpn

  • @alshaladear9346
    @alshaladear9346 4 года назад

    thank you
    but no G.Wy

  • @roquerivera8601
    @roquerivera8601 5 лет назад

    Where did you get the Key file?

    • @mochodog
      @mochodog 5 лет назад

      after exporting the CA the returns
      to make the export of CA but this time add a key of this is the key file.
      do not skip the steps ;D

    • @roquerivera8601
      @roquerivera8601 5 лет назад

      I am trying to see the key export in your video but cannot find it. Can you please tell me where in the video is?

    • @SystemZone
      @SystemZone  5 лет назад

      In step 2, at the time of exporting CA certificate, the key file is generated by MikroTik. Follow this article to get detail: systemzone.net/mikrotik-openvpn-setup-with-windows-client

  • @jonancar
    @jonancar 4 года назад

    No funciona

  • @alishahzadification
    @alishahzadification 3 года назад

    Pagal bana raha hai bhai, whatsmyip kar k dekha kon sa ip address milta hai tujhe, tujhe wohi ip address milay ga jo tere system ka hai na k mikrotik router k WAN ka . i need non-split tunneling rather than split tunneling.

  • @Thee.Mighty
    @Thee.Mighty 3 года назад +1

    clicker