# Wireguard VPN Server not working. Client Connecting, but nothing loads, OpenVPN works fine

**URL:** <https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947>\
**Category:** VPN, DNS, Leaks\
**Created:** [April 16, 2023, 5:37pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947 "2023-04-16T17:37:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 16, 2023, 5:37pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/1 "2023-04-16T17:37:30Z")

</div>

I recently purchased a 300m mini smart router. It’s sitting behind my main router, and its only purpose is to act as a VPN server.  
I can setup an OpenVPN server and connect from my phone no problem. Since WireGuard is supposed to be much faster though, I figure I should get that working. The problem is, I’m having a lot of trouble getting it working.

In the main router, I have port forwarded both the port for OpenVPN port and port 51820 for WireGuard, both UDP and TCP to the 300m.

Wireguard server says it is started, and will show that a client has connected, but shows almost no throughput, and the client can’t load anything. I’ve tried manually setting the DNS to 8.8.8.8, but no help.

Since the OpenVPN server works fine, im assuming there’s nothing wrong with my network setup. any ideas?  
Here are the logs it shows, and a screenshot below.

"Sat Apr 15 21:28:33 2023 daemon.notice netifd: Interface ‘wgserver’ is setting up now  
Sat Apr 15 21:28:33 2023 daemon.notice netifd: Interface ‘wgserver’ is now up  
Sat Apr 15 21:28:33 2023 daemon.notice netifd: Network device ‘wgserver’ link is up  
Sat Apr 15 21:28:33 2023 user.notice mwan3[16776]: Execute ifup event on interface wgserver (wgserver)  
Sat Apr 15 21:28:33 2023 user.notice mwan3[16776]: Starting tracker on interface wgserver (wgserver)  
Sat Apr 15 21:28:35 2023 user.notice firewall: Reloading firewall due to ifup of wgserver (wgserver)  
Sat Apr 15 21:29:14 2023 daemon.notice netifd: Network device ‘wgserver’ link is down  
Sat Apr 15 21:29:15 2023 user.notice mwan3[19571]: Execute ifdown event on interface wgserver (unknown)  
Sat Apr 15 21:29:15 2023 daemon.notice netifd: Interface ‘wgserver’ is now down  
Sat Apr 15 21:29:15 2023 user.notice firewall: Reloading firewall due to ifdown of wgserver ()  
Sun Apr 16 12:56:20 2023 daemon.notice netifd: Interface ‘wgserver’ is setting up now  
Sun Apr 16 12:56:20 2023 daemon.notice netifd: Interface ‘wgserver’ is now up  
Sun Apr 16 12:56:20 2023 daemon.notice netifd: Network device ‘wgserver’ link is up  
Sun Apr 16 12:56:21 2023 user.notice mwan3[11031]: Execute ifup event on interface wgserver (wgserver)  
Sun Apr 16 12:56:21 2023 user.notice mwan3[11031]: Starting tracker on interface wgserver (wgserver)  
Sun Apr 16 12:56:22 2023 user.notice firewall: Reloading firewall due to ifup of wgserver (wgserver)  
"

 ![Screenshot 2023-04-16 at 12.58.02 PM](https://forum-static.gl-inet.com/original/2X/3/329dd663b08ff59a6e1b9054a52573f94a4e40a6.png)

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [April 16, 2023, 11:38pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/2 "2023-04-16T23:38:55Z")

</div>

What is the firmware version of your router?

Did you use vpn client (not server) and server the same time?

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 17, 2023, 2:23am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/3 "2023-04-17T02:23:18Z")

</div>

I’m pretty sure it said 4.2 when I checked, but I clicked the update option in the web UI, it said there were no updates available.

No I am not using the VPN client, it is only a VPN server.

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 20, 2023, 7:44pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/4 "2023-04-20T19:44:36Z")

</div>

@alzhao any thoughts? we actually purchased a second unit, and went to install it on another network, and are having the exact same issue. There is very little to do to set up the VPN so we arent sure were we could be going wrong.

The odd part is, for both devices, even though it isnt the main router, somehow when someone connects to the wireguard VPN, it brings the entire network to a standstill. any device connected to the router sitting behind the VPN is still unable to connect, and just sits there spinning forever and timing out.

Logs from the second device.

"Thu Apr 20 15:37:34 2023 daemon.notice netifd: Interface ‘wgserver’ is setting up now  
Thu Apr 20 15:37:34 2023 daemon.notice netifd: Interface ‘wgserver’ is now up  
Thu Apr 20 15:37:34 2023 daemon.notice netifd: Network device ‘wgserver’ link is up  
Thu Apr 20 15:37:35 2023 user.notice mwan3[9105]: Execute ifup event on interface wgserver (wgserver)  
Thu Apr 20 15:37:35 2023 user.notice mwan3[9105]: Starting tracker on interface wgserver (wgserver)  
Thu Apr 20 15:37:36 2023 user.notice firewall: Reloading firewall due to ifup of wgserver (wgserver)  
Thu Apr 20 15:40:32 2023 daemon.notice netifd: Network device ‘wgserver’ link is down  
Thu Apr 20 15:40:32 2023 user.notice mwan3[16912]: Execute ifdown event on interface wgserver (unknown)  
Thu Apr 20 15:40:32 2023 daemon.notice netifd: Interface ‘wgserver’ is now down  
Thu Apr 20 15:40:32 2023 user.notice firewall: Reloading firewall due to ifdown of wgserver ()  
Thu Apr 20 15:40:48 2023 daemon.notice netifd: Interface ‘wgserver’ is setting up now  
Thu Apr 20 15:40:48 2023 daemon.notice netifd: Interface ‘wgserver’ is now up  
Thu Apr 20 15:40:48 2023 daemon.notice netifd: Network device ‘wgserver’ link is up  
Thu Apr 20 15:40:48 2023 user.notice mwan3[18315]: Execute ifup event on interface wgserver (wgserver)  
Thu Apr 20 15:40:48 2023 user.notice mwan3[18315]: Starting tracker on interface wgserver (wgserver)  
Thu Apr 20 15:40:50 2023 user.notice firewall: Reloading firewall due to ifup of wgserver (wgserver)  
"

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 21, 2023, 12:56am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/5 "2023-04-21T00:56:58Z")

</div>

Also to clarify both devices are MT3000, and both networks which the wireguard VPN doesnt work have different modems and routers, so I would be surprised if its a specific network config.

They are both home networks with nothing special about them.

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [April 21, 2023, 6:53am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/6 "2023-04-21T06:53:55Z")

</div>

Pls make sure you are using 4.2.1 [GL.iNet download center](https://dl.gl-inet.com/?model=mt3000)

If not you can download and upgrade manually.

If still having this issue, maybe @hansome can have a remote check.

---

<div class="post-metadata">

**Author:** ![SmurfonToast](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/s/65b543/32.png) [@SmurfonToast](https://forum.gl-inet.com/u/SmurfonToast)\
**Post date:** [April 21, 2023, 6:56am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/7 "2023-04-21T06:56:38Z")

</div>

Any improvement when changing this setting that helped me?

> [@Wireguard / OpenVPN connects but no LAN Access when running in Repeater Mode?](https://forum.gl-inet.com/t/wireguard-openvpn-connects-but-no-lan-access-when-running-in-repeater-mode/27497/17):
>
> Sorry that this issue frustrating you for so long. It’s my first time learning about this use case so I’m not familiar with it. After check more about your config I found it Allowed IPs related issue. The right setup step is to change to “Auto Detect” mode: It’s indeed sort of complicated, as to meet the needs of different user scenarios. We’ll try to improve that. Regards.

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 22, 2023, 11:14am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/8 "2023-04-22T11:14:09Z")

</div>

In your first post, the screenshot shows that the tunnel has been established successfully. Therefore, it could be a routing issue on the client side.

Could you please provide the output of the following command:

```auto
ip route

```

In addition, please provide a screenshot of the WireGuard client status page. As @SmurfonToast mentioned, are you using Auto Detect mode? Generally, a global proxy is a more common use case.

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 24, 2023, 6:17pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/9 "2023-04-24T18:17:18Z")

</div>

@alzhao - I will confirm and make sure they are running 4.2.1

@SmurfonToast - I dont think so, as I am not running in repeater mode, and I think autodetect is already selected, but I will confirm.

@hansome - Where do I run that command from? should I SSH onto the device and run it from there?  
I will confirm the auto detect mode when I get home. Here is a pic of the client status:

 ![Screenshot 2023-04-16 at 12.58.07 PM](https://forum-static.gl-inet.com/original/2X/d/db6f0a0bac2264ff6feb819ce529c26c7563ea8c.png)

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 25, 2023, 2:43am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/10 "2023-04-25T02:43:53Z")

</div>

SSH onto the device and run the command.  
Could we start a remote desk session? Please PM me.

---

<div class="post-metadata">

**Author:** ![thatproudad](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@thatproudad](https://forum.gl-inet.com/u/thatproudad)\
**Post date:** [April 26, 2023, 10:03pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/11 "2023-04-26T22:03:42Z")

</div>

I’m having the exact same issue  
I’m in pppoe ethernet mode straight into my isp modem. Driving me crazy

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 28, 2023, 10:45am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/12 "2023-04-28T10:45:37Z")

</div>

Have you setup wireguard client using app?

Please try setting wireguard client MTU to 1380:  
 ![image](https://forum-static.gl-inet.com/original/2X/c/ccc15f75bb7a1d78a2d6f707a8d6e9f21adee9cc.png)  
and toggle off and on.

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 28, 2023, 1:48pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/13 "2023-04-28T13:48:14Z")

</div>

Ok. there was an update, but confirmed router is on 4.2.2  
MTU is set to 1380  
Proxy is set to auto detect

This is the result of IP route when wireguard server is off:  
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.10  
10.8.0.0/24 dev ovpnserver proto static scope link  
192.168.8.0/24 dev br-lan proto kernel scope link src 192.168.8.1  
192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1 linkdown

and when wireguard server is on, when client is connected:  
default via 10.0.0.1 dev eth0 proto static src 10.0.0.10  
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.10  
10.0.0.0/24 dev wgserver proto kernel scope link src 10.0.0.1  
10.8.0.0/24 dev ovpnserver proto static scope link  
192.168.8.0/24 dev br-lan proto kernel scope link src 192.168.8.1  
192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1 linkdown

 ![Screenshot 2023-04-28 at 9.40.33 AM](https://forum-static.gl-inet.com/original/2X/2/263d18f76727a48e2a6c3453d055337ff844efb7.png)  
 ![Screenshot 2023-04-28 at 9.41.06 AM](https://forum-static.gl-inet.com/original/2X/4/47a81fbcf524ff809d581dde9f6e42aa6f8f8176.png)

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 28, 2023, 1:51pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/14 "2023-04-28T13:51:50Z")

</div>

Also I am using the wireguard phone app to try and connect.

Same as before though as soon as I connect with my phone via cell connection, the entire network coming out of the MT3000 in the house comes to a halt for some reason

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [April 28, 2023, 2:09pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/15 "2023-04-28T14:09:47Z")

</div>

Could it do with the fact that the main home router is using a 10.0.0 subnet, while this one is using 192.168.8?

---

<div class="post-metadata">

**Author:** ![pronto](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/p/838e76/32.png) [@pronto](https://forum.gl-inet.com/u/pronto)\
**Post date:** [April 28, 2023, 5:48pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/16 "2023-04-28T17:48:13Z")

</div>

Try changing the WireGaurd Client Listen port on the router.

I have a Beryl AX and Opal

and for some reason when the WG Client listen port got set to 31458 i was not able to connect to my WG Server.

something like in the 23000 range

Client config on router:

```auto
[Interface]
Address = client ip
ListenPort = 23232
<<rest of config>>

```

---

<div class="post-metadata">

**Author:** ![EddieA](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/e/85e7bf/32.png) [@EddieA](https://forum.gl-inet.com/u/EddieA)\
**Post date:** [April 29, 2023, 6:59am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/17 "2023-04-29T06:59:01Z")

</div>

> [@pronto](#):
>
> `ListenPort = 23232`

There is no reason to supply a Listening port for a Wireguard client. Unless you have a brain dead firewall that you have to open the port in.

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 29, 2023, 11:26am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/18 "2023-04-29T11:26:22Z")

</div>

> [@WolfPackTackle](#):
>
> 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.10

I fount that your wan IP range is the same as wirguard tunnel IP. Please change wireguard server IP range and export and import to client.  
Also please use global proxy mode instead of auto detect mode at client side.

 ![image](https://forum-static.gl-inet.com/original/2X/b/b47dff00e98cf9db83250b2e41d8c57127232c44.png)

---

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [April 29, 2023, 11:34am UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/19 "2023-04-29T11:34:28Z")

</div>

Does your network need port forward?  
Please try to change MTU, remove listen port, or wireguard server IP range.

---

<div class="post-metadata">

**Author:** ![WolfPackTackle](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wolfpacktackle/32/10783_2.png) [@WolfPackTackle](https://forum.gl-inet.com/u/WolfPackTackle)\
**Post date:** [May 1, 2023, 12:50pm UTC](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947/20 "2023-05-01T12:50:45Z")

</div>

This solved the problem! changed the config IP and recreated the cleint profiles.Everything started working as expected. thank you again!!

[Next page](https://forum.gl-inet.com/t/wireguard-vpn-server-not-working-client-connecting-but-nothing-loads-openvpn-works-fine/28947.md?page=2)
