Hello,
I have a TRB140. Is it possible to enable remote (4G) WebUI from ssh access? Before deployment, I forgot to enable WebUI access from 4G, is ot possible to enable it from SSH (luckily I have enabled that).
Hello,
I have a TRB140. Is it possible to enable remote (4G) WebUI from ssh access? Before deployment, I forgot to enable WebUI access from 4G, is ot possible to enable it from SSH (luckily I have enabled that).
For those who stumble here, this is the solution:
uci set uhttpd.main._httpWanAccess='1'
uci commit uhttpd
/etc/init.d/uhttpd restart
uci show | grep fire | grep "'80'"
response:
firewall.16.dest_port='80'
uci show | grep firewall.16
and you got this response:
firewall.16=rule
firewall.16.dest_port='80'
firewall.16.proto='tcp'
firewall.16.name='Enable_HTTP_WAN'
firewall.16.target='ACCEPT'
firewall.16.src='wan'
firewall.16.enabled='0'
uci set firewall.16.enabled='1'
uci commit firewall
/etc/init.d/firewall restart
And that’s it!
Note: this solution may work for all RUT-s and TRB-s, as long as you fine the correct firewall rule…
This topic was automatically closed after 15 days. New replies are no longer allowed.