D
D
dmitross2020-01-27 19:05:15
Mikrotik
dmitross, 2020-01-27 19:05:15

How to configure port forwarding for ultra vnc?

Good evening!
We bought and configured a mikrotik router instead of dlink.
Local network and access to the external work fine.
It was required to configure RDP. I set up port forwarding from any external address to the local network to a specific computer with a specific address and port (for external connection with the ultra vnc program). Doesn't let me! Screens below.
There is a suspicion that something is not spelled out in the rules.
Here are the
filter rules:
5e2efedadcd95785062355.png
nat:
5e2eff18e12eb915828926.png
NAT entry for ultra mts Rule
5e2eff3ac150a393493881.png
5e2eff4b2de1d931513533.png

export (filter rules):
/ip firewall filter
add action=accept chain=input protocol=icmp
add action=accept chain=input connection-state=new dst-port \u003d 80.8291.22 \
in-interface=LAN-WiFi protocol=tcp src-address=192.168.3.0/24
add action=accept chain=input connection-mark=allow_in connection-state=new \
dst-port=80 in-interface=eth1-wan- mgts protocol=tcp
add action=accept chain=input connection-state=new dst-port=53,123 \
in-interface=LAN-WiFi protocol=udp src-address=192.168.3.0/24
add action=accept chain=input connection- state=established,related
add action=fasttrack-connection chain=forward connection-state=\
established,related
add action=accept chain=output connection-state=invalid
add action=accept chain=forward connection-state=established,new \
in -interface=LAN-WiFi out-interface=eth1-wan-mgts src-address=\
192.168.3.0/24
add action=accept chain=forward connection-state=established,related \
dst-address=192.168.3.0/24 in-interface=eth1-wan-mgts out-interface=\
LAN-WiFi
add action=reject chain=input reject- with=icmp-network-unreachable
add action=reject chain=output disabled=yes reject-with=\
icmp-network-unreachable
add action=reject chain=forward reject-with=icmp-network-unreachable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmitross, 2020-01-27
@dmitross

1. By RDP, I mean all remote control systems (sorry for the confusion).
Port 5901 is correct. It is specified in the settings of the Ultra VNC
2 server. As for the suggestion to add an allowing rule in the Forvard chain, I will check it now and unsubscribe. Thank you!
I tried - the packets do not pass. Rule created like this:
5e2f1c3a0bd0a476253954.png
Export rule:
add action=accept chain=forward dst-address=192.168.3.143 dst-port=5900 \
in-interface=eth1-wan-mgts out-interface=LAN-WiFi protocol=tcp src-port =\
5900

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question