Difference between revisions of "Access your box from the Internet"
Ezra pound (talk | contribs) |
Ezra pound (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
'''NOTE''' | '''NOTE''' | ||
− | If your router will only allow port forwarding from port 8080 internal to port 8080 external, it will be necessary to change the port that the Web-If uses, this can be achieved by editing the /mod/etc/ | + | If your router will only allow port forwarding from port 8080 internal to port 8080 external, it will be necessary to change the port that the Web-If uses, this can be achieved by editing the /mod/etc/lighttpd/extra.conf file using the Web-If >> File Editor, the following example adds listening on port 8080 :- |
<pre> | <pre> | ||
− | + | $SERVER["socket"] == ":8080" {} | |
</pre> | </pre> | ||
+ | |||
+ | A typical check list for accessing your Humax from the internet would be :- | ||
+ | |||
+ | #Fixed IP address on Humax instead of DHCP, with router and subnet mask set correctly -- if it can get to On-line portal should be OK | ||
+ | #Port forward of port 80 from router to IP of Humax. Some routers will let you pick a different port inside and outside, e.g. 54321 and redirect that to port 80, others the port has to be the same in and out. Some call this services, NAT/PAT, games etc. | ||
+ | #A fixed address on your broadband connection so you can get to it from outside (or use a service like no-ip.org to give it a name). | ||
+ | #An ISP that doesn't block any incoming connection. | ||
+ | #Make sure your router doesn't have remote management or similar option turned on using the same port, check by attempting to remotely log into your IP address via a web browser, If a login screen for your router is displayed, you must either disable your router's remote login option or allocate a different port number to it | ||
+ | |||
+ | Example | ||
+ | |||
+ | the IP address allocated to you by your ISP = 111.222.123.234 | ||
+ | |||
+ | The internal IP address of your Humax = 192.168.1.45 | ||
+ | |||
+ | If your router does not allow port translation set your router to Port Forward port 80 to 192.168.1.45 (if there is a port range set port start and port end to 80, then from somewhere else on the internet access your Humax by entering http://111.222.123.234 into your browser (your browser will be using the default port 80) of this IP address, however this is bad security as the default port 80 will be known to intruders. | ||
+ | |||
+ | If your router allows port translation, it is safer to set your router to map say port 54321 (externally) to port 80 (internally), Port Forward this port (external port 54321 internal port 80) to 192.168.1.45 and then enter http://111.222.123.234:54321 into your browser, this use of a non standard port number for your web browser increases security however allowing any path thought your router can be dangerous | ||
+ | |||
+ | You can check to see if your router has correctly opened a specific port by using the Port Tester site [http://www.yougetsignal.com/tools/open-ports/ '''HERE'''] |
Latest revision as of 00:51, 21 January 2015
This carries certain risks.. you're making your Humax visible to anyone on the Internet, so make sure you're comfortable with this & think hard whether you want to do it or not. Using password protection is probably a very good idea.. so is using a more obscure inbound port.
Here's a great guide from Lifehacker which tells you all you need to know;
- http://lifehacker.com/5831841/know-your-network-lesson-4-accessing-your-home-computers-from-anywhere
You'll need to know the IP address of your Humax box & make sure it's using a static IP address (not DHCP). The WebIf is on port 80.
Your ISP probably assigns you a dynamic IP address, so you'll need to investigate something like DynDNS, or the Web-If package inadyn which updates the DynDNS server with your latest IP.
NOTE
If your router will only allow port forwarding from port 8080 internal to port 8080 external, it will be necessary to change the port that the Web-If uses, this can be achieved by editing the /mod/etc/lighttpd/extra.conf file using the Web-If >> File Editor, the following example adds listening on port 8080 :-
$SERVER["socket"] == ":8080" {}
A typical check list for accessing your Humax from the internet would be :-
- Fixed IP address on Humax instead of DHCP, with router and subnet mask set correctly -- if it can get to On-line portal should be OK
- Port forward of port 80 from router to IP of Humax. Some routers will let you pick a different port inside and outside, e.g. 54321 and redirect that to port 80, others the port has to be the same in and out. Some call this services, NAT/PAT, games etc.
- A fixed address on your broadband connection so you can get to it from outside (or use a service like no-ip.org to give it a name).
- An ISP that doesn't block any incoming connection.
- Make sure your router doesn't have remote management or similar option turned on using the same port, check by attempting to remotely log into your IP address via a web browser, If a login screen for your router is displayed, you must either disable your router's remote login option or allocate a different port number to it
Example
the IP address allocated to you by your ISP = 111.222.123.234
The internal IP address of your Humax = 192.168.1.45
If your router does not allow port translation set your router to Port Forward port 80 to 192.168.1.45 (if there is a port range set port start and port end to 80, then from somewhere else on the internet access your Humax by entering http://111.222.123.234 into your browser (your browser will be using the default port 80) of this IP address, however this is bad security as the default port 80 will be known to intruders.
If your router allows port translation, it is safer to set your router to map say port 54321 (externally) to port 80 (internally), Port Forward this port (external port 54321 internal port 80) to 192.168.1.45 and then enter http://111.222.123.234:54321 into your browser, this use of a non standard port number for your web browser increases security however allowing any path thought your router can be dangerous
You can check to see if your router has correctly opened a specific port by using the Port Tester site HERE