mirror of
https://github.com/garywill/linux-router.git
synced 2026-11-01 13:20:39 +00:00
simply use nmcli to handle networkmanager
only support NM >= 0.9.9
This commit is contained in:
1 parent
650d78d456
commit
c69d7daa89
2 files changed
+60
-220
No files matched your search
@@ -118,17 +118,17 @@ Options:
|
||||
-h, --help Show this help
|
||||
--version Print version number
|
||||
|
||||
-i <interface> Interface to share Internet to. An NATed subnet will be made on it.
|
||||
To create Wifi hotspot use --ap instead
|
||||
-i <interface> Interface to share Internet to. An NATed subnet is made upon it.
|
||||
To create Wifi hotspot use '--ap' instead
|
||||
-n Disable Internet sharing
|
||||
--tp <port> Transparent proxy (redsocks), redirect tcp and udp traffic to port.
|
||||
Usually use with --dns-proxy
|
||||
|
||||
-g <gateway> Set Gateway IPv4 address, netmask is /24 (default: 192.168.18.1)
|
||||
--dns-proxy <port> Redirect incoming 53 port to DNS proxy port. dnsmasq DNS is disabled
|
||||
--no-serve-dns dnsmasq DNS disabled
|
||||
--no-dnsmasq Disable dnsmasq server completely (dhcp and dns)
|
||||
--log-dns Show dnsmasq DNS server query log
|
||||
--dns-proxy <port> Redirect incoming port 53 to DNS proxy port. DNS server is disabled
|
||||
--no-serve-dns Disable DNS server
|
||||
--no-dnsmasq Disable dnsmasq server completely (DHCP and DNS)
|
||||
--log-dns Show DNS server query log
|
||||
--dhcp-dns <IP1[,IP2]>|no
|
||||
Set DNS offered by DHCP, or no DNS offered (default: gateway as DNS)
|
||||
-d DNS server will take into account /etc/hosts
|
||||
@@ -162,19 +162,14 @@ Options:
|
||||
|
||||
Instance managing:
|
||||
--daemon Run lnxrouter in the background
|
||||
--list-running Show the lnxrouter processes that are already running
|
||||
--stop <id> Send stop command to an already running lnxrouter. For an <id>
|
||||
you can put the PID of lnxrouter or interface. You can
|
||||
get them with --list-running
|
||||
--list-running Show the lnxrouter processes that are already running
|
||||
--list-clients <id> List the clients connected to lnxrouter instance associated with <id>.
|
||||
For an <id> you can put the PID of lnxrouter or interface.
|
||||
If virtual WiFi interface was created, then use that one.
|
||||
You can get them with --list-running
|
||||
|
||||
Tools:
|
||||
--fix-unmanaged If NetworkManager shows your interface as unmanaged after you
|
||||
close lnxrouter, then use this option to switch your interface
|
||||
back to managed
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user