-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | WireGuard: Enhanced way to add multiple clients #2540
Comments
@Fourdee But our install matches/is derived from official docs: https://openvpn.net/community-resources/how-to/#setting-up-your-own-certificate-authority-ca-and-generating-certificates-and-keys-for-an-openvpn-server-and-multiple-clients |
Implemented above results into: https://github.com/Fourdee/DietPi/pull/2526
|
Well done guys, nice online docs. Now I'm able to print QR code in smaller size to my screen 👍 . Relay nice, appreciate all your hard work. |
Love DietPi and how easy is to install and setup things.
|
@jvteleco 10.9.0.x should be correct. Guys changed it to avoid conflicts with NordVPN |
@jvteleco @Joulinar To achieve concurrent OpenVPN compatibility we switch to Ah yeah online docs have already been updated to new IP scheme, however I guess you guys figure it out, if your existing server/client IPs are
Jep some automation makes sense here. |
Ah yeah that's how I meant my comment. You will change it in 6.22. Sorry for being that inaccurate in my comment before. Your idea with the automation sound good. Will be happy to test it once ready. |
Where we could learn a bid from: https://github.com/burghardt/easy-wg-quick |
that looks straightforward. Also good idea to give a name to the config files, to have them identified later on :) |
@Joulinar So far our implementation works fine, but by times I will check out the additional |
Yes for me it's working very well as you have implemented it. And quite stable.
|
Ref: https://github.com/Fourdee/DietPi/issues/2491#issuecomment-462419860
This is mainly an online docs task, but also check back our configs and comments.
Testing current situation
[Peer]
section with single key and 10.9.0.0/24 IP range.apt update
on clients andwg
on server to track handshake times.apt update
starts. Whereapt update
handles this waiting time well, other software might not and fail, if initial connection hangs.PersistentKeepalive = 25
. At least 25 second ticks do not block the other client completely, might only add a tiny delay (for the tick itself) to other client connections, if performed bad timing.Test with two
[Peer]
entries, same key for simplicityTwo peers with different keys
PersistentKeepalive = 25
btw. prevents the need to renew the handshake on every connection. Without this, on everyapt update
a new handshake is one, while with the setting uncommented, I can do multiple tests without any handshake. Works well as intended, 25 seconds tick as well seem a reasonable default.The text was updated successfully, but these errors were encountered: