Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente |
es:howtos:network_services:tinc [2019/02/23 21:44 (UTC)] – [Configuración] rramp | es:howtos:network_services:tinc [2019/02/24 14:44 (UTC)] – [VPN con Tinc] rramp |
---|
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> |
====== VPN con Tinc ====== | ====== VPN con Tinc ====== |
[[http://www.tinc-vpn.org|Tinc]] es un software de código abierto para crear redes privadas virtuales (VPN), las VPN a través de otro canal físico como Internet, donde los hosts (nodos) participantes individuales aparecen en las aplicaciones como si estuvieran conectados por cable en LAN. | [[http://www.tinc-vpn.org|Tinc]] es un software de código abierto para crear redes privadas virtuales (VPN), las VPN a través de otro canal físico como Internet, donde los nodos (hosts) participantes individuales aparecen en las aplicaciones como si estuvieran conectados por cable en LAN. |
| |
<del>[[http://www.tinc-vpn.org|Tinc]] is open source software for creating VPNs, virtual private networks over other physical channel such as the Internet, where individual participating hosts (nodes) appear to applications as if connected by wire in LAN.</del> | |
| |
| |
<del> * In tinc.conf, omit Interface directive, because Tinc daemon will then automatically select TUN/TAP device and directive may do more harm than good. Especially if Tinc service starts and fails immediately, check that Interface is not set. | <del> * In tinc.conf, omit Interface directive, because Tinc daemon will then automatically select TUN/TAP device and directive may do more harm than good. Especially if Tinc service starts and fails immediately, check that Interface is not set. |
</del> | </del> |
* Tinc-up script is not used on Windows. You created persistent TUN/TAP device during installation (did you?) and now only manually configure IP (run ncpa.cpl, see properties of device and so on). This can be also scripted with command such as: | * La secuencia de comandos (script) //Tinc-up// no es utilizado sobre Windows. Usted creo un dispositivo TUN/TAP persistente durante la instalación (¿lo hizo?) y ahora solo configuré manualmente la IP (ejecute ncpa.cpl), vea las propiedades del dispositivo, etc).Esto también puede ser automatizado con una secuencia de comandos como por ejemplo: |
| <del> * Tinc-up script is not used on Windows. You created persistent TUN/TAP device during installation (did you?) and now only manually configure IP (run ncpa.cpl, see properties of device and so on). This can be also scripted with command such as: |
| </del> |
<code> | <code> |
netsh interface ip set address name="Local Area Connection number" static <IP address> <mask> | netsh interface ip set address name="Local Area Connection number" static <IP address> <mask> |
</code> | </code> |
| |
* But be warned: when created, TUN/TAP device can aquire pretty much any number in name, most likely 2, but not always. | * Pero tenga cuidado: cuando se crea, dispositivos TUN/TAP puede adquirir cualquier número de nombre, probablemente 2, pero no siempre. |
| |
* Finally, install (and start) Tinc service: | * Finalmente, instale (e inicie) el servicio Tinc: |
| |
<code> | <code> |
</code> | </code> |
| |
* Or, if service already exists, start service: | * O, si el servicio existe, inicie el servicio: |
| |
<code> | <code> |