Jump to content

Xbox Series X HybridVPN with Wireguard


KARLmitLAMA
 Share

Recommended Posts

Hi there,

i had some issues with the R2 firmware 3.0 and stopped using the Netduma R2 at all.
I couldn´t use Xbox Partys without manually adding the Xbox servers in the Geofencing.
One year later and i wanted to give the Netduma R2 another try.

I updated to 3.2.453 and made a soft reset.
The Xbox wasn´t able to connect to Xbox Live...
Did a hard reset and the Xbox can´t connect to Xbox Live.
It´s completely offline.

The Netduma is behind my main router and is configured as exposed host.
It gets an IPv4 and IPv6 address from my main router and is allowed to use the IPv6 prefix.
The Xbox receives both an IPv4 and IPv6 address from the Netduma, as shown in the Device Manager panel.
When testing the connection on the Xbox, the error says that the Xbox can´t resolve the Xbox server names through DNS.

I tried the upstream DNS and override DNS.
I disabled QoS completely.
I added the Xbox to the Geofilter and waited but it´s not trying to contact anything.
I disabled the AdBlocker.

What i can´t find is a setting for the IPv6 DNS.
I can only override the IPv4 DNS in the network settings.

I bought the Netduma R2 directly from you and it´s getting really frustrating that it´s not working after the update to 3.0
Before that i didn´t had such problems i´m now facing.

Cheers
Michael

Link to comment
Share on other sites

  • Administrators

It's not a wide spread issue so it will be down to something in your setup, are you using automatic or manual network settings on the console? Have you set an alternative port for it to use? Do you leave it in an instant on/standby state all the time? There aren't any IPv6 DNS options currently.

Link to comment
Share on other sites

As i did a soft and hard reset, i´m not sure how this is an issue in my setup 🙂

I tried DHCP and manual for the WAN network settings. Same result.
I tried DHCP and manual for the Xbox network settings. Same result.
I´m using the normal port and not the alternative port setting in the Xbox.
The Xbox is running in Standby mode but i did a restart after every change of the network settings.

What IPv6 DNS does the Netduma use when there´s no setting for it?

Link to comment
Share on other sites

Ok i found something!
It seems to be a problem with IPv6 and DNS.

There are two ways to resolve the issue
1. Switch the DNS settings in the Xbox from automatic to manual and add a primary and secondary DNS.
2. Disable IPv6 in the LAN settings of the Netduma

Now i´m facing a new issue with Hybrid VPN.
The Xbox can´t connect to Xbox with the same error (Can´t resolve DNS).
But this can´t be solved with the solutions mentioned above.
I tried different servers of my VPN provider and tested the Hybrid VPN on my Laptop that´s connected to the Netduma.
The Laptop can get online and shows the VPN location but the Xbox stays offline.

I know there were some issues with Hybrid VPN in the 3.0 but the 3.2 patch notes mentions some fixes for that.
The Hybrid VPN still has no log available...
Is there a known issue with Wireguard VPN settings?

Link to comment
Share on other sites

  • Administrators

Ahh well done, there are some fixes surrounding IPv6/DNS that we're working on. How have you added the console to the VPN page? Sometimes when that happens changing server or even provider works as I think they may ban some of the more popular providers.

Link to comment
Share on other sites

I clicked on Add device and chooses the Xbox. Then enabled the VPN and waited until the status switched to Connected.

Which providers can you recommend for WireGuard?

Some don‘t offer WireGuard for custom configs like NordVPN…

Link to comment
Share on other sites

  • Administrators

So the Xbox appears greyed out showing Do NOT VPN these services? 

We don't have any particular recommendations, you don't have to use Wireguard, I understand why you would want to for the faster speeds but if you're just using it while gaming then it's not necessary, gaming uses ~1Mbps maximum

Link to comment
Share on other sites

2 hours ago, KARLmitLAMA said:

The Xbox isn´t greyed out.

I know that gaming shouldn´t use much bandwith but in reality it makes a difference.

Can you check the Xbox's device type in Device Manager? Is it set to 'Console' or 'Xbox'? If not, what's it set to?

Link to comment
Share on other sites

I was able to connect to an OpenVPN connection but WireGuard still fails.

My config looks like this:

#config for nordvpn server br75
[Interface]
Address= 10.5.0.2/32
PrivateKey= <PrivateKey>
ListenPort =51820
dns = 1.1.1.1,1.0.0.1

[Peer]
PublicKey= <PublicKey
AllowedIPs =0.0.0.0/0
Endpoint = br75.nordvpn.com:51820

I got the config from this comment:

I hope the spaces before and after the equal are correct.

 

Bildschirmfoto 2022-12-12 um 13.03.46.png

Link to comment
Share on other sites

Since there´s no Log for WireGuard VPN connections, i can´t resolve this issue.

The System information just show this message:

Mon Dec 12 14:22:02 2022 user.err com.netdumasoftware.hybridvpn: Wireguard config file malformed or unknown section
Mon Dec 12 14:22:02 2022 user.err com.netdumasoftware.hybridvpn: WireGuard Error: something went wrong with the config file.

 

Link to comment
Share on other sites

  • KARLmitLAMA changed the title to Xbox Series X HybridVPN with Wireguard

I build this config file in a Linux Debian VM and it´s working fine with other Wireguard clients.
I can use this config on other clients to connect to this VPN without any problems.
NordVPN doesn´t offer the Wireguard config but you can build the config yourself.

I´m going to try the config without the comment later today.

Link to comment
Share on other sites

After switching form OpenVPN to Wireguard, it takes quit some time until the settings are applied and then it says connection failed.

I can use the same configuration in the Wireguard client:

root@DO-Debian:/etc/wireguard# wg
interface: nvpn_br96
  public key: <PublicKey>
  private key: (hidden)
  listening port: 45469
  fwmark: 0xca6c

peer: <Peer>
  endpoint: 193.19.205.209:51820
  allowed ips: 0.0.0.0/0
  latest handshake: 19 seconds ago
  transfer: 124 B received, 980 B sent

Now the system information shows a different error:
 

Sun Dec 11 22:23:54 2022 user.err com.netdumasoftware.hybridvpn: WireGuard Error: can't connect to the server. It could be a malformed endpoint string or a problem with the dns.
Sun Dec 11 22:23:54 2022 daemon.err cli.lua[2991]: Configuration parsing error
Sun Dec 11 22:23:54 2022 daemon.err cli.lua[2991]: Try again: `br75.nordvpn.com:51820'
Sun Dec 11 22:23:48 2022 daemon.err cli.lua[2991]: Try again: `br75.nordvpn.com:51820'. Trying again in 1.20 seconds...
Sun Dec 11 22:23:42 2022 daemon.err cli.lua[2991]: Try again: `br75.nordvpn.com:51820'. Trying again in 1.00 seconds...

I already tried different DNS while 1.1.1.1 should be available all around the world.

Link to comment
Share on other sites

I found the missing piece!

It seems like the Netduma has a DNS problem combined with VPN.
I used this config on another device, connected and then took the IP-address of the endpoint instead of the hostname.
Now the Netduma can connect to NordVPN with WireGuard.
The bandwidth increased for download from around 5 Mbits to 75 Mbits while the upload stays unchanged at 5 Mbits.

2 minutes ago, Netduma Fraser said:

Try this instead:

What have you changed apart from removing the comment?

Link to comment
Share on other sites

Seems like it´s not the full solution.

While i can connect to the WireGuard VPN and the Xbox will connect to Xbox Live, i can´t connect to Multiplayer games.
Atleast some parts of the game (Destiny 2) like PvP aren´t working.
I can search for other players but once the match should start, i get an error code that points to some network issues.
On the other hand i can join public spaces without a problem.

I´m going to try other NordVPN locations and see if it´s a problem for this particular server/location.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...