Is there a way of using vpn client as a proxy?
I want only apps configured for that proxy to use VPN and the rest of the system thru regular internet connection.
There are IP conflicts and there are multiple machines to be accessed but only by two apps. Rest of the system should work as it.
Is there any way to accomplish that?
Be it creating a proxy and only configuring those 2 apps to use it. Or virtualizing those two apps and softether client. But that would have a performance penalty. Not to mention it's not a lightweight solution.
VPN client as a proxy.
-
- Posts: 22
- Joined: Fri Mar 13, 2020 11:33 pm
Re: VPN client as a proxy.
I don't believe this is going to be a function of the Softether VPN client.
If the applications support binding to a specific IP address, you could create a virtual network adapter with an IP, and the VPN gateway IP as its default gateway, and use the route command for your OS to force traffic destined for the remote network or hosts to the virtual nic which will use the VPN's default gateway as its next hop.
It may require a third-party tool like forceip. https://r1ch.net/projects/forcebindip if your app can't be forced to an IP.
If the applications support binding to a specific IP address, you could create a virtual network adapter with an IP, and the VPN gateway IP as its default gateway, and use the route command for your OS to force traffic destined for the remote network or hosts to the virtual nic which will use the VPN's default gateway as its next hop.
It may require a third-party tool like forceip. https://r1ch.net/projects/forcebindip if your app can't be forced to an IP.
-
- Posts: 21
- Joined: Wed Dec 25, 2019 10:56 pm
Re: VPN client as a proxy.
What proxy software you'll be using? On what OS? Are all the apps on the same machine? Do you want two different gateways, one as default and the other as secondary (that uses the VPN) so that the two apps are instructed to use it as their gateway?przemo-c wrote: ↑Tue Mar 10, 2020 8:25 amIs there a way of using vpn client as a proxy?
I want only apps configured for that proxy to use VPN and the rest of the system thru regular internet connection.
There are IP conflicts and there are multiple machines to be accessed but only by two apps. Rest of the system should work as it.
Is there any way to accomplish that?
Be it creating a proxy and only configuring those 2 apps to use it. Or virtualizing those two apps and softether client. But that would have a performance penalty. Not to mention it's not a lightweight solution.