Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering

How to Use Linux Namespaces for Network Isolation


Listen Later

Episode 39 of Linux Server Admin dives into Linux network namespaces for isolating server processes without full container runtimes. Lucas and Luna break down a real scenario: running a legacy monitoring agent that can't be containerized but must be network-separated from production traffic. They walk through creating a namespace, assigning a virtual Ethernet pair, and routing traffic through a dedicated bridge. Specific commands include 'ip netns add', 'ip link add veth', and iptables rules for NAT. The episode also covers debugging with 'nsenter' and 'ip netns exec', plus pitfalls like systemd integration and DNS resolution inside namespaces. By the end, listeners can isolate any process's network stack with five commands. The conversation includes a brief donation segment highlighting Fexingo's ad-free model at buy me a coffee dot com slash fexingo.

#Linux #Sysadmin #ServerEngineering #NetworkNamespaces #NetworkIsolation #Bash #TechPodcast #DevOps #Containerization #iptables #VethPair #ipCommand #nsenter #Systemd #ServerSecurity #Technology #FexingoBusiness #BusinessPodcast

Keep every episode free: buymeacoffee.com/fexingo

...more
View all episodesView all episodes
Download on the App Store

Linux Server Admin with Fexingo: Sysadmin, Bash, and Server EngineeringBy Fexingo