rename to lnxrouter
This commit is contained in:
parent
ad1b0e473f
commit
ee18930c84
|
@ -0,0 +1,22 @@
|
||||||
|
This is a fork of [create_ap]().
|
||||||
|
Share your Linux's Internet access to other devices.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
# lnxrouter --ap wlan0 MyAccessPoint --password MyPassPhrase
|
||||||
|
```
|
||||||
|
|
||||||
|
Features
|
||||||
|
|
||||||
|
- Create Wifi hotspot and share Internet via NAT method
|
||||||
|
- DNS server
|
||||||
|
- DHCP server
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
|
||||||
|
- Share Internet not creating Wifi hotspot
|
||||||
|
- Redsocks (Transparent proxy)
|
||||||
|
- Ban private network access
|
||||||
|
- IPv6 support
|
|
@ -1084,16 +1084,13 @@ while [[ -n "$1" ]]; do
|
||||||
--ap)
|
--ap)
|
||||||
shift
|
shift
|
||||||
WIFI_IFACE="$1"
|
WIFI_IFACE="$1"
|
||||||
echo wifi_iface is $WIFI_IFACE
|
|
||||||
shift
|
shift
|
||||||
SSID="$1"
|
SSID="$1"
|
||||||
echo ssid is $SSID
|
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--password)
|
--password)
|
||||||
shift
|
shift
|
||||||
PASSPHRASE="$1"
|
PASSPHRASE="$1"
|
||||||
echo password is $PASSPHRASE
|
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
Loading…
Reference in New Issue