S
S
Seenve2019-09-12 09:52:04
Mikrotik
Seenve, 2019-09-12 09:52:04

How to do port forwarding over LAN in mikrotik?

In general, there are 2 devices on the local network
1. 192.168.88.15 (client) Apple-TV there is no way to change something here
2. 192.168.88.2 (server) macOS
The server has 2 ports 443 and 80, but I need them for the Web -server, so I made them 445 and 85, and the client accesses only ports 80 and 443, and there is no way to change
192.168.88.15:80 -> 192.168.88.2:85
192.168.88.15:443 -> 192.168.88
. in the return line It is
necessary to do port forwarding in Mikrotik exactly on the local network between devices

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2019-09-12
@Seenve

Now your devices see each other directly, without the fate of the router. If they are both connected directly to Mikrotik, then you can try using netmap.
You can try to make it using the macOS server tools. There is an extended utility for routing management. With its help, you can set up a route on macOS based on the client address, that is, when appleTV breaks into the macOS address at port 443, this rule will intercept this packet and wrap it in port 445.
ip rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question