Set additional ports in gluetun
Posted by Jonas3108
Hello, I want to add Port 3333 to my Gluetun setup, because this port needs to be routed through a VPN. I already connected it to the Gluetun network and it has VPN Internet, the problem is I cant access the dashboard, because gluetun blocks it. How do I permanently open this port? Thank you for your help.
1 replies
Chris wrote:
Good news, no hacking needed for this — SparkBox has a built-in way to add ports without touching the base setup. SSH into your box and create /opt/sparkbox/state/overrides/media.yml with a services: gluetun: ports: block adding "3333:3333", then run: sudo sparkbox up That applies it and survives future updates too, so you won't have to redo it later. After that, port 3333 should be reachable through gluetun.