B
B
Billy_Swein2017-05-17 12:57:39
Mikrotik
Billy_Swein, 2017-05-17 12:57:39

How to forward a port through 2 Mikrotiks on the same network?

There are two Mikrotiks. The first one is in router mode (lan ip 192.168.100.5)
FW, NAT is configured on it. The second one is behind it, in bridge mode. Its ip is 192.168.100.6 and behind this mikrotik is a video recorder (192.168.100.210:8088), the ports of which must be forwarded. The nat setting on the first one does nothing if it connects from an external network. If it connects from the guest wifi network (raised on the second microtic) 192.168.10.0/24, then there is a connection with the written rules nat, fw. I tried to completely remove all the fw, nat rules on the second mikrotik - the connection to the external network is broken.
Please help me figure it out.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gregory, 2017-05-18
@Maxlinus

show the settings of the two devices

B
Billy_Swein, 2017-05-18
@Billy_Swein

MikroTik2:
NAT:
0 ;;; default configuration
chain=srcnat action=masquerade out-interface=bridge-local log=no
log-prefix=""
1 chain=srcnat action=masquerade out-interface=GuestWiFi log=no log-prefix=""
2 chain=dstnat action =dst-nat to-addresses=***********(tried external ip) protocol=tcp
dst-address=192.168.100.210 dst-port=8088,6036 log=no log-prefix=""
3 chain=srcnat action=masquerade dst-address=!10.0.0.0/8
out-interface=bridge-local log=no log-prefix=""
FW:
0 D ;;;
connection-state=established,related log=no log-prefix=""
2 ;;; est,rltd
chain=input action=accept connection-state=established,related log=no
log-prefix=""
3 chain=forward action=accept protocol=tcp dst-port=8088,6036 log=no
log-prefix=" "
4 ;;; est,rltd
chain=forward action=accept connection-state=established,related log=no
log-prefix=""
5 chain=input action=accept protocol=icmp log=no log-prefix=""
6 chain=forward action= accept protocol=icmp log=no log-prefix=""
7 chain=forward action=accept out-interface=GuestWiFi log=no log-prefix=""

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question