rename to lnxrouter

This commit is contained in:
garywill 2018-08-31 18:41:06 +08:00 committed by garywill
parent ad1b0e473f
commit ee18930c84
2 changed files with 22 additions and 3 deletions

22
Readme.md Normal file
View File

@ -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

View File

@ -1084,16 +1084,13 @@ while [[ -n "$1" ]]; do
--ap)
shift
WIFI_IFACE="$1"
echo wifi_iface is $WIFI_IFACE
shift
SSID="$1"
echo ssid is $SSID
shift
;;
--password)
shift
PASSPHRASE="$1"
echo password is $PASSPHRASE
shift
;;
--)