F@H Browser Control Access from another computer
Solution from Page 121 of the LTT Covid-19 Emergency Response Megathread
On 3/23/2020 at 1:30 AM, CWP said:The web interface uses a separate tag <web-allow v='(ip ranges)' />. The <allow> tag is for the advanced control only.
Thanks to CWP for providing this solution!
If anyone is wondering how to enable browser access (Web control) for a machine on your local network (not with the advanced client), you can either:
a) Edit your F@H config.xml file to include <web-allow v='(ip ranges)' />.
This is useful if you don't have a screen attached to your F@H computer and are able to SSH into it to edit /etc/fahclient/config.xml.
For example, this section of my config reads:
<config>
-stuff-
<!-- Web Server -->
<web-allow v='127.0.0.1 192.168.1.0/24'/>
-more stuff-
</config>
Meaning it will allow web access from localhost (127.0.0.1) as well as any other machine on your local network, assuming your DHCP range is 192.168.1.0/24.
If yours is something different, i.e. 192.168.0.x or 10.0.2.x then you'd replace it with 192.168.0.0/24 or 10.0.2.0/24. Replacing the x with 0/24 is like shorthand for representing the entire DHCP scope, i.e. 192.168.1.0 - 192.168.1.255.
Alternatively if you only want a single machine on your local network to be able to access the browser control, then you can put single IP addresses in there, separated by spaces.
For example if you wanted only the IP addresses 192.168.1.188 and 192.168.1.62 (or whatever yours is) to be able to access the browser control, your config would look like this:
<config>
-other stuff-
<!-- Web Server -->
<web-allow v='127.0.0.1 192.168.1.188 192.168.1.62'/>
-other more different stuff-
</config>
b) Using the Advanced Control GUI on the F@H machine.
This is easier than having to dig through Windows to find the config.xml file for F@H. Open the 'Expert' tab in the 'Configure' menu and add the following, obviously making sure the DHCP scope matches your local
network.

Click save and pause all active work units, then either restart your computer or F@H to reload the new config.
When you're done, you should be able to go to any computer on your local network (or the ones you specifically specified) and enter http://local_ip_of_F@H_computer:7396.
Replace local_ip_of_F@H_computer with the IP address of your F@H computer - for example mine is http://192.168.1.101:7396.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now