i installed openvpn, on centos 6.3. Working fine, i can also can connect from home, thing is my local ip is 192.168.80.1 which is eth0, eth1 is public ip, i configured 10.0.0.0 255.255.255.0 in /etc/openvpn/server.conf for remote clients. when i connect to vpn server, my laptop been assigned some ip like 10.0.0.6, it's also pinging to 10.0.0.1 which is tun0 , but if i try to ping 192.168.20.12 not pinging, my laptop is not comunicating with other interface of vpn server other than tun0 (10.0.0.1), if it's not possible vpn server is of no use since can't access my network 192.168.80.0
i enabled ip forwarding in /etc/sysctl and configure MASQURADE as
iptables -t nat -A POSTROUTING -j MASQUERADE
But thing i noticed was, i configured vpn ip(192.168.80.1) as gateway for one of the pc in network(192.168.80.9)and tried to ping 10.0.0.1 (tun0) after MASQUERADE, it's pinging and also pinging my laptop 10.0.0.6 which is connected in vpn from home. but my laptop 10.0.0.6 can't ping 192.168.80.9.
i suspect vpn client is unable to communicate other clients via vpn's local ip 192.168.80.1
please tell me how to configure my vpn server so that vpn clients take it's local ip as gateway
pleae help me
thank you very much.