question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NAT routing conflicts with Hyper-V vms NAT

See original GitHub issue

Windows NetNat currently supports a single NAT instance, this means that using WgServer takes it over preventing HyperV VMs from using the NAT feature.

Ms proposed solution is to configure a single NAT shared by multiple adapters.

I’m fine with WgServer managing the NetNat configuration, however i’d like to ask for an “advanced configuration” option where the user can set a custom value for the InternalIPInterfaceAddressPrefix option (with sanity checks to make sure it includes wireguard’s IP range), this way the NAT can be shared by multiple network adapters.

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
exelix11commented, Apr 19, 2023

It’s working perfectly, thanks for the quick release.

1reaction
exelix11commented, Apr 17, 2023

I mean yeah I could try but I’d like my VPN to be reliable and not have to do debugging the next time i need it 😅

For the time being I’m just not using hyperv but I’d like for this be implemented as apparently it’s how Ms says it’s meant to be done (arguably, an hacky solution on their end)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hyper-V: allow communication between two internal NAT ...
Create a VM and provide it with two NICS - one in each network. Assign it an IP in each network and install...
Read more >
Hyper-V VM network connection problem with Default Switch
I think both problems are related because WSL2 uses a vSwitch with NAT under the hood just as a hyper V VM with...
Read more >
How To Configure Hyper-V Virtual Switch That Supports ...
In this article, we will show you how to configure Hyper-V virtual switch that supports NAT Network with PowerShell.
Read more >
conflict between default nat and hyper-v manager on ...
I am trying to route the container traffic to a different NIC on windows. I played with this a little bit more. If...
Read more >
Hyper-V NAT: Remote Access to Windows and Linux Virtual ...
The NAT is handled on your Windows host system so your router won't be much help either. Like all technical problems there are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found