Configure Wireguard VPN between MikroTik RouterOS v7 and Microsoft Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2022
  • In this video, I will show you how to configure Wireguard VPN between MikroTik RouterOSv7 and Microsoft Windows OS
    If you wish to take the full MikroTik VPN course, please register here:
    mynetworktraining.com/p/vpn-t...
    #wireguard #MikroTik #RouterOSv7

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

  • @HarishPillay
    @HarishPillay 2 ปีที่แล้ว +5

    Thanks for posting this, Maher. It is helpful. My use case is to have access to wg on a mikrotik from the outside and then traffic to go out to the Internet, so you example is spot on. Thanks.

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

    The best of Wireguard VPN manual. Thank you

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

      Glad you think so!

  • @user-rz4ow3mp7t
    @user-rz4ow3mp7t 2 ปีที่แล้ว +2

    Спасибо, отличное видео.

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

    buen dia, muchas gracias , muy bien explicado

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

    the example is working, i've tested on a VPS server with a chr. the only step missing is the NAT MASQUERADE on the interface on the server with the public ip, without that if i make the tunnel i'm not able to navigate on the internet. yes i can reach the other side but i need the nat masquerade on the server to navigate with the ip of the vpn server.

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

    I what to say thanks for making you video it help me setup the vpn

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

    Perfect!!!!!

  • @martinkaplan3606
    @martinkaplan3606 6 หลายเดือนก่อน +1

    Maher, Thank you Thank you Thank you!!

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

    عاشت ايدك استاذ ماهر

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

      ممكن ننواصل مع بعض

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

    Thanks

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

    NICE! 😎

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

    Thank you, It's amazing video
    But why this video not added to your list video of VPN course!!

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

    works well when my Mikrotik is behind a DSL modem, but not working with mikrotik LTE router. Im am trying with port forwarding but no success until now. any ideas how a NAT rule should look?

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

    Hola explicas muy bien todo. Podrias crear una VPn wireguard sitio a sitio entre dos Mikrotik ?

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

    Great this worked for me. Now I can switch the clients from pptp to the more secure Wireguard. Many thanks

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

      If I use ppoe what should i do?

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

      @@coccigelus ppoe is not PPTP

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

    This is so simple, I was trying to configure OpenVPN server on Mikrotik - it is a mess with the certificates and the performance is way lower.

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

    In my case, I have several users who access their devices remotely. I would like to know how to configure all of them in a more practical way, similar to OPENVPN. I would send a file which the user would import into the application, and then it would be configured automatically

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

    So confused by IP of on PC how you blanked out... added 247,

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

    Kindly post a video tutorial of this senarrio I have wireguard vpn server on my ubuntu server and i want to connect my mikrotik as wireguard client

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

    Thanks for this perfect video.
    I have request please, I've been looking for a video or training for IKEv2 Server configuration on Mikrotik RouterOs, Unfortunately I couldn't find any video.
    Can you please make a video about how to configure it?? thank you

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

      I will try my best

  • @hce-community5030
    @hce-community5030 ปีที่แล้ว

    Thanks for this excellent video, but my question is how to implement wireguard for many remote users?? eg : for 10 users should i have 10 peers connexion in the router?

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

      Yep

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

    Does Wireguard use any hardware encryption of some Mikrotik router models or it is done entirely through software and there is no purpose of baying IPsec hardware enabled mTik routers? How much is CPU load when you have some 10 VPN connections through Wireguard? Is it possible to give some approx. numbers so we can see what is the reason to move to Wireguard after investing some money into our equipment and we have already VPN connections (which btw, are killing our mTik CPUs)?

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

    GOOD

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

    good job

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

      thank you

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

    HI! First of all, congratulations for the video. I have doubt about Public IP. I use mikrotik router in my home and my connection uses a Dynamic IP. How can i use this setup in my case?

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

      If that IP is public then probably yes.

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

      Use the Mikrotik DDNS name under IP-->Cloud for your endpoint

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

      Or use any other free ddns service. Run from docker the free and almost zero resource hungry container called: ddclient. Don't need ugly mikrotik cloud ddns name :)

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

    Can i use hostname in the endpoint field? In case i dont have fixed IP.

    • @LeszekT-IT
      @LeszekT-IT 2 ปีที่แล้ว +1

      Yes, but it has to be resolvable.

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

    Will this allow access to the local LAN for access of management devices? I want to access Mikrotik's web gui and devices like switches, AP's etc. Am I able to do this, or do I have to assign the same IP of that subnet ? Thanks.

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

      yep possible. I can access my home router from anywhere using wireguard, same my NAS too.

  • @naifox1
    @naifox1 7 หลายเดือนก่อน +1

    Hi ! can you do a tutorial how to configure a Wireguard interface with multiple peers using windows, thank you

    • @internet-of-things
      @internet-of-things 3 หลายเดือนก่อน

      I have tried multiple windows clients and unable to get working as only one client works at a time. Can't imagine that it should not work so probably doing something wrong but seems I am not the only one unable to get working

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

    i'm receiving a public ip from a tunnel but not from my provider, my isp gives me a private ip to reach internet access so i can use that public ip from the tunnel to set wireguard or not?

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

      best is to try

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

    Dear M.H,
    I have one questions from where’s I can control on speed for WireGuard, because now I get just 5MB download and upload, how can get more speed

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

      Buy better internet. Make less firewall rules, buy stronger device (rb4011,5009) or minimum hex S

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

    I do this on my Windows machine and works fine.
    I do the same on my macbook and is not working...

    • @internet-of-things
      @internet-of-things 3 หลายเดือนก่อน

      Cannot do multiple session at the same time, maybe there is way?

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

    I just saw your video, hoping you can give me some incites regarding my issue. I am a bit confused when you said "Public address that is on mikrotik router", Can you point to the right settings on the mikrotik where to find this? I thought ican just use my WAN ip address as an endpoint. I have my RPI4 as a wireguard server running and it is using the same as my wan ip, so i thought its just the same, i just want to utilize my mikrotik router as vpn server, unfortunately i can not make it to connect. Thank you in advance.

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

      I have the same doubt. If I use ppoe what should i do?

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

    Doesn't work unfortunately. It connects but no internet access, no pings.

  • @amin-ko2yr
    @amin-ko2yr ปีที่แล้ว

    i was config my router according to this video ,wiregurad interface and pool range for client same to my network ,connection is ok and wiregurd connected sucssessfully but i cant ping any client on my network.
    whats wrong?
    how can solve it?

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

      most probably firewall issue

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

      @@MAICT I have the problem too, This works perfectly for peerA, but peerB is unable to initiate a handshake with the Mikrotik, how to resolve the problem about firewall issue?

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

      easy way to disable all firewall rules and check if it works. Then re-enable one by one to know which rule is affecting.

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

      @@MAICT Actually, there is no rule configuration on the firewall,
      Anyway, I am using RouterBoard Rb951Ui2Hnd, with ROS version 7.6 (Latest Version),
      Is there any other way to build multiple client VPN using Wireguard?

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

    why i don't have this option in my router ? there is no WireGuard on my mikrotik router

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

      This is an rOS7 feature.
      You are probably using v6 still
      V7 hasnt been relased as steady/longterm yet

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

      @@rubenduarte4909 thanks for the reply, indeed I still use version 6

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

      @@rubenduarte4909 Not true. 7.3 stable.

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

    God bless ROS v7

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

    Can we communicate? How?

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

      maict-consult.com/contact-us/

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

    My mikrotik router in brigge mode

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

    This seems more hassle than setting site to site IPSEC connection 🙂

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

      no not really. IPSEC is much more difficult on RouterOS