https://bugs.kde.org/show_bug.cgi?id=459397

            Bug ID: 459397
           Summary: Wireguard connection does not close correctly, no
                    internet
    Classification: Unclassified
           Product: plasma-nm
           Version: 5.25.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: fw.smi...@gmail.com
                CC: jgrul...@redhat.com
  Target Milestone: ---

SUMMARY
Wireguard connections that are started via a wg-quick systemd service
automatically get detected by networkmanager as a wireguard interface. I get
notifications for when it's started and stopped via the systemctl commands.
There are actually two things that don't work correctly. These are probably
related, so i put them in one issue:
- Upon stopping the service via the command, the VPN disappears out of the list
- When stopping the connection via the "disconnect" button in the GUI, it does
not close the VPN properly, resulting in no internet

STEPS TO REPRODUCE FIRST ISSUE

1. Start a wg-quick wireguard VPN (example: systemctl start wg-quick@wg0). A
notification appears that the VPN has started and it appears in the VPN list.
2. Stop the vpn with a similar command (example: systemctl stop wg-quick@wg0)

OBSERVED RESULT

The VPN is not in the list anymore.


EXPECTED RESULT

The VPN stays in the list.

STEPS TO REPRODUCE SECOND ISSUE

1. Start a wg-quick wireguard VPN (example: systemctl start wg-quick@wg0). A
notification appears that the VPN has started and it appears in the VPN list.
2. Stop the vpn with the "disconnect" button in the plasma applet.

OBSERVED RESULT

Internet doesn't work anymore.

> ip addr show wg0

wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group
default qlen 1000
    link/none 

EXPECTED RESULT

The wg0 device is actually removed. I think this is easiest to achieve by just
using the systemctl command.

> ip addr show wg0

Device "wg0" does not exist.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.25.5.
(available in About System)

Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.9-200.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ZBook Studio G5

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to