VBAN with one PC on a VPN

I think my question is just (how) can I force VBAN to use a specific network adapter?

More details:

I’m working from home and I have a pretty straight forward setup where I have 2 PCs arranged like so:

PC A:Has my headset connectedReceives Audio Output from PC B

PC B:Receives Audio Input (Mic) from PC A

It’s all working fine, but the PC B needs to connect to the work VPN and when it does so VBAN stops working.

From my understanding, the issue is that PC B now has 2 IP addresses/2 Network adapters and is choosing the default (wrong) one when sending/receiving audio, since I can see that when I switch the VPN the VBAN UI changes from IP Host Address “192.168.****” to “172.**** 192.168.***”

EDIT: Managed to solve the issue myself. As I suspected, the problem was that the packets were leaving through the wrong interface so the PC A was ignoring the Incoming stream because the IPs did not match.

If anyone comes across this post with the same problem, you will probably need a bare minimum understanding of networking but here is what I did:

On an elevated command prompt of the PC B execute:

route print

On most use cases the 192.168.* network should be reserved for domestic use, so any route starting with 192.168. on the 1st column should always have On-Link on the 3rd column and whatever is your LAN IP on the 4th column.

In my case I had:

192.168.1.0 255.255.255.0 On-link 192.168.1.66 281

192.168.1.0 255.255.255.128 172.29.70.119 172.29.70.120 1

So I do have a On-link entry but I also have a non-On-link entry and that is what was causing the problem which I needed to remove with the command:

route delete 192.168.1.0 mask 255.255.255.128 172.29.70.119

While you’re waiting for a response, here are some tips

  • Join the Official VoiceMeeter Discord Server
    for better/faster help

  • If you haven’t already and If you’re able, add screenshots of the problem to your original post (Edit
    the post)

  • If your issue was resolved or you no longer need help, please edit the post flair to Help (SOLVED)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

The problem may be your VPN not allowing connections on your LAN. Usually there is a setting in your VPN client that you can change to allow local traffic.
You should be able to check this by attempting to ping your second PC with your VPN enabled, if you’re unable then that’s probably why.

I’ve never had an issue using any particular IP in VBAN when multiple are assigned.

Just wanted to thank you for this comment, I’ve been having issues with Input Director and Voicemeeter for a long time and a simple checkbox in my company VPN solved almost all of it.