2018-08-31 05:41:06 -05:00
|
|
|
# Linux-router
|
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
Share your Linux's Internet access to other devices.
|
2018-08-31 05:41:06 -05:00
|
|
|
This is a fork of [create_ap](https://github.com/oblique/create_ap).
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- Create Wifi hotspot and share Internet
|
|
|
|
- Transparent proxy (redsocks)
|
|
|
|
- DNS server and query log
|
|
|
|
- DHCP server
|
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
### NAT Internet sharing
|
2018-08-31 05:41:06 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
# lnxrouter --ap wlan0 MyAccessPoint --password MyPassPhrase
|
|
|
|
```
|
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
### Transparent proxy with tor
|
|
|
|
|
|
|
|
```
|
|
|
|
# lnxrouter --ap wlan0 MyAccessPoint --password MyPassPhrase --tp 9040 --dns-proxy 9053
|
|
|
|
```
|
|
|
|
|
|
|
|
In `torrc`
|
|
|
|
|
|
|
|
```
|
|
|
|
TransPort 0.0.0.0:9040
|
|
|
|
DNSPort 0.0.0.0:9053
|
|
|
|
```
|
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
|
|
|
|
|
2018-08-31 05:41:06 -05:00
|
|
|
## TODO
|
2018-08-31 05:41:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
- Share Internet not creating Wifi hotspot
|
|
|
|
- Ban private network access
|
|
|
|
- IPv6 support
|