Community discussions

MUM Europe 2020
 
rd228
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Nov 16, 2015 12:13 pm

Mikrotik to Mikrotik VPN - Dynamic IP

Sun Dec 10, 2017 1:23 pm

Hi,

Ive had a search around the forums but cant seem to find a definitive answer on this

What I'm trying to achieve is a mikrotik to mikrotik vpn or site to site to be official.

This is for a home setup, id like to be able to connect 2 home networks each with their own mikrotiks. I already have a dial in L2TP VPN for my current home network using a dynamic IP address but what i want to achieve is a permanent connection between the 2 homes so that we can share services. I run quite an extensive home network...Hyper V virtual servers, internal websites and facilities such as home automation & file sharing. Id like to be able to also use this as a way of doing off site backups to each home.

Can someone explain the best way or a guide if there is one to achieving this but with the issue of having a dynamic IP address.....or if its even possible?
 
User avatar
JohnTRIVOLTA
Member Candidate
Member Candidate
Posts: 213
Joined: Sun Dec 25, 2016 2:05 pm
Location: BG/Sofia

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Sun Dec 10, 2017 2:50 pm

Put addresses at both ends of the ppp link /examp. 10.100.0.1/30 and 10.100.0.2/30 /.Route home networks over this addresses / add static route in main routing table for each home network respectively/ and make an exception in filter section on firewall for accepting the traffic between them .
 
rd228
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Nov 16, 2015 12:13 pm

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Sun Dec 10, 2017 8:39 pm

Hi yeah thanks for pointing that bit out, thats the bit I already know how to do

What main crux of my question was how to do this with a dynamic public IP address at both ends.
 
User avatar
JohnTRIVOLTA
Member Candidate
Member Candidate
Posts: 213
Joined: Sun Dec 25, 2016 2:05 pm
Location: BG/Sofia

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Sun Dec 10, 2017 9:28 pm

Hi yeah thanks for pointing that bit out, thats the bit I already know how to do

What main crux of my question was how to do this with a dynamic public IP address at both ends.
Choose the one of routers for vpn server and use cloud /ddns/ for establish the ppp connection !
 
erlinden
Member Candidate
Member Candidate
Posts: 221
Joined: Wed Jun 12, 2013 1:59 pm

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Mon Jan 15, 2018 12:15 pm

Choose the one of routers for vpn server and use cloud /ddns/ for establish the ppp connection !
There is no way to accomplish a "true" peer to peer connection without the use of script?
 
jamthejame
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Mon Jan 15, 2018 12:12 pm

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Mon Jan 15, 2018 12:23 pm

check this link....it should guide you through the process along with the script
https://blog.pessoft.com/2016/05/29/mik ... s-and-nat/
 
coopertown
newbie
Posts: 29
Joined: Fri Jan 12, 2018 6:31 pm

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Mon Jan 15, 2018 1:19 pm

 
Tdaddysimi
Frequent Visitor
Frequent Visitor
Posts: 93
Joined: Wed Sep 28, 2016 4:37 pm
Location: Minnesota

Re: Mikrotik to Mikrotik VPN - Dynamic IP

Tue Jan 16, 2018 9:26 pm

I just subscribe to a free dyndns service, like no-ip.com. I have a pc thats on already 24/7 on my network run their free client that updates the public every 5 minutes, and then I can connect my vpn clients (mainly my phone and travel router) to xxxxxxx.ddns.net and my vpn works flawlessly behind a dynamic address. No scripts needed.

Who is online

Users browsing this forum: afamative and 112 guests