Page 1 of 1
Only want specific traffic through VPN
Posted: Sat Sep 28, 2013 2:36 pm
by novumav
Hi.
I'm using Softether to connect my computers to my Windows 7 machine which I am using as a server for a database using SQL and some files.
I only want the traffic for the database and the files to go through the VPN. I don't want general internet traffic (i.e. from browsers, emails etc) to use the VPN.
is there a way of doing this? Am I just being stupid and missed the button to press?
Help appreciated already!
Simon
Re: Only want specific traffic through VPN
Posted: Tue Oct 01, 2013 2:51 am
by nightrelax
Hi.
I also want this
When I use vpn on client - I want to use the ip of the modem (client) when web access (turn off ssl-vpn)
With remote - sql database - application >>> use VPN
Re: Only want specific traffic through VPN
Posted: Tue Oct 29, 2013 5:38 pm
by novumav
Does anybody have any ideas?
Thanks
Re: Only want specific traffic through VPN
Posted: Wed Oct 30, 2013 2:02 am
by inten
I would use "Access List"
Re: Only want specific traffic through VPN
Posted: Wed Oct 30, 2013 2:07 am
by inten
.. or you can use Windows Firewall. Didn't you know Windows has built-in firewall?
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 6:51 am
by novumav
Thanks for this when you say I can use Windows firewall what do you mean? How do I tell it to only send certain requests through the vpn?
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 8:36 am
by mesa57
I had the same problem that clients where using the VPN gateway for internet traffic. Sometimes that is desired, sometimes not.
You can in fact steer this by setting the gateway metric on the VPN client network adapter to 'automatic'. It is installed by softether with metric 1 which causes the adapter gateway to have the highest priority.
Sometimes you have to restart the client machine after this change, but I don't know why.
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 10:12 am
by novumav
Thanks. i will try the metric change first. I will let you know what happens!
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 10:26 am
by mesa57
You can check the result by issueing a cmd / route print.
The gateway entries start with 0.0.0.0
The VPN gateway should have a higher metric then the network interface gateway.
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 7:47 pm
by novumav
Thanks. Changing the matrix has sorted it!
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 9:10 pm
by mesa57
Haha, you mean changing the metric.
A typo I suppose. Thanks for the feedback !
Re: Only want specific traffic through VPN
Posted: Thu Oct 31, 2013 9:14 pm
by novumav
Yes! Oops! I'm on my pad and it has predictive text! Sorry!