Added logic to find next available IP address #1

Merged
mikeconrad merged 1 commits from mike/add-ip-lookups into master 2025-04-14 15:52:25 -04:00
Owner

Adds logic to lookup IP addresses on an interface, you can specify which interface by setting the WIREGUARD_INTERFACE environment variable. It will find the IP address and mask of that interface and then look for wireguard client configs in a ./configs folder. It will parse the ip addresses from those and find the next available one.

Adds logic to lookup IP addresses on an interface, you can specify which interface by setting the WIREGUARD_INTERFACE environment variable. It will find the IP address and mask of that interface and then look for wireguard client configs in a ./configs folder. It will parse the ip addresses from those and find the next available one.
mikeconrad added 1 commit 2025-04-14 15:52:19 -04:00
mikeconrad merged commit 58dc8b2867 into master 2025-04-14 15:52:25 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mikeconrad/wg-config-manager#1
No description provided.