Configure Wireguard VPN between MikroTik RouterOS v7 and Microsoft Windows

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • 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:
    mynetworktrain...
    #wireguard #MikroTik #RouterOSv7

КОМЕНТАРІ • 69

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

  • @jpcapobianco1979
    @jpcapobianco1979 Рік тому +4

    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.

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

  • @AndresDorado-w3t
    @AndresDorado-w3t 4 години тому

    Una consulta yo estoy usando un IP Publica dinamica de mi WIFI domestico, igual funciona?

  • @charliekenton5530
    @charliekenton5530 2 роки тому

    The best of Wireguard VPN manual. Thank you

    • @MAICT
      @MAICT  Рік тому

      Glad you think so!

  • @Quettesh
    @Quettesh Рік тому

    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.

  • @krzysztofbucko9882
    @krzysztofbucko9882 20 днів тому

    Hi I've got question about wireguard with DDNS build in option. When I've done config with DDNS and IPSEC connection between Mikrotik with DDNS and 3rd party router with static PUB IP everything is OK. When I'm trying to do the same thing but with wireguard it's not working and even hitting the firewall. Configuration is OK because when I use PUB IP with the same configuration is OK , so what's difference with DDNS IPSEC and DDNS Wireguard ?

  • @martinkaplan3606
    @martinkaplan3606 9 місяців тому +1

    Maher, Thank you Thank you Thank you!!

  • @zakirmomo9578
    @zakirmomo9578 3 дні тому

    thank you for this tutorial. i have a problem though. with the exact same settings as yours i can't seem to ping to the gateway (192.22.0.1). therefor i can't ping to the DNS and can't ping to internet. if i do ipconfig my gateway is empty. kindly help me for this matter.

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

  • @ИсаакНьютон-ц4к
    @ИсаакНьютон-ц4к 2 роки тому +2

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

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

  • @miguelgrau6138
    @miguelgrau6138 2 роки тому +2

    Perfect!!!!!

  • @naifox1
    @naifox1 9 місяців тому +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 5 місяців тому

      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

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

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

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

  • @hayderkhalid3676
    @hayderkhalid3676 2 роки тому

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

  • @victorgomezll136
    @victorgomezll136 2 роки тому +1

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

  • @ayadwalid680
    @ayadwalid680 2 роки тому

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

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

  • @nettion8715
    @nettion8715 Рік тому +1

    Thanks

  • @frankcerna3331
    @frankcerna3331 Рік тому

    buen dia, muchas gracias , muy bien explicado

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

  • @BayoGreg
    @BayoGreg Місяць тому

    thank you sir, thank you very much, your cool

  • @aeeeletroeletronica
    @aeeeletroeletronica 11 місяців тому

    NICE! 😎

  • @draatman
    @draatman 2 роки тому

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

  • @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 5 місяців тому

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

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

  • @chrislane5670
    @chrislane5670 2 роки тому

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

  • @kriss2320
    @kriss2320 2 роки тому

    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.

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

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

  • @EvgeniiEpifanov
    @EvgeniiEpifanov Рік тому

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

  • @bravel0304
    @bravel0304 2 роки тому

    GOOD

  • @amin-ko2yr
    @amin-ko2yr 2 роки тому

    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?

  • @marjoni
    @marjoni 2 роки тому

    good job

  • @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 2 роки тому

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

    • @MAICT
      @MAICT  Рік тому

      no not really. IPSEC is much more difficult on RouterOS