|
|
Hi, I want to do something with openvpn. It consists in connecting two private networks. Imagine that i have 10.1.1.0 and 10.2.2.0 They are unreachable to each other and i want to connect them togheter. To that i have the following config files: server: dev tun proto udp port 1194 cd /opt/mc/openvpn/ca ca ca.crt cert N02-srv.crt key N02-srv.key dh dh1024.pem server 172.16.2.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "route 10.2.2.0 255.255.255.0" client-config-dir ccd route 10.1.1.0 255.255.255.0 keepalive 10 120 #duplicate-cn user nobody group nobody chroot /opt/mc/openvpn tun-mtu 1500 mssfix 1400 persist-key persist-tun verb 3 client: client dev tun proto udp remote 192.168.1.101 1194 resolv-retry infinite nobind cd /opt/mc/openvpn/ca ca ca.crt cert N01-clt.crt key N01-clt.key user nobody group nobody chroot /opt/mc/openvpn tun-mtu 1500 mssfix 1400 persist-key persist-tun verb 3 With this configuration i can reach from 10.1.1.0 to 10.2.2.0 [root@imaginando ~]# ping 10.2.2.1 PING 10.2.2.1 (10.2.2.1) 56(84) bytes of data. 64 bytes from 10.2.2.1: icmp_seq=0 ttl=64 time=12.9 ms But i can't reach 10.1.1.0 from 10.2.2.0 [root@cluster ~]# ping 10.1.1.1 PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data. What is wrong? Thx, Best regards, Nuno Santos ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00036.html on line 248 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00036.html on line 248 |