Skip to content

Show how to import a WireGuard file into NetworkManager for the VPN mode - #186

Merged
onyks-os merged 2 commits into
mainfrom
docs/vpn-import
Nov 27, 2026
Merged

onyks-os merged 2 commits into
mainfrom
docs/vpn-import

Conversation

@onyks-os

Copy link
Copy Markdown
Owner

The VPN guide assumed the NetworkManager profile already existed. Most providers hand out a wg-quick file, and that file often names the endpoint by hostname, which TTP refuses.

This PR adds a section before "Start the session". It covers:

  • What to check first. These are the three things TTP enforces:
    • exactly one [Peer];
    • a numeric Endpoint, with how to replace a hostname using getent ahosts;
    • a full-tunnel AllowedIPs.
  • Importing the file with nmcli connection import type wireguard.
  • Setting an explicit wireguard.fwmark. TTP refuses a mark of zero: wg show … fwmark prints off in that case, and VPNPolicy rejects a mark ≤ 0. The qualified profile sets 51820.
  • Handling the private key contained in the file.

No provider is named.

🤖 Generated with Claude Code

onyks-os and others added 2 commits November 27, 2026 13:50
The VPN guide assumed the profile already existed. Most providers hand
out a wg-quick file, often with a hostname endpoint, which TTP refuses.
The new section checks the three lines TTP enforces (one peer, numeric
endpoint, full-tunnel AllowedIPs), imports the file with nmcli, sets the
explicit fwmark the qualified profile uses, and says what to do with the
private key the file contains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>
@onyks-os
onyks-os merged commit 875b70e into main Nov 27, 2026
24 checks passed
@onyks-os
onyks-os deleted the docs/vpn-import branch November 27, 2026 13:21
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