Answer the question
In order to leave comments, you need to log in
Route through multiple Mikrotik routers?
Good day! The essence of the question is that there is a Mikrotik A on which there is access to a sip trunk through an uplink provider, there is a Mikrotik B, between Mikrotiks A and B vpn tunnel (L2TP + IPsec), behind Mikrotik B is FreePBX to which you need to attach a SIP trunk from Mikrotik A. Question how is it possible to implement it? Thank you!
Answer the question
In order to leave comments, you need to log in
did I understand you correctly? your network diagram looks like this:
Trunk <- net1 -> RouterA <=VPN=> RouterB <- net2 -> FreePBX
if so, then the following conditions must be met:
1) RouterA must be registered on your PC as a gateway, or a route to net2 through it,
2) on FreePBX, RouterB must be registered as a gateway, or a route to net1 through it.
3) VPN between routers is up
4) RouterA has a route to net2 via RouterB (via VPN)
5) RouterB has a route to net1 via RouterA (via VPN)
6) RouterA has routing rules to net2 via RouterB for your PC
7) on RouterB has rules for routing to net1 through RouterA for the FreePBX server
8) on RouterA for transit connections towards the Trunk from the VPN network and the net2 network, NAT must be enabled
9) it is desirable! that the delay in passing packets is less than 300 ms.
the scheme is complicated for a beginner, so I propose to simplify it first, and make the simpler scheme work
Trunk <- net1 -> RouterA <- net3 -> FreePBX2
Where net3 is your local network behind the first router,
and FreePBX2 is the FreePBX server in this local network.
in this case, there will be fewer rules and routes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question