This is a discussion on Trouble with OpenVPN setup within the Linux Operating System forums, part of the Unix Operating Systems category; --> I am trying to setup a vpn between two satellite offices. I've setup my test route and managed to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to setup a vpn between two satellite offices. I've setup my test route and managed to ping successfully to both side of the tunnel. But thats where it goes down hill. I insert my routes on each system and manage to ping both immediate hosts. However when I try to ping another host on network A I get no response. My test setup is like this: System A openvpn --remote 69.136.29.02 --dev tun0 --ifconfig 10.99.99.1 10.99.99.2 --verb 5 route add -net 192.168.5.0 netmask 255.255.255.0 gw 10.99.99.1 System B openvpn --remote 207.58.11.14 --dev tun0 --ifconfig 10.99.99.2 10.99.99.1 --verb 5 route add -net 192.168.7.0 netmask 255.255.255.0 gw 10.99.99.2 With the above setup system A's lan address is 192.168.7.6 and thats fully pingable from system B. System B's lan address is 192.168.5.1 and system B and everyother system on the 192.168.5.0 network is pingable from system A. With the verbose settings I can see the activity going both ways across the network, when I'm pinging a responsive machine I get a series of WRWR's which I'll assume is good. With a non-responsive ping (ie to most of the 192.168.7.0 network, openvpn host excluded) I get WR on both sides. I've tried just about every bastardization of the route I could think of, I've Flushed iptables (neither systems has much in the way of firewall), enabled ip forwarding, restarted the network, etc. route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.99.99.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.5.0 10.99.99.1 255.255.255.0 UG 0 0 0 tun0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.7.1 0.0.0.0 UG 0 0 0 eth0 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.99.99.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 69.136.29.06 0.0.0.0 255.255.255.248 U 0 0 0 eth2 192.168.7.0 10.99.99.2 255.255.255.0 UG 0 0 0 tun0 69.136.29.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 69.136.29.02 0.0.0.0 UG 0 0 0 eth2 Any suggestions would be appreciated. |