Skip to content

Read allow keys from a file, reload on SIGHUP - #5

Open
ferm10n wants to merge 5 commits into
weiiwang01:mainfrom
ferm10n:main
Open

ferm10n wants to merge 5 commits into
weiiwang01:mainfrom
ferm10n:main

Conversation

@ferm10n

@ferm10n ferm10n commented Sep 7, 2026

Copy link
Copy Markdown

Today, if you want to add a peer to a running wpex instance you have to stop it, add the cli arg, then start it back up.

I wanted the ability to point wpex at a wireguard conf file, read the allow keys from that, and reload those keys when given a SIGHUP. Now I can add allowed peers without interrupting other connections.

I'm creating this PR to share my efforts, and if possible get feedback from the maintainer (I'm relatively new to go!)

@ferm10n
ferm10n marked this pull request as ready for review September 7, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant