Code Monkey home page Code Monkey logo

Comments (4)

HunWatt avatar HunWatt commented on July 27, 2024 1

Hello @micahmo
I have no idea, but I can use it anyway. Later I will make some changes in my network, i have 2 separated isp.

from wgserverforwindows.

micahmo avatar micahmo commented on July 27, 2024

Hey @HunWatt, thanks for the report, your use case definitely makes sense. NAT on Windows is notoriously limited in terms of its functionality, and it's very possible that there's no way to control which adapter it uses. I can certainly look into this. However, a potentially easier solution is to use Internet Connection Sharing instead of NAT. That would allow you to choose the specific adapter you want to share with WireGuard. Can you give that a try and let me know if it works?

from wgserverforwindows.

HunWatt avatar HunWatt commented on July 27, 2024

Hi @micahmo
For me, it only works with sharing if I reduce the metric of the shared adapter. For example, Lan1 metric 10 Lan2 metric 25 and I share Lan2, but it still uses Lan1. Could it be a unique case?

from wgserverforwindows.

micahmo avatar micahmo commented on July 27, 2024

Hey @HunWatt, apologies for the delayed response, and even more for the lack of a good answer.

I tried to reproduce your scenario, but I can't. For one, the handshake works fine for me regardless of which adapter has the lower metric. But more importantly, using ICS works to let me share the higher metric with the WireGuard network. I tested this by running a little web server elsewhere on my network, and my Windows desktop connects to the server over the lower metric, while my remote device connected to the WG server connects to the server over the adapter that I shared using ISC in WS4W.

That being said, this may not be a great test. My two adapters are both connected to the same LAN (WiFi and Ethernet), so it may not mirror your setup exactly. 😞

Let me know if there's anything else I can try.

from wgserverforwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.