# FLINT AX1800 Wireguard VPN Disconnection and killswitch VLAN issue and Tailscale

**URL:** <https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884>\
**Category:** Router\
**Created:** [January 27, 2023, 6:19pm UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884 "2023-01-27T18:19:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sevven](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sevven](https://forum.gl-inet.com/u/sevven)\
**Post date:** [January 27, 2023, 6:19pm UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/1 "2023-01-27T18:19:46Z")

</div>

Hello, I had been experiencing prior issues on the Flint so I updated to the latest firmware 4.2 beta2 however I am still experiencing VPN disconnection issues. See time 16:31 onwards on the first block of log entries, Jan 26.

There also needs to be a kill-switch when using the VLAN Policy Base option for the VPN, when Wireguard disconnects some of my devices are leaking through the private VLAN where I have enabled VPN Policy. Using the “Block Non-VPN Traffic” Global option blocks the VLAN that does not use the VPN tunnel.

Also the log needs to store more records, I am noticing even though I don’t have tailscale enabled there are a lot of entries around the time connection is lost so some vital information could be missing because of this. See start of log entries, Jan 26 and Jan 27.

The second block of log entries, Jan 27, the device became unresponsive and WiFi stopped being broadcast however I don’t know if it was a wireguard problem, had to pull he plug and once up it re-establish the Wiregaurd VPN automatically but again there has been a lot of tailscale activity even though I don’t have tailscale enabled.

[jan26\_system.zip](https://forum.gl-inet.com/uploads/short-url/3ceXc9BESCO4VGI2Dof2kpZdMur.zip) (7.9 KB)  
[jan27\_system.zip](https://forum.gl-inet.com/uploads/short-url/hb4VCTOQEZbRkduUuU74DDfRVJG.zip) (7.6 KB)

---

<div class="post-metadata">

**Author:** ![robotluo](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/robotluo/32/17434_2.png) [@robotluo](https://forum.gl-inet.com/u/robotluo)\
**Post date:** [January 30, 2023, 4:27am UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/2 "2023-01-30T04:27:58Z")

</div>

wireguard disconnect issues we have found some causes, a new beta firmware will be available this week.

---

<div class="post-metadata">

**Author:** ![Nicos](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/n/7feea3/32.png) [@Nicos](https://forum.gl-inet.com/u/Nicos)\
**Post date:** [January 30, 2023, 10:20am UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/3 "2023-01-30T10:20:45Z")

</div>

on the question of tailscale, do you keep the original configuration for the upgrade?

---

<div class="post-metadata">

**Author:** ![sevven](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sevven](https://forum.gl-inet.com/u/sevven)\
**Post date:** [February 8, 2023, 7:36pm UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/4 "2023-02-08T19:36:23Z")

</div>

Seems to have settled out the issue. I have only once experienced disconnection once but it came back up, and I didn’t need to pull the power.

---

<div class="post-metadata">

**Author:** ![sevven](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@sevven](https://forum.gl-inet.com/u/sevven)\
**Post date:** [February 27, 2023, 4:05am UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/5 "2023-02-27T04:05:46Z")

</div>

Hello, I experienced wire-guard vpn connection losing connectivity and not reconnecting until I rebooted the router. This time around though the router was responsive, I was able to login and reboot from the web interface without having to pull the power cable and was able to get the logs.

[feb27\_03:10\_system.zip](https://forum.gl-inet.com/uploads/short-url/3Akim89IwIoLNaOpl7EeobhEVl4.zip) (15.7 KB)

---

<div class="post-metadata">

**Author:** ![robotluo](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/robotluo/32/17434_2.png) [@robotluo](https://forum.gl-inet.com/u/robotluo)\
**Post date:** [February 27, 2023, 8:44am UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/6 "2023-02-27T08:44:01Z")

</div>

This appears to be a state maintenance error, and I notice that wireguard reconnected successfully, but the system is not monitoring this state properly.  
Our code is as follow:

```auto
if ["${ACTION}" = "KEYPAIR-CREATED" -a "${ifname}" = "wgclient"]; then
	logger -t wireguard-debug `env`
	[-f /tmp/wireguard/"${ifname}"_state] || exit 0
	state="$(cat /tmp/wireguard/"${ifname}"_state)"
	["$state" = "connecting"] || exit 0
	
	netifd_update $ifname
	echo "connected" >/tmp/wireguard/"${ifname}"_state
fi

```

In the above code, connection events are processed only when the /tmp/wireguard/wgclient\_state file is a connecting value, and not when it is a different value. Therefore, when a problem occurs, You can examine the contents of the /tmp/wireguard/wgclient\_state file

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:21am UTC](https://forum.gl-inet.com/t/flint-ax1800-wireguard-vpn-disconnection-and-killswitch-vlan-issue-and-tailscale/26884/7 "2025-10-29T04:21:00Z")

</div>


