How to create point to point vpn with full client access
Posted: Tue Mar 08, 2011 8:15 am
read through: http://openvpn.net/index.php/open-sourc ... howto.html
I'm unable to get routing to anything but the openVPN server after following the above setup guide. My setup is as follows:
local lan:
192.168.45.5 openvpn server
255.255.255.0
192.168.45.1 netopia
Server configuration file:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
Client configuration file:
remote external.ip
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 192.168.45.0 255.255.255.0
I've added the static route on my gateway to include 10.8.0.0 (have also tried 10.8.2.0) to 192.168.45.5, but have no luck pinging anything but the 10.xx addresses and the openVPN server 192.168.45.5. Also, I have added the ip forwarding reg to the openVPN server. After looking through the forums and doing some searching I can't seem to come up with anything useful. Some help would be much appreciated. Thank you,
Jake
I'm unable to get routing to anything but the openVPN server after following the above setup guide. My setup is as follows:
local lan:
192.168.45.5 openvpn server
255.255.255.0
192.168.45.1 netopia
Server configuration file:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
Client configuration file:
remote external.ip
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 192.168.45.0 255.255.255.0
I've added the static route on my gateway to include 10.8.0.0 (have also tried 10.8.2.0) to 192.168.45.5, but have no luck pinging anything but the 10.xx addresses and the openVPN server 192.168.45.5. Also, I have added the ip forwarding reg to the openVPN server. After looking through the forums and doing some searching I can't seem to come up with anything useful. Some help would be much appreciated. Thank you,
Jake