Community discussions

MikroTik App
 
dattranvan22
just joined
Topic Author
Posts: 5
Joined: Thu Aug 24, 2017 6:09 am

VPN Site to Site or LAN to LAN

Sun Aug 11, 2019 4:26 pm

Hello,
I am problem.
I want connect VPN between MIKROTIK 1100x2 (Site A) and more than 20 site using Mikroitk RB750 (Site B)
On Site A, LAN is 192.168.0.1/24 and WAN is 72.14.109.11x
On Site B, LAN is 192.168.x.1/24 (with x is number of site an x>0) and cannot using IP WAN because using DCOM 4G.
I want client of Router Site B can access to client and router of Site A
Example : 192.168.1.15 can connect to database of Server at Site A is 192.168.0.2


Thanks you !
 
erlinden
Forum Guru
Forum Guru
Posts: 1958
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: VPN Site to Site or LAN to LAN

Sun Aug 11, 2019 5:34 pm

You can have a site-2-site vpn with dynamic IP addresses.
In my situation I used this blog.: https://blog.pessoft.com/2016/05/29/mik ... s-and-nat/

In your case you have to run the script (for updating DDNS) only at the 20 sites.
 
dattranvan22
just joined
Topic Author
Posts: 5
Joined: Thu Aug 24, 2017 6:09 am

Re: VPN Site to Site or LAN to LAN

Sun Aug 11, 2019 5:56 pm

You can have a site-2-site vpn with dynamic IP addresses.
In my situation I used this blog.: https://blog.pessoft.com/2016/05/29/mik ... s-and-nat/

In your case you have to run the script (for updating DDNS) only at the 20 sites.

In site B I using dcom 4g, I get is Local IP ( same 192.168.0.1/24) from ISP to access Internet so it cannot NAT.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: VPN Site to Site or LAN to LAN

Sun Aug 11, 2019 9:36 pm

When your 4G router really uses 192.168.0.1/24 you have an interesting problem at hand.
Your easiest solution would be either to change the main site LAN address (e.g. to 10.0.0.1/24 or 192.168.100.1/24)
or to change the local network address of the 4G routers (when that is possible).

When both are impossible, well you will have to craft some really ingenious solution that probably is not easy for a beginner.... so first consider the above.
 
dattranvan22
just joined
Topic Author
Posts: 5
Joined: Thu Aug 24, 2017 6:09 am

Re: VPN Site to Site or LAN to LAN

Mon Aug 12, 2019 3:32 am

When your 4G router really uses 192.168.0.1/24 you have an interesting problem at hand.
Your easiest solution would be either to change the main site LAN address (e.g. to 10.0.0.1/24 or 192.168.100.1/24)
or to change the local network address of the 4G routers (when that is possible).

When both are impossible, well you will have to craft some really ingenious solution that probably is not easy for a beginner.... so first consider the above.
I can edit your Lan of Site B. So you can support for me?

Who is online

Users browsing this forum: Thechriss and 65 guests