Netapplet Wired Connect Not Shown Connected To Wireguard

Bug #2018701 reported by ROG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netapplet (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

I'm running 23.04 with Gnome 44.0

I added Wireguard to the Network Manager, and when I click to enable the Wireguard connection with the switch, afterwards, the VPN icon is displayed, but the Wired network icon is grayed out with a question mark over it.

If I click on Wired and look at it, it says on the right; Disconnect

I am actually online right now submitting this report connected to Wireguard with the Network Wired icon grayed out and with the question mark.

I also use OpenVPN with the network manager and the Network Wired icon always displays correctly, not sure why it appears this way with Wireguard.

I hope this will get fixed soon.

I'm attaching a screen shot showing the Network Wired icon grayed out with the question mark.

THANKS

Tags: wireguard
Revision history for this message
ROG (xgates) wrote :
Revision history for this message
ROG (xgates) wrote (last edit ):

Sorry I failed to menton I have created ufw rules for Wireguard, so that the connection only gets routed over wireguard.

I know when I disable ufw the icon appears normal. When I enable ufw it will show ok now for around 5 mins, then it grays out with the question mark.

This is how I setup and created the ufw wireguard rules.

I don't see that these are configured wrong, for a single home user setup, to cause the applet to gray out.

/etc/default/ufw
DEFAULT_FORWARD_POLICY="DROP"

/etc/ufw/sysctl.conf
net/ipv4/ip_forward=1
net/ipv6/conf/default/forwarding=1
net/ipv6/conf/all/forwarding=1

'Disable the firewall as it is being configured'

sudo ufw disable

UFW Rules to Add
-------------------

'Make UFW Deny by Default'

ufw default deny outgoing
ufw default deny incoming

'Allow Connection in from VPN Server'

ufw allow 51820/udp

'Allow Connection out from VPN Server' (For Multi Hop Servers Be Sure To Use The 'Endpoint' Address!)

ufw allow out 51820/udp

'Force Outbound traffic through VPN'

ufw allow out on wg0 from any to any

'Force Inbound traffic through VPN'

ufw allow in on wg0 from any to any

'Enable UFW'

sudo ufw enable

Revision history for this message
ROG (xgates) wrote :

Something else I noticed that happens occasionally when I connect to wireguard, the wired nm applet will disappear from the tray.

I'm attaching a screen showing the nm applet disappeared.

Revision history for this message
ROG (xgates) wrote :

I found the CULPRIT!

Read my last reply here;

https://bugs.launchpad.net/ubuntu/+source/netapplet/+bug/2019048

THANKS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.