Skip to content

Support 4.8 WireGuard and multiple clients - #65

Closed
Hertzole wants to merge 1 commit into
HarvsG:masterfrom
Hertzole:4.8-wireguard-fix
Closed

Support 4.8 WireGuard and multiple clients#65
Hertzole wants to merge 1 commit into
HarvsG:masterfrom
Hertzole:4.8-wireguard-fix

Conversation

@Hertzole

Copy link
Copy Markdown
Contributor

This PR fixes the WireGuard integration for versions 4.8 and above, and fixes #57. This is a breaking change and won't support any older versions.

It also includes support for multiple WireGuard clients, which was introduced in 4.8. I am honestly not entirely sure this works as I don't have multiple clients to test with, but I think it will if I can trust my code.
I also changed the wireguard_clients dictionary to use ints instead of strings for keys as that is what I get from the config call.

This PR relies on HarvsG/gli4py#21 being merged and gli4py being updated, so I'll create it as a draft for now.

@HarvsG

HarvsG commented Sep 24, 2025

Copy link
Copy Markdown
Owner

to prevent it breaking, we need to make it vary behaviour based on firmware version - which is available from the router status call.

@Hertzole

Copy link
Copy Markdown
Contributor Author

I will refactor this and HarvsG/gli4py#21 to support that.

@Hertzole

Hertzole commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

Closing this as #66 fixes it instead.

@Hertzole Hertzole closed this Oct 7, 2025
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.

WireGuard VPN toggle not working since FW upgrade 4.8.2

2 participants