Giter Club home page Giter Club logo

compose-wireguard-deluge's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

compose-wireguard-deluge's Issues

Deluge may expose your real IP

Thanks for making the docker compose. I really like the approach versus having a single, complex docker container and think this is the right way to do things. But it seems like traffic isn't forced through the VPN. Deluge reports my real external IP, even after setting the network device to wg0.

IP is leaked briefly when starting a download

I noticed that after following your configuration, my public IP is leaked briefly before properly connecting to the wireguard conf. This can be tracked using this website: https://www.whatismyip.net/tools/torrent-ip-checker/ and seems to be reproducible anytime I begin a download. Any suggestions?

ipleak

My compose when getting this issue is:

version: "3.7"
services:

  torrent-client:
    image: linuxserver/deluge
    restart: unless-stopped
    network_mode: service:vpn-sidecar
    depends_on:
      - vpn-sidecar
    volumes:
      - deluge-data-volume:/config
      - downloads-volume:/downloads

  web-proxy:
    image: dperson/nginx
    restart: unless-stopped
    networks:
      - default
      - isolated_torrent_network
    environment:
      - PROXY=http://torrent-client:8112;/
    ports:
      - 8112:80
    links:
      - vpn-sidecar:torrent-client
    depends_on:
      - torrent-client
    read_only: true
    tmpfs:
      - /run
      - /tmp
      - /var/cache/nginx

  vpn-sidecar:
    image: linuxserver/wireguard
    restart: unless-stopped
    networks:
      - isolated_torrent_network
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    volumes:
      - /lib/modules:/lib/modules
      - wgclient-data-volume:/config
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv6.conf.all.disable_ipv6=0 # for raspberry pi compatibility?

volumes:
  deluge-data-volume: # deluge application files - change to a persistent location
    driver: local
    driver_opts:
        o: bind
        type: none
        device: "$PWD/config/"
  downloads-volume:
    driver: local
    driver_opts:
        o: bind
        type: none
        device: "$PWD/downloads/"
  wgclient-data-volume: 
    driver: local
    driver_opts:
        o: bind
        type: none
        device: "$PWD/wireguard/" 

networks:
  default:
  isolated_torrent_network:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.