This commit is contained in:
coder0987 2023-11-21 20:47:48 -06:00 committed by GitHub
commit e17749e585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,3 +86,29 @@ sudo setcap cap_net_bind_service=+ep boringproxy
[1]: https://forum.indiebits.io/c/boringproxy-support/9 [1]: https://forum.indiebits.io/c/boringproxy-support/9
[2]: https://github.com/boringproxy/boringproxy/issues [2]: https://github.com/boringproxy/boringproxy/issues
# Updating
To update boringproxy, follow the build instructions again and replace the ``boringproxy`` executable file
Don't forget to give the executable permission to bind to low ports
```bash
sudo setcap cap_net_bind_service=+ep boringproxy
```
To kill the old process and restart the proxy:
## Server
```bash
kill $(pgrep boringproxy)
./boringproxy server
```
## Client
```bash
kill $(pgrep boringproxy)
./boringproxy client -server bpdemo.brng.pro -token fKFIjefKDFLEFijKDFJKELJF -client-name demo-client -user demo-user
```