MikroTik - IPSEC S2S VPN Configuration

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • In this video we will be going over the requirements of how to configure an IPSEC tunnel between two MikroTik routers and how to do the configuration.
    If you enjoy the video please feel free to like and share it as it does help grow the channel. If you aren't already a subscriber please consider subscribing to this channel as that helps a lot tool!
    Installing GNS3:
    thenetworkberg.com/category/gns3/
    Credits:
    Intro Music: Ringtail - Waking Up
    Thank you for watching!

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

  • @JESUSistheGoodNews
    @JESUSistheGoodNews 4 года назад +4

    Finally, a Video with ALL the bits and pieces. I was going to make one if no one else did! LOL

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

    Awesome tutorial. IPSEC has so many options, and it's always been a mystery to me.

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

    This tutorial save my time, resolve problem I mistakenly made yesterday, thank you

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

      Awesome. happy this video could help you!

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

    Well done sir. Its a very useful video and easy to learn from it. Thank you very much for the clip

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

    Awesome work. Really helpful. Thanks.

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

    Great tutorial

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

    Job well done! explain in detail

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

    Great vid, thanks! I am trying to establish connectivity between Mikrotik and Pfsense. Tunnel established fine but no traffic is going through the tunnel. From the Mikrotik side traceroute shows that traffic tries to go through the internet and not using the tunnel. Spent days fixing this but can't find what the problem is. Should the src NAT counter go up if I am doing a continuous ping from the Mikrotik to the remote side?

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

    Thanks bro. God bless you :) 11.59 you save my life:)

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

    thanks a lot, this helps me figure out how to setup the ipsec tunnel

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

    hai i have many sites like this but is it possible to do the same thing with pppoe(static ip not a dynamic one) on ether 1 not a static ip

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

    So if I am connecting 2 sites but their internal IP's are the same, do I still need to follow each step but add the same rules with identical IP's added in the rules?

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

    good job

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

    yeah... instant like!!!

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

    Thank you sir, sir please create a video for small wisp using mikrotik.

  • @danielr6692
    @danielr6692 4 года назад +6

    One question, It's possible to make the vpn connection with dynamic ip services as no-ip or dyndns?? Thanks in advance!

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

      Same question 🤔?

    • @JohnDoe-wi8sx
      @JohnDoe-wi8sx 2 года назад

      Yes but we'd need more details to explain options. For example, are both sites dynamic IP or is one static and the other dynamic?

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

    Hello, can you make a new one with the new version 6.48?

  • @djdj-jz9ds
    @djdj-jz9ds 2 года назад

    Hi. Is there any way to make S2S ipsec vpn between routers both behind NAT? Any way of RW ipsec to router behind NAT?

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

    What VPN method would be best for implementing a Virtual Network between a mikrotik and PC for gamming? In terms of performance, what method would best as if all the gamming PC's were on one lan network?

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

      If you have an ARM / ARM64 board that's using ROSv7 then Zerotier is pretty solid to emulate a "LAN VPN" everyone can be on the same subnet and play as if they were directly connected on a switch. Pretty neat and has really decent performance.

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

    👏👏👏

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

    Hello I managed to close the tunnel. I did Nat bypass. But I can't ping between the nets. What may be happening I tested my routers in the Oracle virtual box

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

    Hey bud ! having issues with RouterOS V7 IPSEC tunnel forms but unable to ping across to lan subnets. Nat firewall rule in place to allow lan access across on both ends. But for the love of me I cant get the lans to communicate. Have you had issues with V7 and IPSEC ? Thanks

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

      No issues, no. Although I haven't done many S2S setups on v7 yet. I've tested now and have a working configuration with this:
      pastebin.com/keBWhQAt
      Can try and use it, just change IP addresses and names to match your own config. Will probably make a new S2S video soon for v7. Also make sure that the NAT Accept rule is at the very TOP, else this can potentially cause issues as well.

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

      @@TheNetworkBerg thanks bro ! Will give your config a go! Have a good weekend man

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

    thank you

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

      You're welcome! There is also a new updated guide I made recently here on v7
      ruclips.net/video/uVag_e475zc/видео.html

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

    Thanks much!!!

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

      You're welcome!

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

      @@TheNetworkBerg ... I just got a remote office connected to our "main campus" with this. :-)

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

    dankie dude !

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

    Hi, i want to know is this protocol still in use?

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

      Yes it is still very much widely used especially for things like connecting with Banks.

  •  3 года назад

    Why don't I have to create a routing list to have connection between two sites?

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

      Hi Jeronimo, this is because the router's Firewall is taking control of that routing aspect and is doing it on the backend. What you specified to be encrypted it will take those packets and just push them over the IPSEC tunnel.

    •  3 года назад

      @@TheNetworkBerg thanks a lot!

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

    good video, but i don`t understand how work this firewall nat rule

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

      That NAT rule is just there to "ALLOW" traffic between the networks. Just one of those weird things you do on MikroTik to have IPSEC working. Though I might check if things have changed with any newer versions.

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

    please, update this video to new IPsec version.

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

      I recently made an updated video on IPSEC using ROSv7, you are welcome to check it out here:
      ruclips.net/video/uVag_e475zc/видео.html