VPN client as a proxy.

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
przemo-c
Posts: 3
Joined: Wed Oct 24, 2018 7:35 am

VPN client as a proxy.

Post by przemo-c » Tue Mar 10, 2020 8:25 am

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.

ddunston
Posts: 22
Joined: Fri Mar 13, 2020 11:33 pm

Re: VPN client as a proxy.

Post by ddunston » Sat Mar 14, 2020 12:38 am

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.

artioni81
Posts: 22
Joined: Wed Dec 25, 2019 10:56 pm

Re: VPN client as a proxy.

Post by artioni81 » Sun Mar 15, 2020 12:51 pm

przemo-c wrote:
Tue Mar 10, 2020 8:25 am
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.
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?

Post Reply