[freenet-support] web-access on headless system

Max Giesbert giesbert at exactt.de
Tue Mar 18 16:50:59 UTC 2008


Thx for your help. My node is now up and running :-D

May I suggest adding something like the following lines to the
installation instructions for headless systems:

#the old instructions
	wget http://downloads.freenetproject.org/alpha/installer/freenet07.tar.gz
	cat freenet07.tar.gz | gzip -d | tar xv
	cd freenet
	./run.sh start

#followed by

If you want to access the web-interface of the headless system from a
remote computer do:

	./run.sh stop

Now modify freenet.ini:

	nano freenet.ini //alternative: vi freenet.ini

Add the remote system's IP address to fproxy.bindTo:
	e.g. fproxy.bindTo=127.0.0.1,192.168.1.2,0:0:0:0:0:0:0:1

Add the local system's IP address to fcp.allowedHosts:
	e.g.
fproxy.bindTo:fcp.allowedHosts=127.0.0.1,192.168.1.45.0,0:0:0:0:0:0:0:1
	
or the whole subnet like this:
	e.g.
fproxy.allowedHosts=127.0.0.1,192.168.1.0/255.255.255.0,0:0:0:0:0:0:0:1

Finally start the node again
	./run.sh start


What do you think?

Cheers


Max

Matthew Toseland schrieb:
> On Tuesday 18 March 2008 09:48, Max Giesbert wrote:
>> hi,
>>
>> i just installed freenet on a headless system. my problem now is that i
>> can't connect to the web-interface on port 8888 from my remote system. i
>> already tried fiddling with freenet.ini but no success.
>>
>> what options do i have to set?
> 
> Either access the node locally, or forward the port (e.g. using ssh). Then:
> - Go to the config page.
> - Enable advanced mode.
> - Go to the fproxy section.
> - Set the ip address to bind to (e.g. 127.0.0.1,192.168.1.1)
> - Set the allowed hosts ("Hostnames or IP addresses that are allowed to 
> connect to fproxy").
> - Set the hosts allowed full access ("Hosts having full access to FProxy").
> - Go back to the top of the page, click on FCP, and do the same for FCP.
> 
> Obviously you will need to know the PC's IP address and hostmask. Your 
> operating system should tell you this.
>> thx
>>
>> max

-- 
Max Giesbert - exactt technology

Schießstättstr. 16	T: +49 17 75 07 53 44
D-80339 München		F: +49 89 1 22 21 97 02



More information about the Support mailing list