Skip to content

Instantly share code, notes, and snippets.

View Jelle-SamsonIT's full-sized avatar

Jelle @ Samson-IT Jelle-SamsonIT

  • Samson-IT
View GitHub Profile
@mrngm
mrngm / nat.sh
Last active June 23, 2023 09:52
#!/bin/bash
function print_help() {
echo "Easy 4-step NAT tool"
echo "Usage: $0 internal-dev external-dev ip-range"
echo ""
echo "internal-dev e.g. eth0"
echo "external-dev e.g. wlan0"
echo "ip-range e.g. 192.168.0.1/24"
}