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

Way to pass a vpn container as a network service. Ie gluetun #129

Open
sveken opened this issue Jul 2, 2024 · 1 comment
Open

Way to pass a vpn container as a network service. Ie gluetun #129

sveken opened this issue Jul 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sveken
Copy link

sveken commented Jul 2, 2024

Hello.
Wondering if it would be possible to add support for the dockers network modes ie "service:containername" or --network=container:containername to be passed to each rooms container. More info here on gluetun https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md

Doing it this way would force the entire containers networking to go via the vpn container and not allow local access to the network at a container level.
I can still publish the ports required via gluetuns port mapping feature here https://github.com/qdm12/gluetun-wiki/blob/main/setup/port-mapping.md so normal functionally would not be impacted. To note however no ports need to be published on the room container as its prepublished on the gluetun container.

I have tried passing NEKO_ROOMS_INSTANCE_NETWORK=container:gluetun however rooms reports that it cannot find the network.

Is there a way i can pass gluetun to these spawned room containers with the mentioned docker feature?

Thanks.

@m1k1o
Copy link
Owner

m1k1o commented Jul 2, 2024

Hi, currently it's not possible to set via neko-rooms because neko rooms was initially only working with traefik and even until today relies on docker nektowrking. The alternative solution is to use proxy, see https://github.com/m1k1o/neko-vpn/

There would need to be implemented other way of proxying using e.g. unix sockets or as well port allocation for frontend ports (same as webrtc ports) if they all would share the same network.

@m1k1o m1k1o added the enhancement New feature or request label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants