docker-nzbgetvpn
docker-nzbgetvpn copied to clipboard
Can't reach the Web UI
Hi,
I have tried to setup your container but I can't reach the Web Ui of nzbget. Here is my command:
docker run -d
--cap-add=NET_ADMIN
-p 6789:6789
--name=nzbget
-v $HOME/downloads:/data
-v $HOME/docker/volumes/nzbget:/config
-e VPN_ENABLED=yes
-e [email protected]
-e VPN_PASS=myPassword
-e VPN_PROV=nordvpn
-e ENABLE_PRIVOXY=yes
-e LAN_NETWORK=192.168.1.0/24
-e NAME_SERVERS=8.8.8.8,8.8.4.4
-e DEBUG=false
-e UMASK=00
-e PUID=1000
-e PGID=1000
jshridha/docker-nzbgetvpn:latest
Hello,
the same thing happend to me. As soon as I disabled VPN, it worked again and I could reach the Web UI. Probably an Issue with nordvpn because that is what I use too. A few days ago everything worked fine!?
In your config directory there should be a second directory called "openvpn". In that directory make sure to put your "openvpn.ovpn" config file. If that doesn't work, post some of the log output and I'll take a look.
I am in the same boat. I am not sure why it isn't working now. I am using docker-compose for my settings:
docker-nzbgetvpn: image: "jshridha/docker-nzbgetvpn:latest" container_name: "nzbgetvpn" cap_add: - NET_ADMIN volumes: - sabnzbd:/config - downloads:/downloads - incomplete:/incomplete-downloads - shared:/shared - /etc/localtime:/etc/localtime:ro ports: - "6789:6789" restart: always environment: - VPN_ENABLED=yes - VPN_USER=pXXXXXXX - VPN_PASS=XXXXXXXX - VPN_PROV=pia - STRICT_PORT_FORWARD=yes - ENABLE_PRIVOXY=yes - LAN_NETWORK=192.168.0.0/23 - NAME_SERVERS=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4 - DEBUG=false - UMASK=000 - PUID=${PUID} - PGID=${PGID} - TZ=${TZ}
volumes: downloads: driver: local-persist driver_opts: mountpoint: /docker-data/downloads incomplete: driver: local-persist driver_opts: mountpoint: /docker-data/downloads/incomplete shared: driver: local-persist driver_opts: mountpoint: /docker-data/docker/shared sabnzbd: driver: local-persist driver_opts: mountpoint: /docker-data/docker/sabnzbd
I have attached my log and nzbget.conf, renamed to nzbget.txt, file as well. supervisord.log
I had the same issue with not being able to open the web ui. I was receiving an error in the log that it wasn't able to create the needed directories and this volume was missing. I tinkered with the compose file a little - this works for me. I use OMV with Portainer. My VPN provider is NordVPN.
This is the stack:
version: "2.1" services: nzbget: container_name: nzbgetvpn image: jshridha/docker-nzbgetvpn:latest cap_add: - net_admin volumes: - /srv/dev-disk-by-uuid-f52997fa-a31c-4033-9499-459742afbf75/appdata/docker/config/nzbgetvpn:/config - /srv/dev-disk-by-uuid-f52997fa-a31c-4033-9499-459742afbf75/Shared/06_Downloads:/downloads ports: - 6789:6789/tcp environment: - STRICT_PORT_FORWARD=yes - PUID=1000 - PGID=1000 - TZ=Europe/Berlin - VPN_PROV=openvpn - LAN_NETWORK=192.168.1.0/24 - NAME_SERVERS=103.86.96.100,103.86.99.100 - VPN_ENABLED=yes - VPN_USER=myvpnusername - VPN_PASS=myvpnpassword restart: unless-stopped
I'm having the same issue, using NordVPN. The logs don't contain any errors and it says the VPN connection is successful. Nzbget is listening on port 6789 but no connection can be made.
I run a different container with binhex/arch-qbittorrentvpn with a similar configuration and that works with no issue.
Copying @Travion1976's config 1:1 in Docker Compose didn't work for me either.
When setting VPN_ENABLED=no
, the connection works.
This is what I tried:
docker run -d \
--name=nzbget \
-p 6789:6789/tcp \
-v /var/nzbget/config:/config \
-v /var/nzbget/data:/data \
-v /mnt/objectstorage-media:/objectstorage-media \
-v /mnt/homestorage-media:/homestorage-media \
-v /etc/localtime:/etc/localtime:ro \
-e STRICT_PORT_FORWARD=yes \
-e VPN_PROV=openvpn \
-e VPN_ENABLED=yes \
-e VPN_USER=<MYUSER> \
-e VPN_PASS=<MYPASS> \
-e VPN_CLIENT=openvpn \
-e UMASK=000 \
-e ENABLE_PRIVOXY=no \
-e LAN_NETWORK=192.168.1.0/24 \
-e NAME_SERVERS=103.86.96.100,103.86.96.100 \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/Berlin \
--cap-add=NET_ADMIN \
--privileged=true \
jshridha/docker-nzbgetvpn:latest
ok, this is totally bizarre. Last week I had to reinstall my Openmediavault NAS , and weird enough my portioner / docker stack I posted here does not work anymore. Is it possible that something has been changed in the repository, image etc? This is weird. Thanks @Zeryther for pointing this out and interesting that if VPN_enabled=no it does work. I will tinker with this and update if I find out something new.
@Travion1976 was you able to identify a fix? I am currently facing the same issue with a different VPN provider. Using dyonr/nzbgetvpn container on UnRAID.
I ended up just creating a PREROUTING IPtable rule to port forward to the docker container
I wasn't able to get this fixed. I looked getting a nordvpn docker up and running (https://github.com/bubuntux/nordvpn), which I have used it the past and then route any container through the nordvpn container. For some reason there must be something with nordvpn and their nordlynx settings (https://hub.docker.com/r/bubuntux/nordlynx) and it requires a private key. I have no clue how to get this private key up and running, so I am at a loss currently.
I might have to look into the prerouting IPtable rules - Thanks a lot @spyr0-sec !!