garywill/linux-router
Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 91
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 320.5
- age_days: 2924
- days_rel: 56
- days_push: 56
- n_releases_24m: 3
Adoption not part of the score
2047 stars · 182 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-file bash script that turns a Linux machine into a router in one command, wrapping iptables, dnsmasq, and related tools. It supports NATed sub-networks, WiFi hotspots, DHCP/DNS serving, IPv6, transparent proxying via redsocks, and routing for VMs and containers.
Use cases
- share my internet connection from linux over wifi hotspot
- create a NATed wifi access point from the command line
- route network traffic for VMs and containers through my linux host
- set up a transparent proxy with redsocks on linux
- run a DHCP and DNS server for a small LAN
- share ethernet internet to another PC or switch
- enable IPv6 on a NATed local network
When to choose
- you want a one-command, easily reversible router/hotspot setup on Linux
- you need to share Internet to WiFi clients, wired clients, or VMs/containers
- you want transparent proxying or DNS hijacking without complex manual iptables/dnsmasq configuration
- you need multiple isolated routed sub-network instances on one machine
When to avoid
- you need a full enterprise router or firewall appliance with a web UI
- you are on a non-Linux platform
- your WiFi hardware/driver does not support AP mode
- you prefer packaged software from your distro's repositories
Facets
cli-tool · maturity active
networking proxy security cli configuration-management networking operating-systems self-hosted privacy cli wifi-hotspot nat internet-sharing dnsmasq iptables transparent-proxy redsocks ipv6 access-point vm-networking shell-script command-line linux
1 source
- readme: https://github.com/garywill/linux-router · fetched 2026-08-28 · 31935fd90621
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| garywill/linux-router | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="garywill/linux-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem