Hello,
I've been having problems with my VPN recently - perhaps I misconfigured something, or I am missing something in my configuration.
I have 2 networks that looks the same on both sides :
INTERNET -----> router (say 192.168.1.1) ----> SERVER (192.168.1.120 / 10.8.0.1)
the router gives wireless access for other computers. I installed openvpn on the server. On the server side I also enabled port forwarding and added "push 192.168.1.0 255.255.255.0" as well as I created static routes on my router:
destination: 10.8.0.0 gw: 192.168.1.120
there is also standard entry: dest: 0.0.0.0 gw: MY PUBLIC GW
there are the following routes on the server:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.120 0.0.0.0 UG 0 0 0 eth0
When I connect to the VPN - and get ip address (say 10.8.0.7) - I am able to ping everything in the network. I can get access to the router by typing
http://192.168.1.1. I am also able to access my server via
http://192.168.1.120. What I can't do is I can't access any services that are on wireless - e.g. wireless printer on 1.50 is pingable, but I can't access it's website via browser. The same applies for any other servers/services that are within my local area network. I can't ssh , cant web, nothing.
What can be wrong?
Thanks in advance for any answer - this problem drives me crazy ...
Peter