Restrict wan access

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ovcrash
Newbie
Newbie
Posts: 2
Joined: April 7th, 2016, 9:02 pm

Restrict wan access

Post 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
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Restrict wan access

Post by safihre »

You can't use the / notation. So you would write 192.168.1
This is the same (almost).
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Restrict wan access

Post 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.
Alrescha
Newbie
Newbie
Posts: 9
Joined: January 26th, 2016, 3:04 pm

Re: Restrict wan access

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Restrict wan access

Post by shypike »

I'll check. There was a problem, but I cannot recall right away what it was :(
ovcrash
Newbie
Newbie
Posts: 2
Joined: April 7th, 2016, 9:02 pm

Re: Restrict wan access

Post by ovcrash »

Thanksm it works.
Post Reply