I have a trouble setting port forwarding on MicroTIk rb951ui-2hnd firmware 6.36.3
I have Ethernet 1 set up as WAN port (10.x.x.x).
Via wifi i’ve connected PC with ftp service running (192.168.88.2). - IP address is statically asigned on pc. DHCP pool on mikrotik is 192.168.88.10-192.168.88.250
In Mikrotik web interface i’ve disabled in “IP” → “Services” ftp service. As i was getting into routers ftp.
After that i’ve set up Nat rules to forward port 21 to local pc.
Here;s my configuration
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; defconf
192.168.88.1/24 192.168.88.0 bridge
1 D 10.x.x.x/24 10.x.x.0 ether1-wan
[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; defconf: masquerade
chain=srcnat action=masquerade out-interface=ether1-wan
1 chain=dstnat action=dst-nat to-addresses=192.168.88.2 to-ports=21
protocol=tcp dst-address=10.x.x.x in-interface=ether1-wan
dst-port=21 log=no
2 chain=srcnat action=src-nat to-addresses=10.x.x.x to-ports=21
protocol=tcp src-address=192.168.88.2 src-port=21 log=no
3 D ;;; upnp 192.168.88.2: Teredo
chain=dstnat action=dst-nat to-addresses=192.168.88.2 to-ports=55088
protocol=udp dst-address=10.x.x.x in-interface=ether1-wan
dst-port=55088
4 D ;;; upnp 192.168.88.2: Skype UDP at 192.168.88.2:41168 (3540)
chain=dstnat action=dst-nat to-addresses=192.168.88.2 to-ports=41168
protocol=udp dst-address=10.x.x.x in-interface=ether1-wan
dst-port=41168
5 D ;;; upnp 192.168.88.2: Skype TCP at 192.168.88.2:41168 (3540)
chain=dstnat action=dst-nat to-addresses=192.168.88.2 to-ports=41168
protocol=tcp dst-address=10.x.x.x in-interface=ether1-wan
[admin@MikroTik] > /ip firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 D ;;; special dummy rule to show fasttrack counters
chain=forward
1 ;;; defconf: accept ICMP
chain=input action=accept protocol=icmp
2 ;;; defconf: accept established,related
chain=input action=accept connection-state=established,related
3 ;;; defconf: drop all from WAN
chain=input action=drop in-interface=ether1-wan
4 ;;; defconf: fasttrack
chain=forward action=fasttrack-connection
connection-state=established,related
5 ;;; defconf: accept established,related
chain=forward action=accept connection-state=established,related
6 ;;; defconf: drop invalid
chain=forward action=drop connection-state=invalid
I’ve also tried disabling drop-filter rules, but i still can’t rich my local ftp. Any help will be greatly appreciated.
I also tried to create accept-filter rule for input chain with in. interface set as ethernet 1 and dst port as 21 and put it on top of the list. still no luck