Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Cannot access web interface externally #1690

Open
unsocial-bleach opened this issue May 2, 2022 · 3 comments
Open

Cannot access web interface externally #1690

unsocial-bleach opened this issue May 2, 2022 · 3 comments

Comments

@unsocial-bleach
Copy link

unsocial-bleach commented May 2, 2022

Your issue may already be reported!
Please search on the issue tracker before creating one.

Your Environment

  • F@H Software version: 7.6.21
  • Operating System: Ubuntu 20
  • Browser: Firefox

Expected Behavior

I have this as part of /etc/fahclient/config.xml:

  <!-- Access -->
  <allow v='127.0.0.1 0.0.0.0/0'/>
  <web-allow v='127.0.0.1 0.0.0.0/0'/>
  <password v='3uBCaP...HfGa'/>

I expect to be able to access the configuration page in any web browser from any network, by going to http://serverip.com:7396/.


Current Behavior

When I go to the page, I just get an HTTP 403 Access Forbidden error.


@kbernhagen
Copy link

kbernhagen commented Jun 10, 2022

Maybe try

  <allow v='127.0.0.1 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12 169.254.0.0/16'/>
  <deny v='0.0.0.0/0'/>
  <web-allow v='127.0.0.1 10.0.0.0/8 192.168.0.0/16 172.16.0.0/12 169.254.0.0/16'/>

Are you certain the running client is using /etc/fahclient/config.xml?

No password is used by the web control.

@unsocial-bleach
Copy link
Author

Still didn't work. How can I test that the client is using the specified config file? Is there an easy config option to set the server name or similar?

@kbernhagen
Copy link

The top of the client log.txt should indicate the config.xml location. There may also be a symbolic link being used.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants