Hi, I’m a newbie here.
Just bought a mikrotik and I’ve setup the basics (PPPOE ISP), it’s working, LAN, DHCP, DNS, google, all good.
I have a problem when port forwarding certain ports on my NAT firewall rule..
Some ports can be opened when I use the open port checker site, but most cannot. These are the configurations…
/ip firewall nat
add action=masquerade chain=srcnat
add action=dst-nat chain=dstnat comment="S20 Yeastar" dst-port=8118 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.1.150 to-ports=8118
add action=dst-nat chain=dstnat dst-port=5060 in-interface=pppoe-out1 protocol=udp to-addresses=192.168.1.150 to-ports=80
add action=dst-nat chain=dstnat dst-port=9850 in-interface=pppoe-out1 protocol=tcp to-addresses=192.168.1.150 to-ports=9850
add action=dst-nat chain=dstnat dst-port=9850 protocol=udp src-port="" to-addresses=192.168.1.150 to-ports=9850
add action=dst-nat chain=dstnat dst-port=6023 in-interface=pppoe-out1 protocol=udp to-addresses=192.168.1.150 to-ports=6023
add action=dst-nat chain=dstnat comment="NAS Server" dst-port=8081-8110 protocol=tcp src-port="" to-addresses=192.168.1.17 to-ports=8081-8110
add action=dst-nat chain=dstnat dst-port=8888 in-interface=pppoe-out1 protocol=tcp src-port="" to-addresses=192.168.1.17 to-ports=8888
add action=dst-nat chain=dstnat dst-port=9988 protocol=tcp src-port="" to-addresses=192.168.1.17 to-ports=9988
add action=dst-nat chain=dstnat dst-port=5900-5930 protocol=tcp src-port="" to-addresses=192.168.1.17 to-ports=5900-5930
add action=dst-nat chain=dstnat dst-port=1723 protocol=tcp src-port="" to-addresses=192.168.1.17 to-ports=1723
add action=dst-nat chain=dstnat dst-port=1194 protocol=udp src-port="" to-addresses=192.168.1.17 to-ports=1194
So pretty much, the one on the “S20 Yeastar” doesn’t work (5060, 9850) (with the exception of 8118)
while ports on “NAS Server” works (8081, 8888, 9988).
Things I’ve tried:
- Forwarded 9850 to different IP, or the NAS Server IP even, didn’t work.
- Removed/Added the “in-interface=pppoe-out1”, doens’t work either way for S20. WORKED either way for the NAS IP.
- Added a whole new rule with new port to a whole new IP, nothing…
- port checker is from yougetmesignal, tried the downloaded app as well - it’s worse..
- Checks on all common ports went through (except 80 as I’ve changed web ports to non-default as most people suggests)
In short, I did the exact same ruling for S20 and NAS, but why one works and other doesn’t?
Appreciate any kind of help.
Jim