Page 1 of 1

I can connect to Openvpn but cannot see or Ping the internal

Posted: Sat Dec 10, 2011 1:25 pm
by dbaddour
Hi All,

In testing enviroment before moving to productions, I have installed openvn on SME (server and gateway), all went well and fowlloed all instrusctions. My server is on 192.168.10.xx. that provides the openvpn ip of 10.168.100.xx On a another system in different subnet 192.168.5.xx, I have installed and config the client and loged in received ip 192.168.100.100. i can ping the server openvpn, but cannot ping any client on the 192.168.10.x. I thought it was the firewall, but it is OFF. from the system that is on the same subnet as the server i have access to the internet also i cannot ping the client that is on the other subnet connected thry the VPN.

Idea help please, Not sure if this topic is already exist. I couldn't find it

THank you all for all your help

Re: I can connect to Openvpn but cannot see or Ping the inte

Posted: Sat Dec 10, 2011 2:00 pm
by Mimiko
Such issue already have been resolved, just search. You didn't mention anything to help you, even the private ips were hided. Its mostly the forwarding issue. Search indernet on how to enable forwarding on your system.

Re: I can connect to Openvpn but cannot see or Ping the inte

Posted: Mon Dec 12, 2011 11:40 am
by dbaddour
Hi again,

Mimiko with all due respect if during my search i found the same senario i wouldn't post my Help request.
the private network hidden?
I am asking for help please, what files or config files you need or anyone i am willing to post them. I am always online.
the VPN server has a local IP of 192.168.10.254 of course it provides its VPN IP starting by 192.168.100.1 up to 192.168.100.100
From a client on totaly different subnet and infustuction, OpenVPN client was success installed on that system received the IP of 192.168.100.1, from that system i can ping the vpn server (which is SME7 '192.168.10.254) but i cannot ping any system on that subnet of (192.168.10.xxx).
port forwarding enable UDP/1194 is open on the server.

Again please forgive me, I can provide you with all info you ask for just let me know. My concern on why i cannot see the local subnet on VPN which it does defeat its purpose.

Thank you

Re: I can connect to Openvpn but cannot see or Ping the inte

Posted: Tue Dec 13, 2011 6:37 am
by Mimiko
To help, post server and client config files, the logs, the output of "iptables -L -v" and "iptables -L -v -t nat" and the routing table and interface configurations. If you are on windows post routing table and interface configuration, for the linux, enable forwarding like this: http://www.openvpn.net/faq.html#ip-forward

Re: I can connect to Openvpn but cannot see or Ping the inte

Posted: Tue Dec 27, 2011 11:16 pm
by mmiller
What Mimiko may be referring to is: http://openvpn.net/index.php/open-sourc ... html#scope
It's a fairly common question, and many things could be wrong - if you provide all the information she asked for someone can identify the problem.

IP Forwarding is typically off in consumer OSes (including Windows and Linux).
Routing tables are a likely candidate.
(iptables or equivalent) Firewall rules could easily be the culprit, which affect both the physical adapter and the virtual interface (TUN/TAP).

OpenVPN provides a platform-agnostic method for specifying routing tables, and it sounds like based on your description, the best place for that is in your server configuration. Posting the truncated configs (no blank lines, nothing that starts with a #, $, ; as they are just comments) can also really help.