El 15/10/07, José Antonio Olivera Ortega <[EMAIL PROTECTED]> escribió: > Hola, > > estoy intentando hacer una vpn dentro de la misma subred local y > soy incapaz de hacer un ping al otro extremo del tunel. > > Esta es la salida cuando ejecuto openvpn en un extremo del tunel: > > berglek:/etc/openvpn# /usr/sbin/openvpn --config /etc/openvpn/gateway.conf > Mon Oct 15 15:24:44 2007 OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] > [EPOLL] built on May 19 2007 > Mon Oct 15 15:24:44 2007 IMPORTANT: OpenVPN's default port number is now > 1194, based on an official port number assignment by IANA. OpenVPN > 2.0-beta16 and earlier used 5000 as the default port. > Mon Oct 15 15:24:44 2007 WARNING: --ping should normally be used with > --ping-restart or --ping-exit > Mon Oct 15 15:24:44 2007 Control Channel MTU parms [ L:1541 D:138 EF:38 > EB:0 ET:0 EL:0 ] > Mon Oct 15 15:24:44 2007 TUN/TAP device tun0 opened > Mon Oct 15 15:24:44 2007 /sbin/ifconfig tun0 10.1.0.2 pointopoint > 10.1.0.1 mtu 1500 > Mon Oct 15 15:24:44 2007 ./gateway.up tun0 1500 1541 10.1.0.2 10.1.0.1 init > Mon Oct 15 15:24:44 2007 Data Channel MTU parms [ L:1541 D:1450 EF:41 > EB:4 ET:0 EL:0 ] > Mon Oct 15 15:24:44 2007 Local Options hash (VER=V4): '588add67' > Mon Oct 15 15:24:44 2007 Expected Remote Options hash (VER=V4): '3ff3d966' > Mon Oct 15 15:24:44 2007 UDPv4 link local (bound): [undef]:1194 > Mon Oct 15 15:24:44 2007 UDPv4 link remote: 192.168.112.72:1194 > > Si hago un ifconfig tengo lo siguiente para el interfaz tun0: > > tun0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet addr:10.1.0.2 P-t-P:10.1.0.1 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:0 (0.0 b) TX bytes:420 (420.0 b) > > Me resulta muy raro que la linea [1] ya que pienso que no deberia ser > todo ceros. > > [1] Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > > ¿Esto es normal?¿A que se puede deber que no pueda hacer ping al otro > extremo > del tunel? > > Espero vuestra ayuda, un saludo. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
/etc/openvpn# /usr/sbin/openvpn --config /etc/openvpn/gateway.conf <-- postea este archivo el de ambas maquinas. y podes agregar un archivo log en el cual lo podes revisar activamente con tail -f /log/var/archivo-de-la-vpn -- MrIX Linux user number 412793. http://counter.li.org/ las grandes obras, las sueñan los santos locos, las realizan los luchadores natos, las aprovechan los felices cuerdo, y las critican los inútiles crónicos, yo no fui, seguro que es mas inteligente.