Automatically Disabling Download on Multi Wan failover

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
hitek
Newbie
Newbie
Posts: 1
Joined: March 28th, 2021, 10:02 am

Automatically Disabling Download on Multi Wan failover

Post by hitek »

Hello

I have a multi wan router with a cellular backup and I do not want sabnzbd to download when failover cellular is active. I know this could be blocked on the multi wan router, but because of a specific requirement the sabnzbd is natted and this is not trivial to do.

Essentially what I would like to do from sabnzbd is automatically disable downloading if the public IP address changes to a certain public IP subnet. Is this possible to do within sabnzbd?

Thanks in advance
User avatar
sander
Release Testers
Release Testers
Posts: 8812
Joined: January 22nd, 2008, 2:22 pm

Re: Automatically Disabling Download on Multi Wan failover

Post by sander »

You can with an external script (python, or shell script with two curl commands) and SABnzbd, but not within SAB only.

But, on the WAN interface towards cellular, can't you just block outging NNTP and NNTPS traffic (ports 119 and 563)?
Post Reply