Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selectable Interface on all tools? #2151

Closed
mem16421 opened this issue Apr 11, 2023 · 2 comments
Closed

Selectable Interface on all tools? #2151

mem16421 opened this issue Apr 11, 2023 · 2 comments

Comments

@mem16421
Copy link

I have been trying this tool out when troubleshooting at different network sites. My laptop has a VPN TAP, WiFi, Built-in Eth, and USB Eth interfaces. When using the different tools, like IP Scan as an example it defaults to my VPN Interface. So if I try to scan a network that I am plugged into using my USB Eth Interface it finds nothing. Others like port scan, traffic, etc seem to do the same. Can there be a way to select which interface you want to use, or even a setting for the default interface?

@BornToBeRoot
Copy link
Owner

BornToBeRoot commented Apr 20, 2023

Hi @mem16421,

I'm not sure if I understood this correctly, so please correct me if I'm wrong.

In the IP scanner, do you mean the detection of the current network (via this button)?
image

If yes, you can scan the network of an adapter also from the interface view:
image


For the other tools like ping, port scanner, traceroute... this sounds more like a routing "issue" (default behaviour of Windows - or any system).

For example... if you have 2 interfaces (LAN 10.0.0.0/24 & WiFi 10.0.1.0/24) - and both have internet access:

  1. You should be able to connect to (ping, traceroute, port scan, etc.) hosts in each network, because your computer knows which route (adapter) to choose.
  2. If you want to connect to a host in the internet (like 1.1.1.1), Windows will choose the route with the lowest metric. Normally this should be the LAN interface. You can verify this with traceroute.
  3. If you now use a VPN - depending on the configuration - all traffic goes through the VPN. If you use split-tunneling, only your internet traffic or selected networks go through the VPN.

If you want to modify the routing table, you can use netsh. I plan to implement a feature to show & modify the routing table (ref #1860)

@stale
Copy link

stale bot commented Jun 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the ⌚ stale label Jun 9, 2023
@stale stale bot closed this as completed Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants