I want firefox on my laptop to only go through a VPN and the easiest solution I came up with is forcing firefox SOCKS5 Proxy Docker Container which goes through a Mullvad gluetun docker container. I connect to my home server via tailscale
Browser < -tailscale- > SOCKS5 Docker < — > gluetun Docker < — > Internet
Is that a good idea? It seems a little overengineered, but simpler than running two VPNs on one machine?
Thanks
I run my VPN and Firefox in a network namespace.
Docker introduces latency, but network namespaces do not.
I think I’m missing something…why bother with SOCKS5 if you’re using a gluten container? I’ve never done what you’re trying to do, but I’d assume gluten by itself is the solution
I want only the firefox browser to connect to my vpn. can firefox itself just connect to a vpn?
i’m unfamiliar with mullvad; is the container hosted on your laptop? is it split tunnel?
I’m hosting a container on a my home server that I access via tailscale. mullvad is just the vpn provider I’m using with gluetun, which is a vpn docker container
and setting up the vpn on the server itself is not an option? how about using a browser plugin?
Why not just point Firefox at the proxy address in its Connection Settings, instead of trying to force it with containers?
Are you trying to prevent Firefox from ignoring its proxy setting to do something sneaky?