Example for single client with access to server's LAN?
Posted: Fri Sep 10, 2010 4:16 pm
Hello,
I'm sure an example of this must exist since it is a fairly simple and (I'm assuming) common configuration, but have been unable to find it. Here is a description of what I am trying to accomplish --
I have a single roaming client (a laptop) and I would like to access my entire home LAN from it while on the road. I do not care about providing access to/from other computers on the laptop's LAN. My home LAN is composed of a wireless router (the home LAN's gateway) and several computers behind it. I am running the OpenVPN server on one of these computers (Windows 7 Ultimate 64bit OS). I have been able to successfully establish communication between my laptop and the OpenVPN server box, but am a bit confused on how to provide access to the rest of the home LAN. Here are some additional data/questions --
Thank you,
Len
I'm sure an example of this must exist since it is a fairly simple and (I'm assuming) common configuration, but have been unable to find it. Here is a description of what I am trying to accomplish --
I have a single roaming client (a laptop) and I would like to access my entire home LAN from it while on the road. I do not care about providing access to/from other computers on the laptop's LAN. My home LAN is composed of a wireless router (the home LAN's gateway) and several computers behind it. I am running the OpenVPN server on one of these computers (Windows 7 Ultimate 64bit OS). I have been able to successfully establish communication between my laptop and the OpenVPN server box, but am a bit confused on how to provide access to the rest of the home LAN. Here are some additional data/questions --
- 1. The home LAN uses the network 192.168.99.0/24. I use the standard 10.8.0.0/24 network between the OpenVPN server and my laptop over a "tun" device.
2. The home LAN IP address of the OpenVPN server is 192.168.99.10
3. The home LAN IP address of the wireless router gateway is 192.168.99.1
4. Do I need to enable IP packet forwarding on my OpenVPN server? How does accomplish this under Windows 7?
5. I understand I will need to add a route to the wireless router for the 10.8.0.0/24 network; do I set the gateway for this route to 192.168.99.10 (the OpenVPN server's home LAN IP address)?
6. I believe I need to push a route to the client for the 192.168.99.0/24 network, is that correct?
7. Do I need to add any route commands to the server?
Thank you,
Len