I use both Mullvad and TorGuard concurrently, and they are 100% reliable.
I suggest you issue the following command when it is working,...
Bash:
wgm diag > /tmp/Good_connection.txt
then this command when the connection fails.
Code:
wgm diag > /tmp/Lost_connection.txt
Hopefully you/we will then be able to perform a text file compare to hopefully identify what is causing the connection failure.
I still have a disconnection problem at least once every 24 hours.
Here is the wg diag of the good connection:
^[[93m
WireGuard® VPN Peers^[[0m
^[[97m
Peers (Auto start: Auto=P - Policy, Auto=S - Site-to-Site)^[[96m
Server Auto Subnet Port Annotate
wg21 Y 10.50.1.1/24 51820 # TUF-AX5400 Server #1
Client Auto IP Endpoint DNS MTU Annotate
wg11 Y 10.2.0.2/32 193.148.18.34:51820 10.2.0.1 Auto # N/A
^[[97m
Peers (Auto=X - External i.e. Cell/Mobile/Site)^[[96m
^[[0m^[[93m
DEBUG: Routing info MTU etc.
^[[96m
27: wg11: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
inet 10.2.0.2/32 scope global wg11
^[[93m
DEBUG: Routing Table main
^[[96m
0.0.0.0/1 dev wg11 scope link
128.0.0.0/1 dev wg11 scope link
^[[93m
DEBUG: Routing Cache
^[[96m
^[[93m
DEBUG: RPDB rules
^[[96m
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
^[[93m
DEBUG: Routing Table 121 (wg11) ^[[95m# N/A
^[[96m
0.0.0.0/1 dev wg11 scope link
128.0.0.0/1 dev wg11 scope link
192.168.50.0/24 dev br0 proto kernel scope link src 192.168.50.1
239.0.0.0/8 dev br0 scope link
^[[93m
DEBUG: Netstat
^[[0m
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 wg11
128.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 wg11
^[[93m
DEBUG: UDP sockets.
^[[96m
udp 0 0 0.0.0.0:40301 0.0.0.0:* -
udp 0 0 :::40301 :::* -
^[[93m
DEBUG: Firewall rules
^[[96m
^[[93m
DEBUG: -t filter
^[[96m
Chain FORWARD (policy DROP 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
2 0 0 WGM_ACL_F all -- wg+ * 0.0.0.0/0 0.0.0.0/0 /* Wireguard ACL */
And the one when the connection is lost:
^[[93m
WireGuard® VPN Peers^[[0m
^[[97m
Peers (Auto start: Auto=P - Policy, Auto=S - Site-to-Site)^[[96m
Server Auto Subnet Port Annotate
wg21 Y 10.50.1.1/24 51820 # TUF-AX5400 Server #1
Client Auto IP Endpoint DNS MTU Annotate
wg11 Y 10.2.0.2/32 193.148.18.34:51820 10.2.0.1 Auto # N/A
^[[97m
Peers (Auto=X - External i.e. Cell/Mobile/Site)^[[96m
^[[0m^[[93m
DEBUG: Routing info MTU etc.
^[[96m
28: wg11: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
inet 10.2.0.2/32 scope global wg11
^[[93m
DEBUG: Routing Table main
^[[96m
0.0.0.0/1 dev wg11 scope link
128.0.0.0/1 dev wg11 scope link
^[[93m
DEBUG: Routing Cache
^[[96m
^[[93m
DEBUG: RPDB rules
^[[96m
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
^[[93m
DEBUG: Routing Table 121 (wg11) ^[[95m# N/A
^[[96m
0.0.0.0/1 dev wg11 scope link
128.0.0.0/1 dev wg11 scope link
192.168.50.0/24 dev br0 proto kernel scope link src 192.168.50.1
239.0.0.0/8 dev br0 scope link
^[[93m
DEBUG: Netstat
^[[0m
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 wg11
128.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 wg11
^[[93m
DEBUG: UDP sockets.
^[[96m
udp 0 0 0.0.0.0:46769 0.0.0.0:* -
udp 0 0 :::46769 :::* -
^[[93m
DEBUG: Firewall rules
^[[96m
^[[93m
DEBUG: -t filter
^[[96m
Chain FORWARD (policy DROP 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
2 0 0 WGM_ACL_F all -- wg+ * 0.0.0.0/0 0.0.0.0/0 /* Wireguard ACL */
I still can't find any reason for the random network disconnection.