Dimensione: 1730
Commento:
|
Dimensione: 1733
Commento:
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 38: | Linea 38: |
6) Get an IP address in the subnet 10.0.1.0/24 and add your self in the table on this wiki page: GestioneIndirizzi | 7) Get an IP address in the subnet 10.0.1.0/24 and add your self in the table on this wiki page: GestioneIndirizzi |
Linea 40: | Linea 40: |
7) Create che file {{{/etc/tinc/ninux/tinc-up}}} | 8) Create che file {{{/etc/tinc/ninux/tinc-up}}} |
Linea 50: | Linea 50: |
{{{chmod +x /etc/tinc/ninux/tinc-up | {{{chmod +x /etc/tinc/ninux/tinc-up}}} |
Linea 52: | Linea 52: |
7) Send an email to zioproto@gmail.com with your Nickname choosen at point 3 and your generated '''public''' key so we can authorize you in the VPN server. | 9) Send an email to zioproto@gmail.com with your Nickname choosen at point 3 and your generated '''public''' key so we can authorize you in the VPN server. |
Connect to Ninux Network with Tinc VPN
1) Install tinc on your Linux (e.g. apt-get install tinc)
2) mkdir /etc/tinc/ninux
3) Create /etc/tinc/ninux/tinc.conf
Name = yournickname ConnectTo = Norimberga Mode = switch
Please pick a unique yournickname. Norimberga is our hub server. Mode switch is required because tinc will operate with a tap interface, needed to run olsr on it.
4) Generate a Keypair tincd -n ninux -K
5) Create the hosts folder mkdir /etc/tinc/ninux/hosts/
6) Create the file /etc/tinc/ninux/hosts/Norimberga
This file has the address and the public key of the server
Address = svn.ninux.org -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEA30bZWtIej9kj837Eb8C+nxvEXfy4Jly41tuJYfzpJiP/pTQGaPyF XDEdfwAq8qJpfLaRfKl0pQ9rbDo4zjSlNW8e/5BxTnobXHcvSD9sm8bNAME2qBkI plmeWt4RvDmEKDrJWyUIoyKyaTcCkXpfHslTJSBBj7TSjYX9SCfTkSS3GjNDWMjc C02i2+ZB3balcR+Ea046l/GVFp0htxrUFxew5RDXPmmaiQRF6cpm3fMNtdq9ixz+ uJNjmfHW/lHk4KMUj6KMLca9mS4TWsFxLYmP0jZi7lD2hA3dNCW4nua8HHYPwj+X Mh/vucAMckowzaf+51bGD+o8HVuM1hm4TwIDAQAB -----END RSA PUBLIC KEY-----
7) Get an IP address in the subnet 10.0.1.0/24 and add your self in the table on this wiki page: GestioneIndirizzi
8) Create che file /etc/tinc/ninux/tinc-up
ip link set dev ninux up ip a a dev ninux HEREYOURIPADDRESS/24 broadcast 10.0.1.255
Where in place of HEREYOURIPADDRESS you must put the IP address choosen at point 6 of this guide
Make the file executable chmod +x /etc/tinc/ninux/tinc-up
9) Send an email to zioproto@gmail.com with your Nickname choosen at point 3 and your generated public key so we can authorize you in the VPN server.