VPN only for subnet access

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
ofeikes
Posts: 4
Joined: Sun Oct 04, 2015 7:46 pm

VPN only for subnet access

Post by ofeikes » Sun Oct 04, 2015 8:00 pm

Hi all.
I have not yet installed, but would like to understand generally if a specific setup is possible:
On the client I would like to configure SoftEther in such a way that the client PC will still route all general (internet) traffic over the local client's LAN.
Only traffic that is destined for a specific subnet (say 10.xx.xx.xx) should go via the VPN tunnel into the far LAN

Would such a setup be possible? How to configure in the client software?

Note: I did try to connect with Windows 10 native VPN client, which worked o.k., however than all network traffic is routed through the VPN tunnel

Thanks!
Oliver

exciter0
Posts: 21
Joined: Wed Jun 03, 2015 9:03 pm

Re: VPN only for subnet access

Post by exciter0 » Thu Oct 08, 2015 12:50 am

see mesa57's answer regarding changing the client's metric number

http://www.vpnusers.com/viewtopic.php?f ... lit=metric

theodisbutler
Posts: 31
Joined: Mon Feb 24, 2014 12:12 am

Re: VPN only for subnet access

Post by theodisbutler » Thu Oct 08, 2015 1:13 am

Leave the default gateway off on the VPN Server SecureNAT configuration, VirtualDHCP Server... if you look at the bottom you'll see that the default gateway is optional.

No default gateway, no way to route to internet using vpn connection (simply subnet access).

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: VPN only for subnet access

Post by thisjun » Thu Oct 15, 2015 7:32 am

You can use split tunneling.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: VPN only for subnet access

Post by thisjun » Thu Oct 15, 2015 7:32 am

You can use split tunneling on DHCP.

ofeikes
Posts: 4
Joined: Sun Oct 04, 2015 7:46 pm

Re: VPN only for subnet access

Post by ofeikes » Thu Oct 15, 2015 4:23 pm

Where and how do I set splitt tunnelling? I have trawled through quite some setting screens so far, but I am quite sure that term did not catch my eye yet?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: VPN only for subnet access

Post by thisjun » Thu Oct 29, 2015 5:31 am

If you use virtual DHCP of SoftEther, you can find split tunneling configuration in SecureNAT configuration window.
If not, you can configure split tunneling in your DHCP server configuration.

ofeikes
Posts: 4
Joined: Sun Oct 04, 2015 7:46 pm

Re: VPN only for subnet access

Post by ofeikes » Thu Oct 29, 2015 7:56 pm

Thanks for all the hints, I have used some of them to piece my solution together.
I do not use the SoftEther SecureNAT, as I want to link directly into my LAN, consequently I use the DHCP of my LAN - which is the routers DHCP ->no advanced config chances there.

What I did:
1) On the client, set a fixed IP ( v4) address of the remote LAN, but outside of the LAN's DHCP server range
2) Set the DNS server to the remote LAN's DNS, to enable name resolve within the LAN
3) Do NOT set a default gateway
4) In the advanced tab of the IPv4 settings, set the the metric on the protocol "high". I used 50 w/o issues so far

All set!

:-)

Post Reply