After spending some time reading forums and wiki. mikrotik com i still can't get access from outside to my internal server (service tcp on port 9000-9001 of my internal PC 192.168.1.99). It can be also windows remote access or any other service.
I'll better just try to paste correct part from config just clear out what has gone wrong:
Code: Select all
[admin@MikroTik] > /ip firewall nat print all
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Added by webbox
chain=srcnat action=masquerade out-interface=ether1-gateway
1 D chain=dstnat action=dst-nat to-addresses=192.168.1.109 to-ports=3442 protocol=tcp dst-address=87.110.170.124 dst-port=3442
2 D chain=dstnat action=dst-nat to-addresses=192.168.1.109 to-ports=3442 protocol=udp dst-address=87.110.170.124 dst-port=3442
3 D chain=dstnat action=dst-nat to-addresses=192.168.1.254 to-ports=32966 protocol=tcp dst-address=87.110.170.124 dst-port=32966
4 D chain=dstnat action=dst-nat to-addresses=192.168.1.254 to-ports=32966 protocol=udp dst-address=87.110.170.124 dst-port=32966
5 chain=dstnat action=dst-nat to-addresses=192.168.1.99 to-ports=9000 protocol=tcp dst-port=9000
6 chain=dstnat action=dst-nat to-addresses=192.168.1.99 to-ports=9001 protocol=tcp dst-port=9001
Code: Select all
[admin@MikroTik] > /ip firewall filter print all
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Added by webbox
chain=input action=accept protocol=icmp
1 ;;; Added by webbox
chain=input action=accept connection-state=established in-interface=ether1-gateway
2 ;;; Added by webbox
chain=input action=accept connection-state=related in-interface=ether1-gateway
3 ;;; logoshana
chain=input action=log in-interface=ether1-gateway log-prefix="Input:Other"
4 ;;; Added by webbox
chain=input action=drop in-interface=ether1-gateway
5 ;;; Added by webbox
chain=forward action=jump jump-target=customer in-interface=ether1-gateway
6 ;;; Added by webbox
chain=customer action=accept connection-state=established
7 ;;; Added by webbox
chain=customer action=accept connection-state=related
8 ;;; Added by webbox
chain=customer action=drop
Basically my routerboard config is almost default except lines i pasted hare. And settings which i can specify over web access (for example i don't have any clue what means "Protect router", "Protect LAN" and "NAT" in Firewall tab over web access.