Page 1 of 1

access router from internet

Posted: Wed Nov 09, 2016 3:41 pm
by amolea
Hello all,
I just bought an hAP and I'm very happy with it how it's working. Anyway, I'm stuck with setting up rules for accessing via internet. For initial setup I've connected from my ex router and all was quite simple and straight forward. I'm using PPPoE and a dynamic DNS. I can access my NAS and another computer (Raspberry) connected to it but I can not connect via WinBox. I tried port forwarding but nothing. Any help will be appreciated.
Thanks,
Alex

Re: access router from internet

Posted: Wed Nov 09, 2016 3:45 pm
by Rudios
The best way is to port-forward (dst-nat) an explicit outside port to the internal ip address of your routerboard, port 8291 (default winbox).
Additionally you probably need an allow rule in your firewall filter input chain.

Re: access router from internet

Posted: Wed Nov 09, 2016 4:53 pm
by amolea
not working, I already tried.

chain=dstnat action=dst-nat to-addresses=192.168.88.1 to-ports=8291 protocol=tcp in-interface=pppoe-out1 dst-port=8291 log=no log-prefix=""

for filter rules, I have default rules.

Re: access router from internet

Posted: Wed Nov 09, 2016 8:21 pm
by Rudios
not working, I already tried.

chain=dstnat action=dst-nat to-addresses=192.168.88.1 to-ports=8291 protocol=tcp in-interface=pppoe-out1 dst-port=8291 log=no log-prefix=""

for filter rules, I have default rules.
If you have default rules, you should add one for allowing traffic after dst-nat.

Re: access router from internet

Posted: Wed Nov 09, 2016 10:17 pm
by janus20
Hi,

If your winbox port is still 8291, try this:
/ip firewall filter
add action=accept chain=forward dst-port=8291 comment="Accept connections from Winbox" in-interface=pppoe-out1 log=yes protocol=tcp
kind regards,