Hi everybody!
I configured openvpn in my server and I can't ping my hosts on client side from server side, if I ping from client to server both OPENVPN and internal IP it's OK, if I ping from server to client OPENVPN network it's OK but to internal network IP like 192.168.2.179 it's impossible. I checked the routes and I followed this tutorial
http://community.openvpn.net/openvpn/wiki/RoutedLans I believe that's OK. When I try to ping the host 192.168.2.179 I can't see the packages arriving to the client using the tcpdump but I can see the pakages try to go out from the server.
My server is a virtual machine from Amazon, I don't know if this is a problem, Do I need change something there?
I guess could be something in virtual network configuration.
Server side configuration:
IP server 10.0.0.80
IP OPENVPN - 10.200.0.1 mask 255.255.255.248
Default GW - 10.0.0.1
10.200.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.200.0.0 10.200.0.2 255.255.255.248 UG 0 0 0 tun0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.2.0 10.200.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 10.200.0.2 255.255.255.0 UG 0 0 0 tun0
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
tracepath 192.168.2.179
1: 10.200.0.1 0.138ms pmtu 1500
1: no reply
2: no reply
3: no reply
4: no reply
5: no reply
Client side configuration:
IP server 192.168.2.179
IP OPENVPN - 10.200.0.6 mask 255.255.255.248
Default GW - 192.168.2.206
10.200.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.200.0.0 10.200.0.5 255.255.255.248 UG 0 0 0 tun0
10.0.0.0 10.200.0.5 255.255.255.0 UG 0 0 0 tun0
10.0.1.0 10.200.0.5 255.255.255.0 UG 0 0 0 tun0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 192.168.2.132 255.255.255.0 UG 0 0 0 eth0
0.0.0.0 192.168.2.206 0.0.0.0 UG 0 0 0 eth0
Thanks,
Marcos