I am trying to finish setting up an OpenVPN server on my Ubuntu 10.04.2 server. But I seemed to have hit a snag.
The OpenVPN installation went fine, I was able to make configuration files for both the server and the client and the client can connect to the server over the internet. The problem I am having is routing related.
The server side (LAN) is able to ping the OpenVPN gateway (10.8.0.1) and the test host I have which is (10.8.0.6) I believe this is able to be done because I set a static route in my m0n0wall that routes all traffic bound for 10.8.0.0/24 through the gateway 10.0.0.6 which is the LAN address for the OpenVPN server.
This is where the problem occurs, when I sit at the client side which on a completely separate internet connection, I am not able to ping anything inside the LAN hosted by the VPN except for 10.8.0.1 and 10.0.0.6. I tried several other internal addresses and nothing went through. What am I missing, do I need a route on the OpenVPN server or something? As per a few Google searches I enabled IP forwarding on the OpenVPN server and that is when the description in the paragraph above started to work. But thats just it, only half of it works.