vawaver

qbitorrent + nordvpn - public

May 22nd, 2021 (edited)
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3"
  2. services:
  3. vpn:
  4. image: bubuntux/nordvpn
  5. network_mode: bridge # Required
  6. cap_add:
  7. - NET_ADMIN # Required
  8. - SYS_MODULE # Required for TECHNOLOGY=NordLynx
  9. sysctls:
  10. - net.ipv4.conf.all.rp_filter=2
  11. devices:
  12. - /dev/net/tun # Required
  13. environment: # Review https://github.com/bubuntux/nordvpn#environment-variables
  14. - USER=vas-nordvpn-login # Required
  15. - PASS=vase-nordvpn-heslo # Required
  16. - CONNECT=Slovakia
  17. - TECHNOLOGY=NordLynx
  18. - NETWORK=192.168.1.0/24
  19. ulimits: # Recommended for High bandwidth scenarios
  20. memlock:
  21. soft: -1
  22. hard: -1
  23. ports:
  24. - 8080:8080
  25. restart: unless-stopped
  26.  
  27. torrent:
  28. image: linuxserver/qbittorrent:latest
  29. network_mode: service:vpn
  30. depends_on:
  31. - vpn
  32. volumes:
  33. - /home/tony/torrents/config:/config
  34. - /home/tony/torrents/downloads:/downloads
  35. restart: unless-stopped
Add Comment
Please, Sign In to add comment