How to enable access from the outside? #210
-
I'm using your image and the VPN connects correctly however it doesn't seem to port the qbittorent client to the outside. I want to be able to access my instance from
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I solved it using a simple reverse NGINX proxy! Easier than the provided solution in the readme which broke qbittorrent when not running on port 80 |
Beta Was this translation helpful? Give feedback.
-
As I said in my original reply I solved it. To use a simple nginx reverse proxy create a file called
Then in your version: "3.9"
services:
proxy:
container_name: proxy
image: nginx
links:
- vpn:service
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- 8080:8080
depends_on:
- torrent
- vpn
... Just run Your version: "3.9"
services:
proxy:
container_name: proxy
image: nginx
links:
- vpn:service
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- 8080:8080
depends_on:
- torrent
- vpn
vpn:
image: ghcr.io/bubuntux/nordvpn
cap_add:
- NET_ADMIN
environment:
- USER=~
- "PASS=~"
- CONNECT=~
- TECHNOLOGY=NordLynx
- NETWORK=0.0.0.0/0
torrent:
container_name: qbittorrent
image: ghcr.io/linuxserver/qbittorrent
network_mode: service:vpn
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- qbittorrent-config:/config
- /jellyfin-files:/files
depends_on:
- vpn
restart: unless-stopped
volumes:
qbittorrent-config: |
Beta Was this translation helpful? Give feedback.
As I said in my original reply I solved it. To use a simple nginx reverse proxy create a file called
nginx.conf
and put the following content in it: