S
S
Spotegg2020-11-30 20:52:53
network hardware
Spotegg, 2020-11-30 20:52:53

How to make remote access to a computer behind 2 routers on 1 ip-address?

Hello! There is an office, it has wired internet, a white ip-address 5.5.5.5 was bought. There is a main mikrotik router with a local address of 10.100.100.1 for company No. 1. There was a need to organize access to the Internet through the same channel (there are no other options), unfortunately, but by another company No. 2.
On the main Mikrotik, a DHCP and vpn server was raised to access the local network 10.100.100.1/24 from the outside. Mikrotik No. 2 is connected to Myrotik No. 1, receives the Internet from it, its local address is 10.100.200.1. DHCP is up on Mikrotik #2, and server #2 is connected to it with the address 10.100.200.200.

How to remotely connect to 10.100.200.200 for example via RDP?

Do you need to create a rule on Mikrotik #1 with port forwarding, and on Mikrotik #2 forward the port from the same rule on Mikrotik #1? That is, for example, I connect to 5.5.5.5:7788 from the outside, forward port 7788 to Mikrotik No. 1 to address 10.100.200.1, Mikrotik No. 2 to the same port 7788, and forward port 7788 to Mikrotik No. 2 already on 3389 at address 10.100. 200.200?
5fc531732229b925825857.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nApoBo3, 2020-11-30
@Spotegg

Yes, that's right, double port forwarding if you have a network behind the second Mikrotik. If there is no Nata on the second Mikrotik, then port forwarding is done only on the first one.

I
Internet, 2020-12-05
@geniuscomposervsevolodpus

Port forwarding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question