Skip to content
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

WG and AWG: Subnet IP setting change support #1323

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

kafeg
Copy link
Contributor

@kafeg kafeg commented Dec 28, 2024

Added new field VPN address subnet to the AWG and WG setting pages. This is a port of the same field from the OpenVPN config.

This is very useful in some cases, for e.g. when you have 2 VPN servers and need to be connected to both of them in the same time (on router for.e.g). So with different subnets you able to have correct routing.

I tested both: docker image successfully rebuilt and restarted on server with new subnets.

Screenshot 2024-12-28 at 23 00 59 Screenshot 2024-12-28 at 23 01 13

@kafeg kafeg force-pushed the feature/wg_awg_subnet branch from f28f164 to 719dd7a Compare December 31, 2024 12:30
Cleanup after self-review

Fix IP generation with new subnet

Self-review changes

Self-review changes

Fix WG connection setting page
@kafeg kafeg force-pushed the feature/wg_awg_subnet branch from 1440e1a to ba5efe7 Compare December 31, 2024 13:08
@Nethius Nethius merged commit 7350d79 into amnezia-vpn:dev Jan 2, 2025
1 check passed
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.

2 participants