Page 1 of 1
Routing specific IP address ranges
Posted: Thu Aug 06, 2015 4:06 pm
by kolpinkb
I would like to know if softether vpn can route specific IP address range requests over the VPN connection while transmitting/receiving others over the local connection. Specifically, I would like to set up a VPN server location with a public IP address and a VPN bridge at another remote location with its own public IP address. I would like the computers connected directly to and remotely to the VPN bridge network to communicate 192.168.x.x requests over the VPN while allowing all other requests to go in/out of the VPN bridge's network gateway to the public domain.
Re: Routing specific IP address ranges
Posted: Thu Aug 06, 2015 4:27 pm
by kh_tsang
Softether VPN Server is a VPN passing Ethernet frames. The routing can be done in your own routing systems. I use two linux servers(one as server and one with a cascade connection) in the picture.
Re: Routing specific IP address ranges
Posted: Tue Aug 11, 2015 1:32 am
by kolpinkb
Thank you for your quick response. What you have proposed seems straightforward. I'll give it a try asap.
Re: Routing specific IP address ranges
Posted: Wed Aug 12, 2015 7:01 pm
by kolpinkb
I am in the midst of getting this system set up. However, I would like to clarify that both server A and server B will have a mixture of regular LAN clients and VPN clients. Also, Server A will have specific resources that server B doesn't and vice versa. For example, server A will be a remote backup site for server B and vice versa. Lastly, if a LAN computer or VPN client is connected to server A and requests information from the public domain I would like it to user server A's public internet connection. The same goes for server B. Do your setup recommendations still hold?
Re: Routing specific IP address ranges
Posted: Thu Aug 13, 2015 2:59 am
by kh_tsang
Yes, because the default route is still pointing at their own WAN.
Also, it is not a mixture of LAN client and VPN client. The two VPN servers have three interfaces, one is the WAN connection, one is the LAN connection and the tap device is connected to the Virtual Hub configured in the local bridge settings. Add a cascade connection on one server connecting to the other, do this on one side only.