Comment 2 for bug 2018701

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