Community discussions

MikroTik App
 
mikruser
Long time Member
Long time Member
Topic Author
Posts: 578
Joined: Wed Jan 16, 2013 6:28 pm

FEATURE REQUEST: Dynamically created VPN+routes (each to each)

Thu Apr 23, 2020 2:06 am

For example - you have multiple offices: HQ-office and branch-offices, each office have piblic IP and private subnet.

Very simple solution:

HQ-office Mikrotik (master) and branch-offices Mikrotik (slave) have this table:

public_ip, private_subnet
1.1.1.1, 192.168.1.0/24
2.2.2.2, 192.168.2.0/24
.....
99.99.99.99, 192.168.99.0/24

Slave periodically download this table from Master (or Master upload to Slave).

When any Mikrotik get packet to some subnet, he look in table, and dynamically create tunnel to office and create route to office (all this happens automatically).
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1071
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: FEATURE REQUEST: Dynamically created VPN+routes (each to each)

Thu Apr 23, 2020 8:59 am

Sounds like you want a routing protocol. Ever thought about ospf or similar?

Who is online

Users browsing this forum: biomesh, Google [Bot], infabo, Kanzler, vingjfg and 111 guests