MikroTik OpenVPN Server Configuration with Windows Client

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 เม.ย. 2018
  • If this video is helpful to you, buy a coffee for more inspiration: www.buymeacoffee.com/systemzone
    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/mikrotik-openv... or systemzone.net/mikrotik-openvp...

ความคิดเห็น • 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

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

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

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

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

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

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

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

    Great!!! Thank you for the video

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

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

  • @Garethuk2006
    @Garethuk2006 6 ปีที่แล้ว

    thank you so much :)

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

    Phenomenal. Thanks...

  • @LokeshKumarJ-qn4bq
    @LokeshKumarJ-qn4bq 5 ปีที่แล้ว +1

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

  • @guarinoantoniohernandezmar6300
    @guarinoantoniohernandezmar6300 5 ปีที่แล้ว

    1000000000000% working thanks

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

  • @ibrahim.abdiyev
    @ibrahim.abdiyev 5 ปีที่แล้ว

    THX very much

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

    Gracias, de verdad gracias!!!

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

    Thanks

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

    Very good

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

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

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

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

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

  • @SpiritOfFire73
    @SpiritOfFire73 5 ปีที่แล้ว

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

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

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

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

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

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

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

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

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

    Do any of the routers require public ip?

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

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

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

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

    Mikrotik nat firewall configuration and port forwarding are missing

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

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

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

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

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

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

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

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

    what model of mikrotik?

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

  • @celso.vss86
    @celso.vss86 3 ปีที่แล้ว

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

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

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

      have you solved?

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

    how to make a client.key file?

  • @tarzan-wo9xs
    @tarzan-wo9xs 2 หลายเดือนก่อน

    how to create ovpn config file sir.

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

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

    i have a question sir

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

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

  • @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 ?? 🤷‍♂

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

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

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

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

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

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

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

    thank you
    but no G.Wy

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

    No funciona

  • @Thee.Mighty
    @Thee.Mighty 3 ปีที่แล้ว +1

    clicker

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