| Line 66: |
Line 66: |
| | | | |
| | === Standard tinc setup === | | === Standard tinc setup === |
| − | Tinc can be setup in a mesh network with multiple systems. An example of such a mesh networking setup is in the picture below. | + | Tinc can be setup in a mesh network with multiple systems. |
| − | [[File:Tinc Mesh Network Diagram 1.png|left|thumb|191x191px|Tinc Mesh Network Example]]
| |
| | | | |
| − | ''Note: You can setup tinc with just two systems or as many as your system will allow.'' | + | ''Note: You can setup tinc with just two systems or as many as your system will allow.'' |
| | | | |
| − | For this setup we will have three hosts called Server 1, Server 2, and Server 3. The following is a brief synopsis of the netowrk config for each: | + | For this setup we will have three hosts called Server 1, Server 2, and Server 3. The following is a brief synopsis of the network config for each: |
| | | | |
| − | '''SERVER 1:'''
| + | [[File:Tinc Mesh Network Diagram 1.png|left|thumb|427x427px|Tinc Mesh Network Example]] |
| | | | |
| − | public ip: 44.xx.1.100 | + | <big>'''VPN NAME: NoMoreSecrets'''</big><br />'''SERVER 1:''' |
| − | | + | public ip: 44.xx.1.100 |
| − | vpn ip: 10.0.0.1 | + | vpn ip: 10.0.0.1 |
| − | | + | connects to: server 2, server 3 |
| − | connects to: server 2, server 3 | |
| | | | |
| | '''SERVER 2:''' | | '''SERVER 2:''' |
| | + | public ip: 44.xx.2.100 |
| | + | vpn ip: 10.0.0.2 |
| | + | connects to: server 1, server 3 |
| | | | |
| − | public ip: 44.xx.2.100 | + | '''SERVER 3:''' |
| − | | + | public ip: 44.xx.3.100 |
| − | vpn ip: 10.0.0.2 | + | vpn ip: 10.0.0.3 |
| | + | connects to: server 1, server 2 |
| | | | |
| − | connects to: server 1, server 3
| |
| − |
| |
| − | '''SERVER 3:'''
| |
| | | | |
| − | public ip: 44.xx.3.100
| |
| | | | |
| − | vpn ip: 10.0.0.3
| + | The following directory tree will be present on all three hosts for this setup:<syntaxhighlight> |
| | + | /etc/tinc |
| | + | └── tinc |
| | + | └── NoMoreSecrets |
| | + | ├── hosts |
| | + | │ ├── server1 |
| | + | │ ├── server2 |
| | + | │ └── server3 |
| | + | ├── rsa_key.priv |
| | + | ├── tinc.conf |
| | + | ├── tinc-down |
| | + | └── tinc-up |
| | | | |
| − | connects to: server 1, server 2
| + | </syntaxhighlight> |
| | | | |
| | === Simplified tinc 1.1 Windows setup === | | === Simplified tinc 1.1 Windows setup === |