Linux Router

github.com/garywill/linux-router Linux Apps Open-source projectOpen source

linux-router turns a Linux computer into a router, supporting internet sharing, Wi-Fi hotspots, IPv6, and virtual machines or containers.

github.com/garywill/linux-router
Linux Router homepage screenshot

About Linux Router

Linux Router is a single-file bash script that sets a Linux computer as a router in one command. It can share Internet to an interface, create a Wi-Fi hotspot, provide IPv6 behind a NATed LAN, and route traffic for virtual machines or containers. It wraps tools including iptables and dnsmasq, and restores settings in one command, with Control-C, or by closing the terminal window.

It requires meeting dependencies such as bash, dnsmasq and iptables, plus hostapd and related tools for hotspots. Creating an access point on the same interface used for Internet needs hardware support, and the project states it comes with no warranty.

Key features

  • Create NATed sub-network with DHCP server and DNS server
  • Create Wi-Fi hotspot with WPA options and channel selection
  • Provide IPv6 access behind NATed LAN like IPv4
  • Route traffic through transparent proxy via redsocks
  • Run multiple instances to create different sub-networks
  • Specify upstream DNS and DNS assigned to clients
Best for: Linux users who need to share Internet to other devices, hotspots, or VMs and containers from one computer.
Good for
  • One-file script that can run without installation after meeting dependencies
  • Restores setup in one command, with Control-C, or by closing terminal
  • Detects and handles interference from NetworkManager and firewalld
Watch out for
  • Requires dependencies including dnsmasq, iptables, and hostapd for hotspots
  • Creating an access point on the same Internet interface needs hardware support
  • Does not ensure anonymity when sharing Tor network to LAN clients

Linux Router at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Linux
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Linux Router alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Shortwave

flathub.org/en/apps/de.haeckerfelix.Shortwave

Shortwave plays internet radio and lets users create their own station library, according to its Flathub listing.

The Levelator

archive.org/details/conversationsnetwork_org-l…

The Levelator adjusts audio levels in podcasts and other audio files, with software binaries listed for Windows, OS X, and Linux.

Popular in Linux Apps

Well-known listings from the same topic.

All 222

Linux Router FAQ

How do I share Internet to another interface?
Run sudo lnxrouter -i eth1, regardless of which other interface provides Internet.
How do I create a Wi-Fi hotspot?
Run sudo lnxrouter --ap wlan0 MyAccessPoint -p MyPassPhrase; it creates virtual interface x0wlan0 for the hotspot.
Does routing through Tor with this tool provide anonymity?
No. The source states that sharing Tor's network to LAN clients will not ensure anonymity.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing