Bug: Wireguard Client Split Tunnel not routing all allowed_ips

@alzhao what’s the update with this? I ask because V4 seems completely broken for VPN’s now.

I could get a VPN working (default dettings, no split tunnel option) on V3, but I now can’t get that same VPN working working at all on V4.

I have an Opal.

Steps:

  • Install Stable 3.215, keeping no settings
  • Tether to iPhone
  • Add VPN profile manually (copy and paste from .conf file)
  • Enable VPN, works as expected!

Then test with V4

  • Install Beta 4.1.1 beta1, keeping no settings
  • Tether to iPhone
  • Add VPN profile manually (copy and paste from .conf file)
  • Enable VPN, VPN does not enable it just hangs and stays disabled with error

Tue Nov 22 15:49:24 2022 daemon.notice netifd: Interface ‘wgclient’ is setting up now

@alzhao in your comment above you say that split tunnels will work for V4, yet VPN’s as a whole (for my case) don’t work.

Happy to provide whatever else would be useful to the GL-iNet team (screenshots, videos, further config, etc).

Sanitised .conf file below

[Interface]
PrivateKey = <redacted>
Address = 10.6.0.10/24
DNS = 10.6.0.1

[Peer]
PublicKey = <redacted>
PresharedKey = <redacted>
Endpoint = <redacted>:51821
AllowedIPs = 0.0.0.0/0, ::0/0