![Problemas al configurar TINC en Mac OSX 10.12.2](https://rvso.com/image/697392/Problemas%20al%20configurar%20TINC%20en%20Mac%20OSX%2010.12.2.png)
Tengo TINC configurado en algunas cajas de Linux y están funcionando muy bien.
- linux001 (vps con IP estática - 10.0.0.1)
- macosx002 (se conecta a linux001 - 10.0.0.2)
- linux050 (se conecta a linux001 - 10.0.0.50)
También tengo una Mac con OSX 10.12.2 que parece estar conectada a linux001 pero no puedo comunicarme. Llegué al punto en el que comienza conesta guía en tinc-vpn.org. En el proceso de seguir la guía, me encontré con un problema en el que no había /dev/tun0 o /dev/tap0... después de buscar un poco en Google encontré un paquete instalable detuntaposxen sourceforge ya que homebrew y macports fallaron al intentar instalar sus versiones del mismo paquete.
Entonces, actualmente macosx002 parece conectarse a linux001
Sending PING to linux001 (x.x.x.x port 655): 8
Sending 2 bytes of metadata to linux001 (x.x.x.x port 655)
Flushing 2 bytes to linux001 (x.x.x.x port 655)
Got PING from linux001 (x.x.x.x port 655): 8
Sending PONG to linux001 (x.x.x.x port 655): 9
Sending 2 bytes of metadata to linux001 (x.x.x.x port 655)
Flushing 2 bytes to linux001 (x.x.x.x port 655)
Got PONG from linux001 (x.x.x.x port 655): 9
Sin embargo, cuando intento hacer ping a macosx002 desde linux001, aparece el siguiente error:
Error while writing to Generic BSD tun device /dev/tun0: Input/output error
Error while writing to Generic BSD tun device /dev/tun0: Input/output error
Error while writing to Generic BSD tun device /dev/tun0: Input/output error
Error while writing to Generic BSD tun device /dev/tun0: Input/output error
Si intento hacer ping en la otra dirección, aparece el siguiente error:
user-mac-mini:~ user$ ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
^C
--- 10.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
Esto me lleva a creer que tincd de hecho se conecta en ambos sentidos... pero hay algún problema con el enrutamiento para sintonizar/tocar en macosx002.
Si voy a /dev/, tanto tun0 como tap0 existen, pero solo cuando instalo el paquete desde sourceforge... si instalo el paquete a través de macports, homebrew o make install... tun0 y tap0 no existen.
Cualquier ayuda sería apreciada... si termino encontrando la respuesta por mi cuenta primero, la publicaré aquí.
Respuesta1
Después de leerESTEpublicación increíble. Cambié mi tinc-up
archivo a:
ifconfig tun0 inet 10.0.0.2 10.0.0.1 up netmask 255.255.255.0
Ahora puedo hacer ping y SSH hacia y desde .1 y .2