Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't connect to LAN via WireGuard VPN on Windows

Featured Replies

I'm new to Unraid and setting up my NAS for the first time. I set up WireGuard VPN so I can remote access my file shares but ran into an issue connecting on windows.

 

I'm all set up on WireGuard VPN on my Windows Laptop and have set up the tunnel. I am able to get onto the WebGUI remotely but when I try to access the file shares in file explorer I'm getting network connectivity errors. 

I am able to access the file shares on my MacBook and my phone via cellular so it is just Windows where I'm running into the issue. I've tried connecting to the server both via IP Address and Server Name without luck. Any ideas? Let me know if more info is needed like I said I'm new to this so not sure what is relevant

  • 2 weeks later...

I'm also having issues connecting to my LAN using Wireguard on Windows. I've set Wireguard up successfully on several other devices including Android and iOS. It appears the handshake is completing, but when I try to ping my Windows PC from Unraid's VPN UI, it fails. The ping succeeds for my non-Windows devices. I can't access SMB shares or Unraid's UI either.

 

I've tried setting the VPN to a private network (see below admin Powershell command) and disabling the firewall for private networks to no success.

Set-NetConnectionProfile -InterfaceAlias 'peer-BatRAID-wg0-4' -NetworkCategory 'Private'

 

Here's a sample from the log from Wireguard in Windows:

2022-08-07 HH:13:07.569350: [TUN] [peer-BatRAID-wg0-4] Starting WireGuard/0.5.3 (Windows 10.0.22000; amd64)
2022-08-07 HH:13:07.569350: [TUN] [peer-BatRAID-wg0-4] Watching network interfaces
2022-08-07 HH:13:07.570850: [TUN] [peer-BatRAID-wg0-4] Resolving DNS names
2022-08-07 HH:13:07.656637: [TUN] [peer-BatRAID-wg0-4] Creating network adapter
2022-08-07 HH:13:07.718632: [TUN] [peer-BatRAID-wg0-4] Using existing driver 0.10
2022-08-07 HH:13:07.725633: [TUN] [peer-BatRAID-wg0-4] Creating adapter
2022-08-07 HH:13:07.896134: [TUN] [peer-BatRAID-wg0-4] Using WireGuardNT/0.10
2022-08-07 HH:13:07.896134: [TUN] [peer-BatRAID-wg0-4] Enabling firewall rules
2022-08-07 HH:13:07.881134: [TUN] [peer-BatRAID-wg0-4] Interface created
2022-08-07 HH:13:07.903233: [TUN] [peer-BatRAID-wg0-4] Dropping privileges
2022-08-07 HH:13:07.903633: [TUN] [peer-BatRAID-wg0-4] Setting interface configuration
2022-08-07 HH:13:07.903633: [TUN] [peer-BatRAID-wg0-4] Peer 1 created
2022-08-07 HH:13:07.910464: [TUN] [peer-BatRAID-wg0-4] Interface up
2022-08-07 HH:13:07.910464: [TUN] [peer-BatRAID-wg0-4] Monitoring MTU of default v4 routes
2022-08-07 HH:13:07.918633: [TUN] [peer-BatRAID-wg0-4] Setting device v4 addresses
2022-08-07 HH:13:07.923320: [TUN] [peer-BatRAID-wg0-4] Monitoring MTU of default v6 routes
2022-08-07 HH:13:07.923763: [TUN] [peer-BatRAID-wg0-4] Setting device v6 addresses
2022-08-07 HH:13:07.925134: [TUN] [peer-BatRAID-wg0-4] Startup complete
2022-08-07 HH:13:08.108134: [TUN] [peer-BatRAID-wg0-4] Sending handshake initiation to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:13:08.174246: [TUN] [peer-BatRAID-wg0-4] Receiving handshake response from peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:13:08.174246: [TUN] [peer-BatRAID-wg0-4] Keypair 1 created for peer 1
2022-08-07 HH:13:51.108471: [TUN] [peer-BatRAID-wg0-4] Sending keepalive packet to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:14:39.315425: [TUN] [peer-BatRAID-wg0-4] Sending keepalive packet to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:03.840695: [TUN] [peer-BatRAID-wg0-4] Sending keepalive packet to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:10.995889: [TUN] [peer-BatRAID-wg0-4] Sending handshake initiation to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:11.061637: [TUN] [peer-BatRAID-wg0-4] Receiving handshake response from peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:11.061637: [TUN] [peer-BatRAID-wg0-4] Keypair 2 created for peer 1
2022-08-07 HH:15:11.061637: [TUN] [peer-BatRAID-wg0-4] Sending keepalive packet to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:21.672595: [TUN] [peer-BatRAID-wg0-4] Sending keepalive packet to peer 1 (<WAN IP Address>:51820)
2022-08-07 HH:15:38.645740: [TUN] [peer-BatRAID-wg0-4] Shutting down
2022-08-07 HH:15:38.647938: [MGR] [peer-BatRAID-wg0-4] Tunnel service tracker finished

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.