hashbang / pam_network_namespace

Linux PAM module to give users their own network namespace
MIT License
5 stars 4 forks source link
linux-pam

pam_network_namespace

A Linux PAM (Pluggable Authentication Module) that makes sessions run in their own network namespace.

A veth (Virtual Ethernet) bridge is created between the parent namespace and the new one. This means each user has their own ethernet adapter.

Cleanup of veth devices is automatic once there are no processes left using the network namespace

Building

Run make

Dependencies