Only want specific traffic through VPN
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Only want specific traffic through VPN
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
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
-
- Posts: 3
- Joined: Wed Jul 24, 2013 7:36 am
Re: Only want specific traffic through VPN
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
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
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Re: Only want specific traffic through VPN
Does anybody have any ideas?
Thanks
Thanks
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: Only want specific traffic through VPN
I would use "Access List"
You do not have the required permissions to view the files attached to this post.
-
- Posts: 370
- Joined: Fri Oct 18, 2013 8:15 am
Re: Only want specific traffic through VPN
.. or you can use Windows Firewall. Didn't you know Windows has built-in firewall?
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Re: Only want specific traffic through VPN
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?
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Only want specific traffic through VPN
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.
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.
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Re: Only want specific traffic through VPN
Thanks. i will try the metric change first. I will let you know what happens!
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Only want specific traffic through VPN
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.
The gateway entries start with 0.0.0.0
The VPN gateway should have a higher metric then the network interface gateway.
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Re: Only want specific traffic through VPN
Thanks. Changing the matrix has sorted it!
-
- Posts: 153
- Joined: Fri Oct 11, 2013 4:00 pm
Re: Only want specific traffic through VPN
Haha, you mean changing the metric.
A typo I suppose. Thanks for the feedback !
A typo I suppose. Thanks for the feedback !
-
- Posts: 9
- Joined: Sat Sep 28, 2013 2:10 pm
Re: Only want specific traffic through VPN
Yes! Oops! I'm on my pad and it has predictive text! Sorry!