Going back to the original post by shanen_au, I also need to remotely manage an access point behind a MikroTik hotspot.
In my case, I just want to be able to reach the AP through the http port, which is configured to be 82. And even though I followed the information on
http://www.mikrotik.com/docs/ros/2.9/ip/nat, I cannot get to the AP from the Internet.
Below are my NAT rules as well as my filter rules, where a.b.c.d is the WAN IP address of the MT.
/ip firewall nat prin
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; masquerade hotspot network
chain=srcnat out-interface=wan src-address=192.168.0.0/24
action=masquerade
1 ;;; masquerade for private network
chain=srcnat out-interface=wan src-address=192.168.1.0/24
action=masquerade
2 chain=dstnat dst-address=a.b.c.d protocol=tcp dst-port=82
action=dst-nat to-addresses=192.168.0.2 to-ports=82
3 chain=srcnat src-address=192.168.0.2 protocol=tcp src-port=82
action=src-nat to-addresses=a.b.c.d to-ports=82
/ip firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Drop invalid connection packets
chain=input connection-state=invalid action=drop
1 ;;; Allow established connections
chain=input connection-state=established action=accept
2 ;;; Allow related connections
chain=input connection-state=related action=accept
3 ;;; Allow UDP
chain=input protocol=udp action=accept
4 ;;; Allow ICMP ping
chain=input protocol=icmp action=accept
5 ;;; From private network
chain=input src-address=192.168.1.0/24 action=accept
6 ;;; From hotspot network
chain=input src-address=192.168.0.0/24 action=accept
7 ;;; Log everything else
chain=input action=log log-prefix=""
Any help would be much appreciated.
Thank you guys in advance.
Regards,
juibar