Skip to content

fix Allowed IPs validation & normalize Allowed IPs for routing configuration - #1123

Open
wojcik91 wants to merge 10 commits into
release/2.1from
allowed_ips_validation
Open

fix Allowed IPs validation & normalize Allowed IPs for routing configuration#1123
wojcik91 wants to merge 10 commits into
release/2.1from
allowed_ips_validation

Conversation

@wojcik91

Copy link
Copy Markdown
Contributor

Allow bare IP addresses in tunnel configuration, they are already handled by the backend by adding the correct mask (/32 or /128).
Also strip host bits from Allowed IPs before configuring routing to avoid unnecessary interface configuration errors.

A full fix requires an update in wireguard-rs: DefGuard/wireguard-rs#140

Closes #1084

@wojcik91 wojcik91 self-assigned this Aug 28, 2026
Comment thread src-tauri/client-proto/src/conversions.rs
Comment thread src-tauri/client-proto/src/conversions.rs Outdated
Comment thread src-tauri/client-proto/src/conversions.rs Outdated
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.

3 participants