Skip to content

Instantly share code, notes, and snippets.

View activeshadow's full-sized avatar

Bryan Richardson activeshadow

  • Active Shadow LLC
  • Albuquerque, NM
  • 03:15 (UTC -06:00)
View GitHub Profile
@dpino
dpino / ns-inet.sh
Last active June 19, 2024 11:31
Setup a network namespace with Internet access
#!/usr/bin/env bash
# set -x
if [[ $EUID -ne 0 ]]; then
echo "You must be root to run this script"
exit 1
fi
# Returns all available interfaces, except "lo" and "veth*".