route added to 10.0.5.2( i did have it in the first place but had removed the route for testing reasons):
/ip route> print
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 10.0.5.1 1
1 ADC 10.0.5.0/24 10.0.5.2 bridge1 0
Changed the dstnat rule to:
0 ;;; masquerade hotspot network
chain=srcnat action=src-nat to-addresses=192.168.5.3
src-address=10.0.5.3-10.0.5.254
1 chain=dsnat action=dst-nat to-addresses=192.168.5.4 to-ports=8291
protocol=tcp dst-address=10.0.5.2
But now when i connect with winbox to 192.168.5.4, it connects me to the main Router(10.0.5.1),
So the dstnat rule is not forwarding(rerouting) the request to 10.0.5.2
Having a look here http://wiki.mikrotik.com/wiki/NAT_Tutorial and here http://forum.mikrotik.com/t/hotspot-ip-binding-one-to-one-nat/36572/1 shouldn’t I change the dstnat rule to:
chain=dsnat action=dst-nat to-addresses=10.0.5.2 to-ports=8291 protocol=tcp dst-address=192.168.5.4
?
edit:
Now no matter how i write the dstnat rule, i am constantly being connected to the 10.0.5.1 router(main router) if i access the address 192.168.5.4. .. very strange.
P.s. I am using RouterOS 4.17 (because i like the old User Manager) so is this a bugg of the old RouterOS versions?
Edit:
I tried to upgrade to v5.24, but the problem is still there…- downgrading again to v4.17