Webserver port change

9 replies [Last post]
steve
Offline
Joined: 28 Feb 2011

A simple question, and no doubt an obvious answer will be provided but........

Is it possible to change the webserver port on the HAH from default 80 to another port and if so how?

Thanks in advance

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Not easily

You can supply your own kloned.conf configuration file and startup the webserver like this 'kloned -c /path/to/yours/kloned.conf'  however you would also have to

  • Come up with the correct kloned.conf configuration based on the current source code
  • Adjust the startup script to supply this additional configuration parameter

This is all in theory as I've never actually done an override outside of the source distribution.  It might be possible - but basicically its not trival at this point.   Perhaps this is something can be investigation.  IF an external configuration file is present this would be used in preference to its compiled in INTERNAL configuration file.   File a bug so this idea doesn't get forgotten - http://code.google.com/p/livebox-hah/issues/list

Brett

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
why?

if its so you can access the hah remotely why not just do a  pinhole port redirect?

 

 

eg PUBLICIP:8080----TRANSLATES TO------HAHINTERNAL_IP:80

 

This is what i do to get remote access to my hah.

kevin9
Offline
Lincolnshire, United Kingdom
Joined: 24 May 2010
Not always possible

I understand what you mean, but its not always possible.

My previous router allowed that sort of configuration, but my current, ISP supplied, router only permits specific ports to be routed to the same port on a configurable IP address, ie the address is configurable but the swopping of the port is not

kevin9

BoxingOrange
Offline
United Kingdom
Joined: 11 Jun 2010
In Beta

Allowing a different port is currently being tested, along with some other requested enhancements.  You can always look at the issues list to see where things are in the development lifecycle, http://code.google.com/p/livebox-hah/issues/list.

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
I can vouch for there being

A very commited development team.

 

I requested the 1 wire sensor hysteresis and adjustment. I am now Beta testing it, but i will add this is not the sort of beta where it crashes every 2 minutes it has been rock solid (and works) for a while now (he says crossing his fingers)

 

Dean

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Can you point me....

Hi Dean

Can you point me in the direction of a wiki, or can you do a little instructions menu of how to get access to a remote HAH..... I can see my own little intra-net with its two HAH, but I'd like to be able to control one of the hubs from a remote location....can you assist?

Cheers

EJ

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
sort of

Firstly you need to know the external ip of your router (this may change) then you need to know if your router is capable of doing port redirection.

HAH internal ip=192.168.1.10

external ip of router = 93.XXX.XXX.1 (example)

 

you set up a port redirect or pinhole so 93.XXX.XXX.1 port 8080 translates to 192.168.1.10:80

 

so if you are "away" from home you would put in your browser 93.XXX.XXX.1:8080 and get the web of your HAH (password your HAH webpages)

It really depends on your router as to how you set this up.

if you have a common router i will lay odds its documented or mentioned somewhere?

 

what router do you have?

 

Dean

P.S as for changing HAH port never tried the above is "the easy way" changing webport on hah is only reqd if you have a "fussy router"

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Many Thanks..

for the pointer...

I've got a Sky Router (re-badged D-Link) with sky software - very basic - I've found I can set up an incoming port to pass through the router firewall, but no pin-hole....I'll try again later....

Cheers

EJ

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
Pretty sure

Your going to have to do it the hard way.

 

change port on HAH to soemthing and pinhole router.

 

Sky are a pain for "locking" down the network.

 

Sorry i doubt i can help much more :(

 

Dean

Hardware Info