Skip to content

Instantly share code, notes, and snippets.

@dsprenkels
dsprenkels / nat.sh
Created November 3, 2017 09:53 — forked from mrngm/nat.sh
#!/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"
}