NZBGet is a lightweight Usenet downloader with a web interface (open source, GPL-2.0, project nzbgetcom/nzbget). You give NZBGet an NZB file, which is like a table of contents for a Usenet download. NZBGet downloads the parts from your news server in parallel, checks them, repairs missing pieces with par2, and automatically extracts the archives. It also includes a queue with priorities, categories, history, a scheduler, and RSS feeds. Programs like Sonarr or Radarr can use NZBGet as a download client.
NZBGet is only the download program. To download anything, you also need an account with a Usenet provider (a news server with an address, port, username, and password, usually paid) and NZB files, for example from an indexer.
In this guide, we'll show you two ways to get started: the easy way, as a One-Click App with its own password and HTTPS at your address, and a manual installation with Docker Compose. Then you'll configure your news server, create categories, connect Sonarr or Radarr, and retrieve completed files from the server.
You are responsible for downloading only content for which you have the necessary rights. Check your Usenet provider's terms of service and the laws in your country.
NZBGet is designed to run continuously in the background. NZBGet is a good fit for a VPS if:
- You want downloads to run independently of your PC. The VPS downloads around the clock, even when your computer at home is turned off.
- Your home internet connection is slow. A VPS in a data center usually downloads from the news server much faster than a home connection.
- Sonarr or Radarr is already running on the server and needs a Usenet download client.
- You want to add NZB files while you're away, using a browser and a permanent HTTPS address, without opening ports on your router.
A VPS is less suitable if you want to store large amounts of data permanently. Completed files take up space on the VPS until you download or delete them. NZBGet is also not a media server: to play files, you'll need another app such as Jellyfin or Plex.
The quickest way to get NZBGet running is through your VPS's One-Click Apps. With a domain, the app is immediately accessible over HTTPS. You don't need a reverse proxy, certificate, or firewall rules, and the One-Click App creates a separate account with a random password during installation.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. For instructions, see Set Up One-Click Apps.
- NZBGet itself needs very little: 1 vCore and 256 MB of RAM are enough to get started. The load increases when repairing and extracting files, so 2 vCores and 1 GB of RAM are recommended.
- Enough free space for your downloads. The app itself uses only about 3 GB; the rest depends on how much you download. Plan for at least 30 GB.
- An account with a Usenet provider. You'll enter its details in NZBGet after installation.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Find NZBGet in the App catalog and click Install app.
- Use a custom subdomain or zap.cloud is already selected. Leave it enabled and enter a name, such as
nzbget. Without a domain, NZBGet would only be accessible over HTTP and your password would be transmitted unencrypted. - You don't need to fill in anything under App configuration. The only field,
TZ, sets the time zone (default:Europe/Berlin). NZBGet uses it for scheduler and log timestamps. - Click Queue installation. NZBGet should appear as online on the app card after about two minutes.
ZapX generates the username and password during installation. You can find them in the app settings (gear icon) under App environment > Automatically generated values. Click the eye icon to show a value or the copy icon to copy it to the clipboard:
SERVICE_USER_NZBGETis the username.SERVICE_PASSWORD_NZBGETis the password.
Then open the app's Access link. Your browser will ask for the username and password. After signing in, you'll see the NZBGet download queue. There is no logout button; close your browser to log out.
Many guides list the default credentials nzbget and password tegbzn6789. They won't work with the One-Click App: a startup script writes the username and password from the App environment to the NZBGet configuration every time it starts. It also clears the setting that allows certain IP addresses to access NZBGet without a password (AuthorizedIP).
The generated password is long and random. You can't currently change it: generated values are locked in the App environment, and if you change it under Settings > Security in NZBGet, the startup script will reset it the next time the app restarts. Be sure to store the password in a password manager.
The One-Click App starts two containers: nzbget-app, which runs NZBGet itself, and a small nginx container in front of it as a gateway. By default, NZBGet is permissive when handling requests from other websites. Combined with the login stored in your browser, this could allow a malicious website to read or change your settings in the background. The gateway blocks these requests. Programs without a browser, such as Sonarr, Radarr, or your own scripts, can connect as usual with a username and password.
Anyone signed in can do a lot in NZBGet: extensions and extraction commands can run programs inside the container. Don't share your credentials. It's better to create a separate, restricted user for Sonarr and Radarr; see “Credentials for Sonarr, Radarr, and apps” below. NZBGet doesn't lock anyone out after incorrect passwords, so using a long password is especially important.
To check for a new version, open the app settings (gear icon), go to App update, and click Check for updates. To install a new version, click Apply update. If the app is shown as up to date, there isn't a newer version in the app catalog. Your settings, queue, and downloads are retained during updates.
If NZBGet itself reports a new version under Settings > Status, you can't install it there. The built-in update doesn't work in the container; new versions are available only through App update.
The configuration is stored in the nzbget-config volume, and the queue and downloads are stored in the nzbget-downloads volume. Backing up your VPS from the Backups tab saves both. The most important file is nzbget.conf, which contains your news servers, categories, and schedules.
The rest of this guide covers manual installation of NZBGet with Docker Compose on your VPS. For example, you might use this approach if you don't use One-Click Apps on your server or want NZBGet and Sonarr or Radarr to share a download folder. The instructions are based on the official NZBGet Docker guide.
- A Linux VPS running Debian or Ubuntu, with SSH access. See First SSH Login.
- Docker and Docker Compose. See Install Docker. Check your installation with
docker --versionanddocker compose version. - For HTTPS: a domain or subdomain with an A record pointing to your VPS's IP address (e.g.
nzbget.example.com).
NZBGet uses few resources. You mainly need more power when repairing and extracting large downloads:
| Minimum | Recommended | |
|---|---|---|
| CPU | 1 vCore | 2 vCores |
| RAM | 256 MB | 1 GB |
| Storage | 3 GB | 30 GB or more, depending on downloads |
NZBGet shouldn't be directly accessible from the internet because port 6789 is unencrypted. That's why NZBGet listens only on 127.0.0.1 in the Compose file below. You'll access the interface from outside through the reverse proxy over HTTPS. Open only SSH, HTTP, and HTTPS in the firewall:
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable
For more about the firewall, see Set Up a Firewall.
Create a folder for NZBGet and navigate to it:
mkdir -p /opt/nzbget && cd /opt/nzbget
Without custom credentials, NZBGet starts with the well-known default credentials nzbget / tegbzn6789. So first create a .env file with a custom username and a random password that only root can read:
umask 077
printf 'NZBGET_USER=admin\nNZBGET_PASS=%s\n' "$(openssl rand -hex 16)" > .env
cat .env
Make a note of the password shown. Then create the compose.yaml file:
services:
nzbget:
image: nzbgetcom/nzbget:v26.3
container_name: nzbget
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- NZBGET_USER=${NZBGET_USER}
- NZBGET_PASS=${NZBGET_PASS}
volumes:
- ./config:/config
- ./downloads:/downloads
ports:
- "127.0.0.1:6789:6789"
The important lines:
imagesets the version, herev26.3. With a fixed version, updates are applied only when you install them yourself.PUIDandPGIDdetermine which user owns the downloaded files. With1000, they belong to the first regular user on the server.NZBGET_USERandNZBGET_PASSset the login each time NZBGet starts. A change in the interface under Settings > Security applies only until the next restart, so change the password in the.envfile instead../configcontains thenzbget.conffile with all settings;./downloadscontains the queue and all downloads. Completed files are saved in./downloads/completed.127.0.0.1:6789:6789makes NZBGet accessible only from the server itself.
Start NZBGet:
docker compose up -d
docker compose logs -f
The No servers are configured message in the log is normal until you've added a news server. Press Ctrl + C to stop viewing the logs.
Until the reverse proxy is set up, you can access NZBGet through an SSH tunnel. Run this command on your own computer:
ssh -L 6789:127.0.0.1:6789 root@SERVER_IP
Then open http://localhost:6789 in your browser and sign in with the username and password from the .env file.
To access NZBGet from anywhere, set up nginx as a reverse proxy with a certificate. For instructions on installing nginx, see Set Up a Reverse Proxy. To get a certificate, follow SSL Certificate with Certbot. A suitable server block for nzbget.example.com looks like this:
server {
listen 443 ssl;
server_name nzbget.example.com;
ssl_certificate /etc/letsencrypt/live/nzbget.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/nzbget.example.com/privkey.pem;
client_max_body_size 256m;
location / {
proxy_pass http://127.0.0.1:6789;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300s;
proxy_buffering off;
proxy_hide_header Access-Control-Allow-Origin;
proxy_hide_header Access-Control-Allow-Credentials;
proxy_hide_header Access-Control-Allow-Methods;
proxy_hide_header Access-Control-Allow-Headers;
proxy_hide_header Access-Control-Max-Age;
}
}
client_max_body_size allows larger NZB files to be uploaded. The proxy_hide_header lines are important: by default, NZBGet allows any external website to access the interface using your saved login. Without these directives, the browser blocks such access. Check the configuration with sudo nginx -t and reload nginx with sudo systemctl reload nginx.
All settings are stored in /opt/nzbget/config/nzbget.conf. Backing up this file is enough to set up NZBGet again with the same news servers, categories, and schedules:
cd /opt/nzbget
tar czf nzbget-config-$(date +%F).tar.gz config .env compose.yaml
Back up the downloads themselves only if you want to keep them. It's best to download them over SFTP and then delete them from the server.
The built-in update in the interface doesn't work in the container. You can find the current version on the NZBGet release page. Enter the new version number for image in compose.yaml and restart the container:
cd /opt/nzbget
docker compose pull
docker compose up -d
Your settings and downloads will be retained because they're stored in the config and downloads folders.
Immediately after installation, NZBGet shows a red exclamation mark next to Settings. Under Settings > Status, you'll see No servers are configured: no news server has been added yet. The steps below apply to both the One-Click App and manual installation. After each change, click Save all changes in the bottom left; NZBGet will then restart briefly.
NZBGet displays its interface in your browser's language. We'll use the English labels here. To change the language, open the menu with the slider icon in the upper-right corner and select Language.
Open Settings > News-Servers. There is already an entry called Server1 with placeholder values. Enter the details from your Usenet provider:
- Host: the news server address, for example,
news.example.com. - Port and Encryption: to use an encrypted connection, leave Encryption set to
Yesand use your provider's TLS port, usually563. - Username and Password: your provider account credentials.
- Connections: the number of simultaneous connections. Enter no more than your plan allows. More connections usually mean faster downloads.
Click Test Connection below the entry to check that the login and encryption work. To add a second provider as a backup, click Add another Server and give it a higher Level number than the primary server. NZBGet will then use it only for parts that are missing from the primary server.
The categories Movies, Series, Music, and Software are already set up under Settings > Categories. Each category has its own subfolder in completed. This keeps movies and series separate, and Sonarr or Radarr can identify downloads by category. Click Add another Category to create your own categories.
Click Add in the download view to upload an NZB file or enter the URL of one, and then select a category. NZBGet downloads the parts, checks them, repairs missing pieces with par2, and extracts the archives. You can check a download's progress in the queue and find completed downloads under History. Add indexers that offer RSS feeds under Settings > RSS Feeds. NZBGet will then fetch new entries automatically.
You shouldn't use your main account for other programs. NZBGet provides two additional accounts under Settings > Security:
- RestrictedUsername and RestrictedPassword: this user can add and manage downloads, but can't change settings or view passwords. Use this account for Sonarr, Radarr, and smartphone apps.
- AddUsername and AddPassword: this user can only add new downloads, for example, from a browser extension.
If you leave the password blank for either account, NZBGet won't check a password for that user at all. Anyone who knows the username could then access the account. Set a separate, strong password for each account.
In Sonarr or Radarr, open Settings > Download Clients, click the plus sign, and select NZBGet. Enter the following:
- Host: your NZBGet app's address without
https://, for example,nzbget.example.com. - Port:
443, and enable Use SSL. - Username and Password: the restricted user's credentials from the section above.
- Category: the corresponding category in NZBGet, such as
Seriesin Sonarr andMoviesin Radarr.
Click Test to check the connection, then Save to save it. Add Usenet indexers in Sonarr and Radarr, or manage them centrally with Prowlarr.
Sonarr and Radarr send downloads to NZBGet and track their progress. To let them move completed files into your library, both programs must be able to access the same files as NZBGet. With One-Click Apps, each app has its own volumes, so importing files won't work. To do this, set up NZBGet and Sonarr or Radarr manually with Docker Compose and give both programs the same download folder.
NZBGet doesn't include a file manager in the browser. Retrieve completed files from the server over SFTP, for example, using FileZilla or WinSCP. See Access Files via SFTP.
- Manual installation: files are located under
/opt/nzbget/downloads/completed/<Kategorie>. - One-Click App: files are stored in the app's Docker volume. To find the exact path, connect over SSH as root and run:
docker volume ls | grep nzbget-downloads
ls /var/lib/docker/volumes/VOLUME_NAME/_data/completed
Delete completed downloads after retrieving them so your VPS doesn't run out of space. NZBGet shows the remaining free space under Settings > Status.
- Not a media server: NZBGet only downloads files. To play them, use an app such as Jellyfin or Plex.
- No Usenet account included: you need to provide your own news server access and NZB files.
- Storage: downloads take up space on your VPS until you delete them.
- Extensions: additional scripts from the Extension Manager run in the container with NZBGet's permissions. Install only extensions you trust.
With NZBGet, you now have a fast, lightweight Usenet downloader that runs around the clock on your server and connects to Sonarr and Radarr. To have your TV shows downloaded automatically through NZBGet, see the guide Set Up Sonarr on a Linux Server.
If you have any other questions or need help, our support team is available every day! 🙂
