Page 1 of 1
Restrict wan access
Posted: April 7th, 2016, 9:12 pm
by ovcrash
Hi,
I would like to restrict the wan access of my sabnzbd.
What is the format for the local_ranges setting, in the gui it's list of local network ranges.
I tried putting 192.168.1.0/24 and i got a config lock error.
I would like to allow full access on my local network and only api access on my wan.
Thanks
Re: Restrict wan access
Posted: April 8th, 2016, 2:46 am
by safihre
You can't use the / notation. So you would write 192.168.1
This is the same (almost).
Re: Restrict wan access
Posted: April 8th, 2016, 3:57 am
by shypike
Better still 192.168.1.
Note the trailing "."
It would be better if we could use the / notation.
Unfortunately there is no platform independent way we can obtain the network interface's netmask.
Re: Restrict wan access
Posted: April 8th, 2016, 8:26 am
by Alrescha
shypike wrote:
It would be better if we could use the / notation.
Unfortunately there is no platform independent way we can obtain the network interface's netmask.
How are these two things related? If someone uses / notation, they are effectively supplying the netmask. It's not clear why sabnzbd needs to know it in any case - that's the interfaces problem.
Just thinking out loud,
A.
Re: Restrict wan access
Posted: April 8th, 2016, 8:51 am
by shypike
I'll check. There was a problem, but I cannot recall right away what it was
Re: Restrict wan access
Posted: April 10th, 2016, 7:09 am
by ovcrash
Thanksm it works.