Closed sanderjo closed 3 years ago
Oh, this is annoying: start a fresh SAB instance:
./SABnzbd.py -f blabla98adsf98f98a.ini -s 0.0.0.0:7766 -b0
... but accessing it results in "Access denied" too. So I can't access a default SAB setup (on a public IP) remotely anymore?
2021-04-29 18:48:06,011::INFO::[notifier:122] Sending notification: SABnzbd - SABnzbd 3.3.0-develop started (type=startup, job_cat=None)
2021-04-29 18:48:13,380::INFO::[notifier:122] Sending notification: Warning - Refused connection from: 1.2.80.137 [Mozilla/5.0 (X11; CrOS x86_64 13729.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.130 Safari/537.36] (type=warning, job_cat=None)
2021-04-29 18:48:13,380::WARNING::[interface:376] Refused connection from: 1.2.80.137 [Mozilla/5.0 (X11; CrOS x86_64 13729.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.130 Safari/537.36]
Looks like a side effect of #1859? No remote access by default, local_ranges isn't set to only private ranges are granted access, and the inbound connection isn't from such a range.
It does result in this kind of inconvenience for fresh, entirely remote setups. Editing the ini directly, or using a console browser to set local_ranges could work around this. Maybe there should be a command line option set, append to, or override the local_ranges setting?
Solved:
$ cat .sabnzbd/sabnzbd.ini | grep inet_exposure
inet_exposure = 4
and I can access SAB again
Looks like a side effect of #1859? No remote access by default, local_ranges isn't set to only private ranges are granted access, and the inbound connection isn't from such a range.
Yes, indeed.
It does result in this kind of inconvenience for fresh, entirely remote setups. Editing the ini directly, or using a console browser to set local_ranges could work around this. Maybe there should be a command line option set, append to, or override the local_ranges setting?
In my case: inet_exposure
. And yes, I think defining (any) ini setting from the CLI at startup would be useful:
./SABnzbdp.py --inisetvalue "exposure = 4"
For now, setups on a fresh VPS (so: on public IPv4) would be:
This is not handy for people running SABnzbd on a public IPv4 like on VPS / seedboxes. It is as-designed and as discussed, but quite unhandy.
3.3.0 Beta3: cannot access remote SAB (on a VPS with public IP, so not behind NAT) anymore
... probably because of the new network / remote access settings.
I'll have to solve this remotely; it's a VPS