A
A
Alexander2017-03-27 19:36:24
Mikrotik
Alexander, 2017-03-27 19:36:24

Port forwarding through 2 Mikrotika and 3G modem?

Greetings gurus, Guys, I'm not very good at setting ticks. The task is this. There is a Mikrotik with a white IP and a dedicated Internet via cable. The second tick is in the country with a 3G modem. The PPTP tunnel between them is lifted. The task is to forward to 2 devices in the LAN of the second tick that there are ports in the country. So that it would be possible to access these devices using a white IP 192.168.2.4:34567 and 192.168.2.5:8000. If it's not difficult to tell where what to set up. I googled but didn't see anything or didn't find what I need. Or not looking there.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wexter, 2017-03-27
@Wexter

google how routing and the nat table work, you will understand - it will make no difference on linux / mikrotik / cisco

V
Viktor Belsky, 2017-03-27
@Belyj

Let's say on Mikrotik with a white ip you have addressing 192.168.0.0/24, and in your country house you have 192.168.1.0/24, you want to forward RDP. And mikrtoikii are already pinging each other on gray ip.
On the first Mikrotik, add a rule that cuts the connection to port 3389 from the WAN interface, in NAT draw a dst-nat rule for port 3389 from the WAN interface to the desired address (192.168. destination 192.168.1.0/24, port 3389 (this is so that not the mikrtotic at the dacha responds normally, and not to the default gateway).
8a33ec7d8c264ebc9ffc51f8a1e7b3fe.pngb5e3bce159624fc48cfb115dcf8dedfa.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question