Hi, Im new to Mikrotik and would appreciate your help.
I have RB433AH with RouterOS 6.32.1
/interface ethernet
set [ find default-name=ether3 ] comment=WAN name=WAN_A
set [ find default-name=ether2 ] comment=WAN name=WAN_B
set [ find default-name=ether1 ] comment=LAN
Right now I just using WAN_B since I dont have time to play with settings for both WAN_A and WAN_B.
But I need to set up my FTP server to be accesible from internet. Unfortunately I wasnt able to portforward it properly yet.
so far I disabled ftp service…
/ip service
set ftp disabled=yes
/ip firewall service-port
set ftp disabled=yes
…and tried set /ip firewall nat like this:
/ip firewall nat add chain=dstnat dst-address=MY-PUBLIC-WAN_B-IP protocol=tcp dst-port=20-21 action=dst-nat to-addresses=192.168.1.119 to-ports=20-21 comment=“FTP connection from PUBLIC”
No luck, RB433AH recieve 2 packets (100 Bytes) per connection try, but FTP client returns “Connection timed out”.
Whats wrong? Oh I added wrong local IP… so I corrected the local IP but recieved same result (2 packets (100 Bytes) per connection try, but no connection)… maybe problem is that I try to forward both ports together. New try…
/ip firewall nat add chain=dstnat dst-address=MY-PUBLIC-WAN_B-IP protocol=tcp dst-port=20 action=dst-nat to-addresses=192.168.1.149 to-ports=20
/ip firewall nat add chain=dstnat dst-address=MY-PUBLIC-WAN_B-IP protocol=tcp dst-port=21 action=dst-nat to-addresses=192.168.1.149 to-ports=21
Same result. 2 packets (100 Bytes) per connection try and “Connection timed out”. Hmm, lets try to specify interface…
/ip firewall nat add chain=dstnat in-interface=WAN_B action=dst-nat to-addresses=192.168.1.149 to-ports=21 protocol=tcp dst-address=MY-PUBLIC-WAN_B-IP dst-port=21
/ip firewall nat add chain=dstnat in-interface=WAN_B action=dst-nat to-addresses=192.168.1.149 to-ports=20 protocol=tcp dst-address=MY-PUBLIC-WAN_B-IP dst-port=20
Now RB433AH recieve 0 packets (0 Bytes) and as always FTP client returns “Connection timed out”. As last I tried to change interface to PPPoE of course it didnt work, I didnt expect that it will, but I had to try it. I dont know what else to do at /ip firewall nat.
Maybe its blocked by firewall filter… so I disabled all Filter Rules… and tried to connect again… well result was still same “Connection timed out”. Now I realy dont know what else to try or do… can you help me or atleast point me to the right direction? Please.