Enhance WireGuard Configuration in DietPi-Software: Adding Additional Options #6734
Unanswered
DonPablo1010
asked this question in
Software Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I recently switched from using the wg-easy Docker image to installing WireGuard through DietPi-Software. I noticed that when setting up WireGuard as a server, I only had the option to enter the server's endpoint IP and port. The installation script then created the wg0 interface. However, when I made changes to the basic configuration of wg0 and restarted the service multiple times, I encountered issues. I figured out that the problem was related to the PostDown commands not working correctly after I changed the IP range for WireGuard.
To simplify the process, it would be great to include these options during the setup. This could involve allowing users to choose the WireGuard IP range, opt for a preshared key option, and enter a DNS option.
Also, there should be an option to choose whether to use ufw (Uncomplicated Firewall). If selected, the installation script should add the following lines to wg0.conf:
Beta Was this translation helpful? Give feedback.
All reactions