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

  • phase@lemmy.8th.world
    link
    fedilink
    arrow-up
    2
    ·
    13 days ago
    1. Start a container with: bash, with --net none, with the X socket.
    2. Start the vpn
    3. Move the vpn interface to the net namespace of the container
    4. Install firefox in the container
    5. Browse