mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 11:50:17 +00:00
Updated FAQ (markdown)
parent
dee66cba95
commit
010143137a
1 changed files with 11 additions and 0 deletions
11
FAQ.md
11
FAQ.md
|
@ -53,4 +53,15 @@ Example:
|
||||||
192.168.1.4 CatPC
|
192.168.1.4 CatPC
|
||||||
192.168.1.5 DogPC
|
192.168.1.5 DogPC
|
||||||
```
|
```
|
||||||
|
## How to kick a connected client
|
||||||
|
|
||||||
|
from Issue #577
|
||||||
|
|
||||||
|
1. Stop the server with `sudo systemctl openvpn stop`
|
||||||
|
2. Edit the server config with `sudo nano /etc/openvpn/server.conf`
|
||||||
|
3. Add this line`management 127.0.0.1 PORT` (replace PORT with a port number, like 1234)
|
||||||
|
3. Save the file and exit
|
||||||
|
5. Start the server with `sudo systemctl openvpn start`
|
||||||
|
|
||||||
|
To connect to the management interface, use `nc 127.0.0.1 PORT`, then disconnect a client with `kill CLIENTNAME`, use CTRL-C to exit.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue