Bug 403547 - plasma-nm Wireguard: redundant options offered in the Advanced configuration
Summary: plasma-nm Wireguard: redundant options offered in the Advanced configuration
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-24 08:30 UTC by Luca Beltrame
Modified: 2019-07-10 12:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Beltrame 2019-01-24 08:30:49 UTC
SUMMARY
The Wireguard support in plasma-nm seems to rely heavily on the behavior of the wg-quick tool, and exposes many details that are redundant, given NM's own support for most of these.

For example Pre-up, Post-up, Pre-down, Post-down commands are specific to wg-quick and don't integrate with NM (NM has dispatcher scripts for this). MTU overrides what can be set in NM. 

Most of these fields should be removed, leaving at best "Persistent Keepalive", "Preshared key", and "Listen Port".
Comment 1 Bruce Anderson 2019-03-01 01:54:15 UTC
The one additional parameter which is not related to the wg-quick tool directly but to the underlying wg device driver itself is FwMark which appears to be unique to the WireGuard interface and doesn't seem to have any corresponding entry method on any of the other screens.
Comment 2 Jan Grulich 2019-07-10 12:06:36 UTC
Shouldn't be a problem with Plasma 5.16.