Page 1 of 1

force vpn to use network adapter

Posted: Fri Jan 29, 2021 3:29 am
by asdffdsa6131
hello and thanks,

how can i force a vpn to use a certain network adapter such as my wifi , not my wired ?

i tried to find the answer here
https://www.sparklabs.com/support/kb/ar ... -commands/
https://www.sparklabs.com/support/kb/ar ... nnections/

thanks,
david

Re: force vpn to use network adapter

Posted: Fri Jan 29, 2021 10:03 am
by Eric
Hi David,

You can use the local command. Edit your connection, go to the advanced tab and add the following:
local <IP Address of adapter to bind to>

You will also need to go to the Options tab and untick "No Bind" if it is ticked.

For most connections you should also add a route to your configuration, something like:

Destination: Your VPN Server IP
Mask/Bits: 255.255.255.255
Gateway: Custom-<Gateway of the adapter to use>

Regards,
Eric

Re: force vpn to use network adapter

Posted: Fri Jan 29, 2021 10:31 am
by asdffdsa6131
thanks that worked.

sorry, i read that entire help page and missed local