Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
tinc [2019/03/31 23:49] colin |
tinc [2019/04/27 22:19] (Version actuelle) colin |
||
---|---|---|---|
Ligne 29: | Ligne 29: | ||
[[https://www.cyberciti.biz/faq/how-to-install-tinc-vpn-on-ubuntu-linux-16-04-to-secure-traffic/|Install tinc vpn]] | [[https://www.cyberciti.biz/faq/how-to-install-tinc-vpn-on-ubuntu-linux-16-04-to-secure-traffic/|Install tinc vpn]] | ||
- | ===== Documenation ===== | + | ===== Documentation ===== |
- | + | ||
- | [[https://www.tinc-vpn.org/documentation-1.1/Example-configuration.html#Example-configuration|Example configuration]] | + | |
+ | [[https://www.tinc-vpn.org/documentation-1.1/Example-configuration.html#Example-configuration|Example configuration]], | ||
+ | [[https://www.tinc-vpn.org/documentation/tinc.conf.5|Tinc.conf.5]] | ||
+ | [[https://www.tinc-vpn.org/examples/windows-install/m|Windows-install]] | ||
===== Example ===== | ===== Example ===== | ||
+ | Port 443 and route. | ||
A: tun0 : 10.1.0.1 mask 255.255.0.0 ; IP PUBLIC : 56.142.24.99 ; Ubuntu server 18.04 | A: tun0 : 10.1.0.1 mask 255.255.0.0 ; IP PUBLIC : 56.142.24.99 ; Ubuntu server 18.04 | ||
B: tun0 : 10.2.0.2 mask 255.255.0.0 ; IP PHYSIQUE : 192.168.1.11/24 ; Ubuntu desktop 16.04 | B: tun0 : 10.2.0.2 mask 255.255.0.0 ; IP PHYSIQUE : 192.168.1.11/24 ; Ubuntu desktop 16.04 | ||
Ligne 44: | Ligne 46: | ||
===== serverA ===== | ===== serverA ===== | ||
- | Make sure port 443 open in UDP and TCP via manager | + | Make sure port 443 open in UDP and TCP via manager like scaleway... |
$ sudo mkdir -p /etc/tinc/vpn0/hosts/ | $ sudo mkdir -p /etc/tinc/vpn0/hosts/ | ||
Ligne 141: | Ligne 143: | ||
Journal : | Journal : | ||
- | journalctl -u tinc | + | $ journalctl -u tinc |
$ sudo systemctl enable tinc | $ sudo systemctl enable tinc |