I have Mikrotik in office, static IP
I have Mikrotik at home, dynamic IP
I want my home MT to connect to office and networks be shared. It’s different subnets, different DHCP servers and DNS. But I want all members on either side to be able to act like they VPN into that network. Remote desktop to servers from home, etc.
Another thing - I want IP phone at home to connect to PBX server in office without any NAT.
Also, I’m looking for lightest and fastest protocol.
What should I look for? Any ready tutorials for this kind of setup?
In my opinion, to fulfill all your requests, the best (and simplest) choice is the IPIP tunnel. http://wiki.mikrotik.com/wiki/Manual:Interface/IPIP
(read the article and you will understand all the advatages)
I’m not sure if mikrotik ipip implementation suports url’s instead IP’s in source or destination ipip addresses, but it can be solved with simple script even if both sides are dynamic.
Once you establish the tunnel (it should take less than a minute of work on both sides!!!) you can also deploy IPsec if you really need it and make your tunnel “bulletproof”.
Thank you for reply. However, sample provided doesn’t cover my scenario. On one end I have dynamic IP. My office MT has static IP and my home MT has dynamic IP. Is there any instruction on how this can be done? Hopefully without any scripts or DNS lookups (because there is no dynamic DNS at home)
You cannot cross the river without wetting your feet !!
So, it can be done with few lines of script, and yes you have dynamic dns at home if yor are using mikrotik router, you just have to enable it!! (…IP…Cloud…enable…)
Example in manual is rubbish. It is a standard Mikrotik inconsistency in using private and public addresses.
Instead, look ad Greg Sowel’s video on youtube or directly on his site. It will open your eyes widely.
Actually, I made it to work and it works well! Using their manual. But I made it static. My home IP changes when there is issue with provider router, probably 2-3 times a year so I’m running it like this for now. Will need to figure out scripting to make it bulletproof.