Bug 403547

Summary: plasma-nm Wireguard: redundant options offered in the Advanced configuration
Product: [Applications] systemsettings Reporter: Luca Beltrame <lbeltrame>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: bcom, jgrulich, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.