This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
403 -Forbidden
-
fometeo
- NewUser

- Posts: 2
- Joined: 28 May 2015 10:46
- Status: Offline
Re: 403 -Forbidden
Thank you very much tgtechno ! after reading this thread I tried still some "rational" approaches, all failed, then your solution worked
just hope this hint goes into the wiki as this bug is a killer for NAS4Free. better still is of course making it work as I am sure developers will make.
-
schelter
- NewUser

- Posts: 1
- Joined: 14 Aug 2015 14:31
- Status: Offline
Re: 403 -Forbidden
Hi Guys,
is there any chance to allow host from different subnets thru shell?
I've checked hosts.allow - there is ALL | ALL | ALLOW
I've checked rc.conf - firewall_client_net is set to local subnet, and if I change it, somehow it gets overwritten after reboot.
The Problem is, that the machine is in a separated subnet, and I definetally have no chance to get any client in this subnet, so I can't access the GUI.
Help would be appriciated.
is there any chance to allow host from different subnets thru shell?
I've checked hosts.allow - there is ALL | ALL | ALLOW
I've checked rc.conf - firewall_client_net is set to local subnet, and if I change it, somehow it gets overwritten after reboot.
The Problem is, that the machine is in a separated subnet, and I definetally have no chance to get any client in this subnet, so I can't access the GUI.
Help would be appriciated.
- Lee Sharp
- Advanced User

- Posts: 251
- Joined: 13 May 2013 21:12
- Contact:
- Status: Offline
Re: 403 -Forbidden
This was posted above and it is it...
ChriZathens wrote:IIRC, via ssh you can edit lighttpd. conf, restart lighttpd and webui is accessible again. You can then enter webui, insert desired range in webui and it will survive the reboot.
Temporar fix, I know...
And I agree that this setting should be disabled by default. In the future I suppose it will be fixed.
-
Stuarty
- Starter

- Posts: 35
- Joined: 21 Jun 2013 17:40
- Status: Offline
Re: 403 -Forbidden
Hello, Can someone tell me what to edit in lighttpd. conf to get around the 403 error? After a reboot my nas4free server works perfectly except that I cannot access the web GUI.
- Lee Sharp
- Advanced User

- Posts: 251
- Joined: 13 May 2013 21:12
- Contact:
- Status: Offline
Re: 403 -Forbidden
Found the fix...
Start by remounts the CF RW.
Next edit the config file...
Edit this line;
From this section;
Then unmount the flash and reboot.
Start by remounts the CF RW.
Code: Select all
umount /cf && mount -o rw /cfCode: Select all
nano /cf/conf/config.xmlCode: Select all
<hostsallow>192.168.0.0/16 172.16.0.0/8</hostsallow>Code: Select all
<webgui>
<protocol>http</protocol>
<certificate>...
<privatekey>...
<hostsallow>192.168.0.0/16 172.16.0.0/8</hostsallow>
<port/>
</webgui>
-
bocman
- Starter

- Posts: 21
- Joined: 01 Apr 2013 11:46
- Status: Offline
Re: 403 -Forbidden
I can't unmount /cfLee Sharp wrote:Found the fix...
Start by remounts the CF RW.Code: Select all
umount /cf && mount -o rw /cf
Code: Select all
umount: unmount of /cf failed: Device busyCode: Select all
0.0.0.0/1 128.0.0.0/2 192.0.0.0/3 224.0.0.0/4 240.0.0.0/5 248.0.0.0/6 252.0.0.0/7 254.0.0.0/8I have reset host allow from NAS localy (by keyboard connected directly to the server) and I was able to open WebGUI.
But after a reboot I got the error 503 again.
Now I have folowwing config.xml
Code: Select all
<webgui>
<protocol>https</protocol>
<certificate>...t</certificate>
<privatekey>...t</privatekey>
<hostsallow/>
<port>8080</port>
<hostsallow_disable/>
</webgui>