WilcoRogers
Hey folks,
I've been trying to set up a VPN at a small office, and I'm running into troubles in a number of ways. Let me explain what I want out of this, and what I've tried doing to accomplish this. I've read through all the FAQs on the openVPN website, and I've had no luck yet.
So I have a server, with several VMs running on it. One of them will be (is) an OpenVPN server. With this VPN server, I want to be able to have all the computers in the office be able to talk to each other as if on a LAN, and be able to talk with all the VMs installed on the server, as if they were one big happy LAN family.
On top of that, (probably after I get things actually working), I want to be able to have different access "classes" for different levels of user as described in the FAQ. But that's just icing on the cake.
As for internet, I would prefer to route all the internet through one place (i.e. the VPN server). It seems to me that the idea then is to set up the VPN server essentially as a router, having it assign IPs to all the computers/VMs that connect to it, and then have all the internet traffic go through it.
Is this a feasible plan? Does it even make sense? How does one go about implementing it?
I've gotten openVPN up and running, and I am able to get a Windows client to connect and get assigned an IP, and is able to ping 10.8.0.1 (the VPN server) no problem. The VPN server however cannot ping the client, and the client has no internet access. I've done the steps to port forward, but for some reason the client is seeing a default gateway of 10.8.0.5, a number I never fed to the configuration in the first place.
Let me know if my theory is sound, and what steps can I take to get this thing going?
Thanks for your help.
Mimiko
Hello.
I didn/t really understood. Does all computers lay on same fisical LAN as the main server? If so, then why using OpnVPN?
If the office is on remote site (another building), then OpenVPN is mostlly used for VPN LAN, not for giving Internet access to those office's computers. Of course this is possible to the remote computers use the OpenVPN server Internet, but to connect them to OpenVPN server, the remote computers already have to have Internet.
After your setup of OpenVPN server, check up firewall on both, server and client. Most probably, if the client is not pinging, then client's firewall is on. Another thing is routing problem on OpenVPN server. Does you use 'route' and 'iroute' in configuration file?
Good luck.