This repository has no description
962 B
15 lines
1bin "nat-share"
2about "Start a DHCP + dnsmasq NAT server on an interface, sharing the upstream connection"
3
4flag "-u --upstream" help="Upstream/WAN interface to NAT through (default: default route)"
5flag "-s --subnet" help="/24 subnet prefix for the served link (default: 10.42.0)"
6flag "--range" help="DHCP host range within the /24 (default: 10-254)"
7flag "--lease" help="DHCP lease time (default: 12h)"
8flag "--dns" help="Upstream DNS server to forward to (default: system resolv.conf)"
9flag "-h --help" help="Show help message"
10flag "-b --backend" help="Firewall backend: auto | iptables | nft (default: auto-detect)"
11flag "--pxe <dir>" help="Also boot PXE clients from <dir> (runs pxe-share --no-dhcp to serve it)"
12flag "--http" help="Serve the --pxe dir over HTTP too; requires --pxe (netboot kernel/initrd are too big for TFTP)"
13flag "--http-port <port>" help="Port for --http (default: 8079)"
14
15arg "<interface>" help="Interface to serve DHCP/DNS/NAT on"