Comments (1)
I just tested this by creating a single config and connecting to it from another client. I then did the below steps and after the config I made first was still valid and working. It didn't regenerate the existing configurations as one would likely hope.
Bring down the containers with docker-compose stop
and let it all gracefully stop.
Edit docker-compose.yml
under wireguard
's environment variables.
Modify the value of "PEERS=
" to the new value of peers you want.
- PEERS=2 # How many peers to generate for you (clients)
Save and close this file.
Then just another docker-compose up
and it will generate the new configs:
wireguard | **** SERVERURL var is either not set or is set to "auto", setting external IP to auto detected value of XX.XX.XX.XX ****
wireguard | **** External server port is set to 51820. Make sure that port is properly forwarded to port 51820 inside this container ****
wireguard | **** Internal subnet is set to 10.6.0.0 ****
wireguard | **** Peer DNS servers will be set to 10.2.0.100 ****
wireguard | **** Server mode is selected ****
wireguard | **** Server related environment variables changed, regenerating 1 server and 2 peer/client confs ****
from wirehole.
Related Issues (20)
- 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 HOT 2
- Add git version tags for reproducable git clones
- Cannot create a working peer and a peer with large subnet.
- REPLACE_ME_WITH_YOUR_PUBLIC_IP not in compose file
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.