[WISH] VPN Client with multiple VPN providers - GLUETUN #950
-
hello i could not find where to post feature requests. i hope i'm in the right place. I would like to have a VPN client for swizzin.
I read that you can set it up to run the external connections over VPN and you can still reach the internal traffic over the LAN. |
Beta Was this translation helpful? Give feedback.
Answered by
brettpetch
Jan 27, 2023
Replies: 1 comment
-
Hi, We don't run containers as part of our project scope. Users have always been able to do this themselves. Here's an example of the vpn container with qBit & a socks5 proxy. version: "3"
services:
qbittorrent:
container_name: qbittorrent
image: cr.hotio.dev/hotio/qbittorrent:legacy
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Etc/UTC
volumes:
- /opt/qbittorrent/config/:/config
- /home/user/storage/:/home/user/storage
network_mode: "service:gluetun"
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
# line above must be uncommented to allow external containers to connect. See https://github.com/qdm12/gluetun/wiki/Connect-a-container-to-gluetun#external-container-to-gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 127.0.0.1:8888:8888/tcp # HTTP proxy
- 127.0.0.1:8388:8388/tcp # Shadowsocks
- 127.0.0.1:8388:8388/udp # Shadowsocks
- 127.0.0.1:1080:1080 #socks5 proxy
- 127.0.0.1:8080:8080 # qBittorrent WebUI
volumes:
- /opt/gluetun/config:/gluetun
environment:
# See https://github.com/qdm12/gluetun/wiki
- VPN_SERVICE_PROVIDER=
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=
- WIREGUARD_ADDRESSES=
- SERVER_CITIES=
- FIREWALL_VPN_INPUT_PORTS=
- TZ=Etc/UTC
- HTTPPROXY=on
- DOT=on
- DOT_PROVIDERS=cloudflare
- DOT_CACHING=off
- BLOCK_MALICIOUS=off
- BLOCK_SURVEILLANCE=off
- BLOCK_ADS=off
- DNS_ADDRESS=1.1.1.1
socks5:
image: serjs/go-socks5-proxy
depends_on:
- gluetun
environment:
- PROXY_USER=
- PROXY_PASSWORD=
- PROXY_PORT=1080
network_mode: "service:gluetun" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brettpetch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, We don't run containers as part of our project scope. Users have always been able to do this themselves. Here's an example of the vpn container with qBit & a socks5 proxy.