Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with Gluetun? #166

Open
vdrover opened this issue Jan 30, 2024 · 3 comments
Open

Compatible with Gluetun? #166

vdrover opened this issue Jan 30, 2024 · 3 comments

Comments

@vdrover
Copy link

vdrover commented Jan 30, 2024

Gluetun is a popular VPN Kill Switch. When using with docker, it's pretty easy to use network_mode: "service:gluetun" in the config file to force services through gluetun (and the VPN that gluetun is connected to).

Is iptv-proxy compatible with this? The idea is to use iptv and gluetun to force M3U files to connect over VPN.

If it is compatible, I plan to disable the iptv buffer (assuming this feature is the same as it is in xTeVE). If the buffer is disabled, but network_mode: "service:gluetun" is being used, I think that will still push the iptv streams through the gluetun vpn. Can anyone confirm that?

@jimmisavage
Copy link

Yes, I use this through Gluetun.

@diplingkrebs
Copy link

Yes, I use this through Gluetun.

Would you mind sharing your docker compse file?

@jimmisavage
Copy link

Yes, I use this through Gluetun.

Would you mind sharing your docker compse file?

I'm not saying this is the right way because I'm fairly new but this is how i've done it. I've done this as a stack in portainer with stoogle-proxy being this (the iptv-proxy)

version: "3"
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
hostname: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8082:8082/tcp # stoogle-proxy
volumes:
- /volume1/docker/gluetun:/gluetun
environment:
- VPNSP=private internet access
- OPENVPN_USER=private
- OPENVPN_PASSWORD=private
- SERVER_REGIONS=UK Streaming Optimized
- TZ=Europe/London
restart: always

stoogle-proxy:
build:
context: https://github.com/jtdevops/iptv-proxy.git#logging
volumes:
- /volume1/docker/compose/iptv:/root/iptv
container_name: "stoogle-proxy"
restart: always
network_mode: service:gluetun
environment:
PORT: 8082
HOSTNAME: localhost
GIN_MODE: release #debug
XTREAM_USER: private
XTREAM_PASSWORD: private
XTREAM_BASE_URL: "http://supplier.url.com" #this is your suppliers url
USER: private
PASSWORD: private
DEBUG_LOGGING: true
CACHE_FOLDER: /volume1/docker/compose/iptv/cache
USE_XTREAM_ADVANCED_PARSING: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants