Comments (2)
Hi, you can delete each or all clients with follow command.
docker exec -it wireguard bash
show all available peers / clients
$ wg
root@39c04c7b2f4b:/# wg
interface: wg0
public key: W0BtclC7viHFLVmPqZcofFEso2sOtLqAtr3wkE1M61A=
private key: (hidden)
listening port: 51820
peer: 7xFhgk/1pTACC2fla2+I/bjZNEAy0xUL9JY2gKulOhM=
allowed ips: 10.7.0.2/32
peer: /r7lalOhIUZuL5BE3wmIizCP1Pi00PzbOLF8/FASNgo=
allowed ips: 10.7.0.3/32
peer: ypKYwRocGiVlEkCj1eoFlUHtcntdl3wN5Gco2ndUhXA=
allowed ips: 10.7.0.4/32
delete the Client 3 - with the peer ID
$ wg set wg0 peer ypKYwRocGiVlEkCj1eoFlUHtcntdl3wN5Gco2ndUhXA= remove
☠️ delete all peers / clients ☠️
$ wg show wg0 | grep 'peer:' | awk '{print $2}'); do wg set wg0 peer $i remove
from wirehole.
Closing due to inactivity.
from wirehole.
Related Issues (20)
- chown: cannot access / so-rcvbuf 1048576 HOT 5
- unable to install script on fresh install HOT 3
- fresh install and old installs with fresh updates becomes not working HOT 5
- script: command not found HOT 2
- Unbound Broken HOT 6
- Update Gravity appears "DNS resolution is currently unavailable", please advise
- how to configure Pi-hole to recognize each peer as a separate client? HOT 1
- License to be OSI-compatible HOT 1
- Breaking change in Wireguard image HOT 3
- Recent changes don't work HOT 6
- No Wireguard folders and files HOT 2
- Failed to Register Layer
- Vpn2
- What is the Apply Config
- Add features; Warp as client and wirehole as server
- Can't connect with anything after spinning up new version of Wirehole HOT 2
- [Question] is it ready to use "out of the box" ? HOT 1
- Wireguard UI unreachable when used with network_mode: service:wireguard
- Add git version tags for reproducable git clones
- Cannot create a working peer and a peer with large subnet.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wirehole.