Hello
I wish to build my openVPN server on a premise where there is a NATing router so that client machines external to it can both access resources on the LAN which the openVPN server will be a part of (in other words, there is no DMZ) and also they should be able to route all their internet traffic through it.
I've got a debian machine running Wheezy and have been following this guide:
https://d.stavrovski.net/blog/how-to-install-and-set-up-openvpn-in-debian-7-wheezy
I've tried building the openVPN server three times now and I think I'm mis-configuring it somewhere. I'm up to step 13 in the guide, making the server.conf file. The trouble being, I don't understand what some of the lines are for, for instance, (if port 1194 is line 1) line 11. Does the VPN subnet need to be different from the LANs network (I.e., if the LAN is 10.0.0.0/24 can that line in the conf file be the same)? I have of course changed the .crt and .key file names to the name of my own crts and keys and have viewed the conf guide at
https://openvpn.net/index.php/open-source/documentation/howto.html#examples
The debian machine is a clean install, apart from what I have done in steps 1 - 12 in the guide.
On the LAN, the network is 10.0.0.0/24, the router lives at 10.0.0.1 and the DHPC and DNS server live at 10.0.0.22. The openVPN server it's self is at 10.0.0.55/24
Please let me know if I have left out any relevant info.