Page 1 of 1

Expose Toon port 80

Posted: Thu May 07, 2020 12:53 pm
by jmw
Hi,

I need external access to just http://<toon internal ip>/happ_pwrusage?action=GetCurrentUsage.
I only need to read the values.

The quick way is to NAT my internet router from some random port to port 80 on my internal Toon IP.
But this will expose everything running on Toon on port 80.
Is this safe ? Or should I go a different route / implement additional security ?

System: Rooted Toon, version 5.25.8

Re: Expose Toon port 80

Posted: Thu May 07, 2020 4:04 pm
by TerrorSource
Best way to do this is with a VPN connection to your internal network.
Other option is Port Forwarding, that indeed exposes everything running on that port on that device to the open world.

Re: Expose Toon port 80

Posted: Thu May 07, 2020 5:09 pm
by jmw
TerrorSource wrote:Other option is Port Forwarding, that indeed exposes everything running on that port on that device to the open world.
Are the services on port 80 of a standaard rooted Toon just for reading data or could you also control (i.e. change settings) using the http services on that port?

Re: Expose Toon port 80

Posted: Thu May 07, 2020 5:15 pm
by TheHogNL
jmw wrote:
TerrorSource wrote:Other option is Port Forwarding, that indeed exposes everything running on that port on that device to the open world.
Are the services on port 80 of a standaard rooted Toon just for reading data or could you also control (i.e. change settings) using the http services on that port?
You can control also.

Re: Expose Toon port 80

Posted: Thu May 07, 2020 8:38 pm
by RoadXY
Might be very technical but if you insist on opening a port to Toon, best would be to use a reverse proxy and set the proxy up for basic authentication

Re: Expose Toon port 80

Posted: Mon May 11, 2020 12:53 pm
by jmw
Thanks.

I build a basic auth reverse proxy on my Synology NAS. (using Nginx)
Used my internet router to do NAT.

Works now.