Slate Plus (GL-A1300) WG VPN connection freezes every 10 minutes

Is your phone or iPad under the same network as A1300?
Could you try to connect a1300 wifi and use wireguard app to check if it’s network blocked somewhere?

It seems one of the two endpoints is having trouble getting the updated keys. IIRC ~ 2mins is the approx. time WG initiates new keys for perfect forward secrecy (PFS).

Thanks for the reply.
It is the Unifi Dream Machine Pro
I’m not sure how this could be relevant as my iOS and Android devices use exactly the same configuration format . . . and they never lose the connection

Yes, they were connected to the same hotel networks (when I was away this week - actually, it was a couple of different hotels in a couple of different countries).
the problem persisted . . . always around the 2 minute mark.

It’s like the PersistentKeepalive = 25 is not being respected by the GL-A1300.
Does this not mean it should send a packet every 25 seconds, and by extension restart the handshake countdown?

Well, as i said earlier, my Android & iOS devices show the time to the last handshake restarting every 5-6 seconds. So to me the situation seems to point back at the GL-A1300.

Come to think of it, I have the GL.iNet 1200 as well (I can’t remember the exact model numnber), connecting to same Dream Machine Pro using the same configuration file format - it has never lost the connection either.

It’s got to be something with the GL-A1300. No?

That’s my understanding.

If I were in your shoes, I’d pull the (Opal (GL-SFT1200)?) & set it as a WG Client to the Slate Plus acting as a WG Server as a 192.168.x.x/24 server… after resetting both devices back to stock on their most recent firmware, accordingly.

wg show & logread -e wg via SSH would be handy here. See below:

handshake always happens, it has nothing to do with PersistentKeepalive which is used for heartbeat purpose(let the middlebox not drop the wireguard UDP connection).
Could you export and send me the full log to email handongming@gl-inet
By the way, you can tweak the MTU to smaller one(go to page VPN dashboard - WireGuard Client Options), and change PersistentKeepalive smaller, eg, 15(edit the configuration file)

handshake always happens, it has nothing to do with PersistentKeepalive which is used for heartbeat purpose(let the middlebox not drop the wireguard UDP connection).

I guess I don’t understand when a handshake is supposed to happen; does it happen data is sent or does it happen at some other time as well (and what triggers it)?
AND
Apologies, I am not sure what was being asked of me with respect to the statement: “(let the middlebox not drop the wireguard UDP connection)”. Could you please clarify?

Could you export and send me the full log to email handongming@gl-inet

I could. Are you asking for something other than the log I posted in the original post at the top?
If so, how and where do you want me to get that from?

By the way, you can tweak the MTU to smaller one(go to page VPN dashboard - WireGuard Client Options), and change PersistentKeepalive smaller, eg, 15(edit the configuration file)

Ok. I did both. MTU 1320 and PersistentKeepalive to 15.
No change. Same problem.

@bring.fringe18
As requested:

==============

root@GL-A1300:~# wg show & logread -e
interface: wgclient
public key: [REDACTED]=
private key: (hidden)
listening port: [REDACTED]
fwmark: 0x80000

peer: [REDACTED]=
preshared key: (hidden)
endpoint: [REDACTED]
allowed ips: 0.0.0.0/0
latest handshake: 1 minute, 46 seconds ago
transfer: 166.28 KiB received, 94.59 KiB sent
persistent keepalive: every 15 seconds
logread: option requires an argument: e
Usage: logread [options]
Options:
-s Path to ubus socket
-l Got only the last ‘count’ messages
-e Filter messages with a regexp
-r Stream message to a server
-F Log file
-S Log size
-p PID file
-h Add hostname to the message
-P Prefix custom text to streamed messages
-z handle only messages with given facility (0-23), repeatable
-Z ignore messages with given facility (0-23), repeatable
-f Follow log messages
-u Use UDP as the protocol
-t Add an extra timestamp
-0 Use \0 instead of \n as trailer when using TCP

[1]+ Done wg show

@bring.fringe18

I think I’m missing something with the root@GL-A1300:~# wg show & logread -e command.

I’m not sure what it is.

So it looks like it’s connected (per transfer) but it doesn’t appear to be routing. Do you have a DNS entry defined in both the WG settings on the Server & Client? Eg:

[Interface]
Address = 10.0.0.2/24
PrivateKey = [REDACTED]
DNS = 9.9.9.9
MTU = 1320

Check the ‘…’ for WG Client & Profiles, (Cog wheel, IIRC) for the WG Server.

The wg will show all WireGuard related entries by filtering for that entry. You can also do others like firewall, wan, etc.

So it looks like it’s connected (per transfer) but it doesn’t appear to be routing. Do you have a DNS entry defined in both the WG settings on the Server & Client? Eg:

[Interface]
Address = 10.0.0.2/24
PrivateKey = [REDACTED]
DNS = 9.9.9.9
MTU = 1320

I do, on both the server and the client (as I do on all my devices) the exact format is as follows:

[Interface]
Address = 192.168.97.7/32
PrivateKey = [REDACTED]=
DNS = 1.1.1.1,8.8.8.8
MTU = 1320

[Peer]
AllowedIPs = 0.0.0.0/0
Endpoint = [REDACTED]
PersistentKeepalive = 15
PublicKey = [REDACTED]=
PresharedKey = [REDACTED]=

Check the ‘…’ for WG Client & Profiles, (Cog wheel, IIRC) for the WG Server.

The wg will show all WireGuard related entries by filtering for that entry. You can also do others like firewall, wan, etc.

Here is what I get:

root@GL-A1300:~# logread -e wg
Sat Nov 18 13:05:17 2023 daemon.notice netifd: Interface ‘wgclient’ is setting up now
Sat Nov 18 13:05:18 2023 daemon.notice netifd: Network device ‘wgclient’ link is up
Sat Nov 18 13:05:18 2023 daemon.notice netifd: Interface ‘wgclient’ is now up
Sat Nov 18 13:05:19 2023 user.notice mwan3[13951]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 13:05:19 2023 user.notice mwan3[13951]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 13:05:22 2023 daemon.info dnsmasq[14674]: reading /tmp/resolv.conf.wg
Sat Nov 18 13:05:22 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_1559 group_4525 group_3844 group_7103 peer_8275 peer_8161 peer_4618 peer_7861 CONFIG_cfg030f15_ports=
root@GL-A1300:~#

And when the connection drops, these two entries appear:

Sat Nov 18 13:05:23 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 13:10:00 2023 daemon.notice netifd: Network device ‘wgclient’ link is down
root@GL-A1300:~#

I’m not sure why DNS settings would have anything to do with the connection dropping though.

I asked about DNS as I forgot if you were using ddns or static IPs for your public facing WG Server. It was a shot in the dark.

Here’s what my Client device, a Certa (GL-AR750) running firmware 4.3.7-release4 log looks like:

Sat Nov 18 15:07:02 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:07:04 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:07:04 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:07:04 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:07:09 2023 user.notice mwan3[20278]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:07:11 2023 user.notice mwan3[20278]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:07:16 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:14:15 2023 daemon.notice netifd: Network device 'wgclient' link is down
Sat Nov 18 15:14:15 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:14:16 2023 user.notice mwan3[31076]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:14:24 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:14:39 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:14:40 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:14:40 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:14:40 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:14:43 2023 user.notice mwan3[32079]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:14:45 2023 user.notice mwan3[32079]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:14:52 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:15:05 2023 daemon.notice netifd: Network device 'wgclient' link is down
Sat Nov 18 15:15:05 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:15:06 2023 user.notice mwan3[2058]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:15:13 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:15:25 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:15:26 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:15:26 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:15:26 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:15:29 2023 user.notice mwan3[3056]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:15:31 2023 user.notice mwan3[3056]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:15:36 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:18:16 2023 user.notice mwan3[5736]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_lan (safe_mode_lan) is disabled, ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_guest (safe_mode_guest) is disabled, ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_mark (safe_mode_mark) is disabled, ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_mark_save (safe_mode_mark_save) option 'extra' is not supported by fw4
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_mark_save (safe_mode_mark_save) is disabled, ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section safe_mode_mark_drop (safe_mode_mark_drop) is disabled, ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section nat6 option 'reload' is not supported by fw4
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section gls2s option 'reload' is not supported by fw4
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section gls2s specifies unreachable path '/var/etc/gls2s.include', ignoring section
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section glblock option 'reload' is not supported by fw4
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Section vpn_server_policy option 'reload' is not supported by fw4
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Automatically including '/usr/share/nftables.d/chain-pre/mangle_output/01-process_mark.nft'
Sat Nov 18 15:18:16 2023 daemon.notice netifd: wgclient (5737): [!] Automatically including '/usr/share/nftables.d/chain-post/mangle_output/out_conn_mark_restore.nft'
Sat Nov 18 15:18:17 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:18:17 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:18:22 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:18:22 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:18:22 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:18:29 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:18:33 2023 user.notice mwan3[6959]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:18:34 2023 user.notice mwan3[6959]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:18:39 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:19:04 2023 user.notice mwan3[7932]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:19:04 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_lan (safe_mode_lan) is disabled, ignoring section
Sat Nov 18 15:19:04 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_guest (safe_mode_guest) is disabled, ignoring section
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_mark (safe_mode_mark) is disabled, ignoring section
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_mark_save (safe_mode_mark_save) option 'extra' is not supported by fw4
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_mark_save (safe_mode_mark_save) is disabled, ignoring section
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section safe_mode_mark_drop (safe_mode_mark_drop) is disabled, ignoring section
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section nat6 option 'reload' is not supported by fw4
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section gls2s option 'reload' is not supported by fw4
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section gls2s specifies unreachable path '/var/etc/gls2s.include', ignoring section
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section glblock option 'reload' is not supported by fw4
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Section vpn_server_policy option 'reload' is not supported by fw4
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Automatically including '/usr/share/nftables.d/chain-pre/mangle_output/01-process_mark.nft'
Sat Nov 18 15:19:05 2023 daemon.notice netifd: wgclient (7933): [!] Automatically including '/usr/share/nftables.d/chain-post/mangle_output/out_conn_mark_restore.nft'
Sat Nov 18 15:19:06 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:19:06 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:19:10 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:19:10 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:19:10 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:19:18 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:19:22 2023 user.notice mwan3[9208]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:19:22 2023 user.notice mwan3[9208]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:19:28 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:20:11 2023 daemon.notice netifd: Network device 'wgclient' link is down
Sat Nov 18 15:20:11 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:20:12 2023 user.notice mwan3[10551]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:20:20 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:20:21 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:20:24 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:20:24 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:20:24 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:20:31 2023 user.notice mwan3[11502]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:20:31 2023 user.notice mwan3[11502]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:20:36 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:25:05 2023 daemon.notice netifd: Network device 'wgclient' link is down
Sat Nov 18 15:25:05 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:25:06 2023 user.notice mwan3[17300]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:25:13 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:25:14 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:25:15 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:25:15 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:25:15 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:25:24 2023 user.notice mwan3[18346]: Execute ifup event on interface wgclient (wgclient)
Sat Nov 18 15:25:25 2023 user.notice mwan3[18346]: Starting tracker on interface wgclient (wgclient)
Sat Nov 18 15:25:30 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Sat Nov 18 15:26:10 2023 daemon.notice netifd: Network device 'wgclient' link is down
Sat Nov 18 15:26:10 2023 daemon.notice netifd: Interface 'wgclient' is now down
Sat Nov 18 15:26:11 2023 user.notice mwan3[19849]: Execute ifdown event on interface wgclient (unknown)
Sat Nov 18 15:26:18 2023 daemon.notice netifd: Interface 'wgclient' is setting up now
Sat Nov 18 15:26:20 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Sat Nov 18 15:26:20 2023 daemon.notice netifd: Network device 'wgclient' link is up
Sat Nov 18 15:26:20 2023 daemon.notice netifd: Interface 'wgclient' is now up
Sat Nov 18 15:26:20 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_2650 group_5616 group_8583 group_6120 peer_2001 peer_2002 peer_3130 CONFIG_cfg030f15_ports=
Sat Nov 18 15:26:30 2023 user.notice mwan3[21054]: Execute ifup event on interface wgclient (wgclient)
**Sat Nov 18 15:26:31 2023 user.notice mwan3[21054]: Starting tracker on interface wgclient (wgclient)**
**Sat Nov 18 15:26:36 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)**

[Emphasis mine]

I’m starting to wonder if you’re not experiencing a case of mwan3’s connectivity tracking ‘downing’ your wgclient as it tries to set everything up. Try increasing the timeouts for it via GL GUI → Network → Multi-WAN → [Cog].

logread -e mwan3

May I check remotely, please PM me.

I’ve bumped the Track Interval from: 5 seconds to 10 seconds.
I’ve bumped the Change to Failure Condition from: Ping failures 3 times to 5 times.

If that fails again, I’ll bump it again to see if that helps.

1 Like

Nope. That didn’t seem to help.
I’ve bumped the Track Interval from: 10 seconds to 30 seconds.
I’ve bumped the Change to Failure Condition from: Ping failures 5 times to 8 times.
No change.


I’ve run the following:
root@GL-A1300:~# logread -e mwan3

Mon Nov 20 09:50:09 2023 user.notice mwan3[6304]: Execute ifup event on interface wgclient (wgclient)
Mon Nov 20 09:50:09 2023 user.notice mwan3[6304]: Starting tracker on interface wgclient (wgclient)
Mon Nov 20 09:50:12 2023 user.info mwan3rtmon[4918]: Detect rtchange event.
Mon Nov 20 09:50:32 2023 user.notice mwan3[8402]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 09:50:37 2023 user.notice mwan3[9694]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 09:50:49 2023 user.notice mwan3[11007]: Execute ifup event on interface wgclient (wgclient)
Mon Nov 20 09:50:49 2023 user.notice mwan3[11007]: Starting tracker on interface wgclient (wgclient)
Mon Nov 20 09:50:53 2023 user.info mwan3rtmon[4918]: Detect rtchange event.

AND

root@GL-A1300:~# logread -e wg

Mon Nov 20 10:00:00 2023 daemon.notice netifd: Network device ‘wgclient’ link is down
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section @zone[1] (wan) cannot resolve device of network ‘wan6’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section @zone[1] (wan) cannot resolve device of network ‘wwan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘wgclient’.masq6 is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘ovpnclient’.masq6 is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘block_dns’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘safe_mode_mark’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘safe_mode_mark_save’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘safe_mode_mark_drop’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘sambasharewan’.dest_proto is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘sambasharewan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘sambasharelan’.dest_proto is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘sambasharelan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘glnas_ser’.dest_proto is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘glnas_ser’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Option ‘webdav_wan’.dest_proto is unknown
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: Section ‘webdav_wan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv4 filter table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv4 nat table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv4 mangle table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv4 raw table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv4 filter table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DHCP-Renew’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-IGMP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-IPSec-ESP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-ISAKMP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DHCP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DNS’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘block_dns’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark_drop’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #17
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #18
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #19
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #20
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv4 nat table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv4 mangle table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘process_mark’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark_save’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv4 raw table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): - Using automatic conntrack helper attachment
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): - Using automatic conntrack helper attachment
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv6 filter table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv6 nat table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Clearing IPv6 mangle table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv6 filter table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DHCPv6’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-MLD’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-ICMPv6-Input’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-ICMPv6-Forward’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-IPSec-ESP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-ISAKMP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DHCP’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘Allow-DNS’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘block_dns’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark_drop’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #17
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #18
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #19
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule #20
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv6 nat table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_lan_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_lan_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_wan_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_wan_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_guest_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_guest_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_rule’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Populating IPv6 mangle table
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘process_mark’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Rule ‘safe_mode_mark_save’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘lan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘wan’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Zone ‘guest’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Set tcp_ecn to off
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Set tcp_syncookies to on
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Set tcp_window_scaling to on
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Running script ‘/etc/firewall.nat6’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Running script ‘/etc/firewall.vpn_server_policy.sh’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Running script ‘/var/etc/gls2s.include’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): ! Skipping due to path error: No such file or directory
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): * Running script ‘/usr/bin/gl_block.sh’
Mon Nov 20 10:08:23 2023 daemon.notice netifd: wgclient (26588): sh: 1: unknown operand
Mon Nov 20 10:08:23 2023 user.notice mwan3[26586]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 10:08:24 2023 daemon.notice netifd: wgclient (26588): udhcpc: started, v1.33.2
Mon Nov 20 10:08:24 2023 daemon.notice netifd: wgclient (26588): udhcpc: sending discover
Mon Nov 20 10:08:24 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Mon Nov 20 10:08:27 2023 daemon.notice netifd: wgclient (26588): udhcpc: no lease, failing
Mon Nov 20 10:08:27 2023 daemon.notice netifd: Interface ‘wgclient’ is now down
Mon Nov 20 10:08:28 2023 user.notice mwan3[27443]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 10:08:28 2023 daemon.notice netifd: Interface ‘wgclient’ is setting up now
Mon Nov 20 10:08:29 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Mon Nov 20 10:08:30 2023 daemon.notice netifd: Network device ‘wgclient’ link is up
Mon Nov 20 10:08:30 2023 daemon.notice netifd: Interface ‘wgclient’ is now up
Mon Nov 20 10:08:31 2023 user.notice mwan3[28510]: Execute ifup event on interface wgclient (wgclient)
Mon Nov 20 10:08:31 2023 user.notice mwan3[28510]: Starting tracker on interface wgclient (wgclient)
Mon Nov 20 10:08:34 2023 daemon.info dnsmasq[28921]: reading /tmp/resolv.conf.wg
Mon Nov 20 10:08:34 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_1559 group_4525 group_3844 group_7103 peer_8275 peer_8161 peer_4618 peer_7861 CONFIG_cfg030f15_ports=
Mon Nov 20 10:08:35 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Mon Nov 20 10:10:00 2023 daemon.notice netifd: Network device ‘wgclient’ link is down
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section @zone[1] (wan) cannot resolve device of network ‘wan6’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section @zone[1] (wan) cannot resolve device of network ‘wwan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘wgclient’.masq6 is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘ovpnclient’.masq6 is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘block_dns’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘safe_mode_mark’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘safe_mode_mark_save’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘safe_mode_mark_drop’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘sambasharewan’.dest_proto is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘sambasharewan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘sambasharelan’.dest_proto is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘sambasharelan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘glnas_ser’.dest_proto is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘glnas_ser’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Option ‘webdav_wan’.dest_proto is unknown
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: Section ‘webdav_wan’ does not specify a protocol, assuming TCP+UDP
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv4 filter table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv4 nat table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv4 mangle table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv4 raw table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv4 filter table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DHCP-Renew’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-IGMP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-IPSec-ESP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-ISAKMP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DHCP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DNS’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘block_dns’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark_drop’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #17
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #18
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #19
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #20
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv4 nat table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv4 mangle table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘process_mark’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark_save’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv4 raw table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): - Using automatic conntrack helper attachment
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): - Using automatic conntrack helper attachment
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv6 filter table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv6 nat table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Clearing IPv6 mangle table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv6 filter table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DHCPv6’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-MLD’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-ICMPv6-Input’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-ICMPv6-Forward’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-IPSec-ESP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-ISAKMP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DHCP’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘Allow-DNS’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘block_dns’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark_drop’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #17
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #18
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #19
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule #20
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv6 nat table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_lan_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_lan_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_wan_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_wan_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_guest_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_guest_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘prerouting_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): Warning: fw3_ipt_rule_append(): Can’t find target ‘postrouting_rule’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Populating IPv6 mangle table
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘process_mark’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Rule ‘safe_mode_mark_save’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘lan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘wan’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Zone ‘guest’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Set tcp_ecn to off
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Set tcp_syncookies to on
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Set tcp_window_scaling to on
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Running script ‘/etc/firewall.nat6’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Running script ‘/etc/firewall.vpn_server_policy.sh’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Running script ‘/var/etc/gls2s.include’
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): ! Skipping due to path error: No such file or directory
Mon Nov 20 10:15:48 2023 daemon.notice netifd: wgclient (17165): * Running script ‘/usr/bin/gl_block.sh’
Mon Nov 20 10:15:49 2023 user.notice mwan3[17164]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 10:15:49 2023 daemon.notice netifd: wgclient (17165): sh: 1: unknown operand
Mon Nov 20 10:15:50 2023 daemon.notice netifd: wgclient (17165): udhcpc: started, v1.33.2
Mon Nov 20 10:15:50 2023 daemon.notice netifd: wgclient (17165): udhcpc: sending discover
Mon Nov 20 10:15:50 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Mon Nov 20 10:15:53 2023 daemon.notice netifd: Interface ‘wgclient’ is now down
Mon Nov 20 10:15:53 2023 daemon.notice netifd: Interface ‘wgclient’ is setting up now
Mon Nov 20 10:15:54 2023 user.notice mwan3[18236]: Execute ifdown event on interface wgclient (unknown)
Mon Nov 20 10:15:55 2023 daemon.notice netifd: Network device ‘wgclient’ link is up
Mon Nov 20 10:15:55 2023 daemon.notice netifd: Interface ‘wgclient’ is now up
Mon Nov 20 10:15:55 2023 user.notice firewall: Reloading firewall due to ifdown of wgclient ()
Mon Nov 20 10:15:56 2023 user.notice mwan3[19250]: Execute ifup event on interface wgclient (wgclient)
Mon Nov 20 10:15:57 2023 user.notice mwan3[19250]: Starting tracker on interface wgclient (wgclient)
Mon Nov 20 10:15:59 2023 daemon.info dnsmasq[19596]: reading /tmp/resolv.conf.wg
Mon Nov 20 10:15:59 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_1559 group_4525 group_3844 group_7103 peer_8275 peer_8161 peer_4618 peer_7861 CONFIG_cfg030f15_ports=
Mon Nov 20 10:16:01 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)

root@GL-A1300:~#

. . . not sure if that is helpful, but there it is.

Wild. I’d just go ahead & disable Multi-Wan via ‘Enable Internet Status Tracking’ for all three entries via the cog icons & reboot. If that doesn’t to it, I’d defer to @hansome .

Nope. Disabling Multi-Wan via ‘Enable Internet Status Tracking’ for all three entries didn’t work either.

Here is the log:

Mon Nov 20 10:44:37 2023 daemon.notice netifd: Interface ‘wgclient’ is setting up now
Mon Nov 20 10:44:44 2023 daemon.notice netifd: Network device ‘wgclient’ link is up
Mon Nov 20 10:44:44 2023 daemon.notice netifd: Interface ‘wgclient’ is now up
Mon Nov 20 10:44:49 2023 user.notice wgclient-up: env value:T_J_V_ifname=string J_V_address_external=1 USER=root ifname=wgclient ACTION=KEYPAIR-CREATED N_J_V_address_external=address-external SHLVL=2 J_V_keep=1 HOME=/ HOTPLUG_TYPE=wireguard T_J_V_interface=string J_V_ifname=wgclient T_J_V_link_up=boolean LOGNAME=root DEVICENAME= T_J_V_action=int TERM=linux SUBSYSTEM=wireguard PATH=/usr/sbin:/usr/bin:/sbin:/bin CONFIG_LIST_STATE= J_V_interface=wgclient K_J_V= action ifname link_up address_external keep interface J_V_link_up=1 J_V_action=0 T_J_V_address_external=boolean N_J_V_link_up=link-up T_J_V_keep=boolean PWD=/ JSON_CUR=J_V CONFIG_SECTIONS=global AzireVPN Mullvad FromApp group_1559 group_4525 group_3844 group_7103 peer_8275 peer_8161 peer_4618 peer_7861 CONFIG_cfg030f15_ports=
Mon Nov 20 10:45:49 2023 user.notice mwan3[9653]: Execute ifup event on interface wgclient (wgclient)
Mon Nov 20 10:45:49 2023 user.notice mwan3[9653]: Starting tracker on interface wgclient (wgclient)
Mon Nov 20 10:45:52 2023 user.notice firewall: Reloading firewall due to ifup of wgclient (wgclient)
Mon Nov 20 10:50:00 2023 daemon.notice netifd: Network device ‘wgclient’ link is down

It died in under 5 minutes again :-/

Am I the only one having the issue with this device and WG?

Factory Reset maybe just to see if that would help?

Yeah, I’d nuke it all at this point. Fire is the cleanser!

Just use the Firmware reset?
Will that reset all default packages, etc, etc?
Is there a way to export a configuration file so save time in getting set back up?
. . . I don’t see one.