sandalbucket

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

sandalbucket ,

Use network namespaces :)

A brand new network namespace doesn’t have any network interfaces. When you start a process in a namespace, all its child processes will start there too. It’s like a little network jail, and the functionality is baked into the kernel / is kernel enforced.

I use this to keep certain processes on a vpn, with no need for interface-binding support from the process, or a vpn-killswitch.

Another fun fact, this is the functionality that enables containerization, like docker/podman

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines