I have a SMB client where I need to install a VPN solution. I have one CentOS server that has 3 network connections , one is an Internet connection that comes from a router. It has 10.x.x.x address (NATed by the router), the second connection is to 192.168.3.x and the third one is 192.168.4.x, I want that workers of the SMB could connect to the server from the Internet when they at the road, and could access their network resources as if they are at the office computers.
The VPN server (that is the Centos machine) is supposed to get all the VPN traffic through the firewall.
I would try to make the questions as general as I can :
- What should be the IP address of the clients? (we aren't using DHCP on the network).
- How can I make the server/client decide to which network it should be part of based on IP ? (I mean with 4.x or 3.x).
- Is it better to put the VPN solution on the router end although the router doesn't have the power of the server machine (I know that VPN involves encryption & decryption)?
I would like to get a rough outline of the configuration needed to be in place, either on the clients & the server.
As you can see from the title I am planing to use OpenVPN.
To clarify the question, i am want that workers of the Small business could connect to their home network over the Internet and access the resources of the network when they are anywhere at the world.