This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vpn-tinc [2024/10/18 18:53] – -Condense, formatting hogwild | vpn-tinc [2024/11/28 23:27] (current) – [Hosts Tab] hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tinc ====== | ====== Tinc ====== | ||
- | Tinc is a newer VPN technology | + | Tinc is a newer VPN technology. Unlike with other protocols, it lets you create partial/ |
The Tinc Daemon menu is divided into tabbed sections, including Tinc Configuration, | The Tinc Daemon menu is divided into tabbed sections, including Tinc Configuration, | ||
+ | |||
===== Config Tab ===== | ===== Config Tab ===== | ||
Line 11: | Line 12: | ||
\\ | \\ | ||
- | **Start with WAN: | + | **Start with WAN: |
\\ | \\ | ||
- | **Interface type: | + | **Interface type: |
- | * TUN - a routed protocol | + | * TUN - a routed protocol |
- | * TAP - a switched protocol | + | * TAP - a switched protocol |
\\ | \\ | ||
- | Generally, you should choose TUN. For more details, see the " | + | Generally, you should choose TUN. For more details, see " |
\\ | \\ | ||
- | **VPN Netmask: | + | **VPN Netmask: |
\\ | \\ | ||
- | **Host Name: | + | **Host Name:** a unique identifier of the OpenVPN device. This is NOT the device' |
\\ | \\ | ||
- | **Poll interval: | + | **Poll interval: |
| | ||
Line 42: | Line 43: | ||
\\ | \\ | ||
- | **Ed25519 Private Key: **Here, enter the private Ed25519 encryption key. This is needed for the encryption process. | + | **Ed25519 Private Key: **the private Ed25519 encryption key. |
+ | |||
+ | This is needed for the encryption process. | ||
\\ | \\ | ||
- | **RSA Private Key: * **Here, enter the private RSA key. RSA encryption uses much more CPU power than the Ed25519 protocol. \\ This key is optional and needed only for communication with hosts using Tinc 1.0 or lower. | + | **RSA Private Key: * **here, enter the private RSA key. |
+ | |||
+ | RSA encryption uses much more CPU power than the Ed25519 protocol. \\ This key is optional and needed only for communication with hosts using Tinc 1.0 or lower. | ||
\\ | \\ | ||
- | **Custom: **This field lets you specify any custom Tinc daemon parameters you like. \\ \\ | + | **Custom: **here you can specify any custom Tinc daemon parameters you wish. \\ \\ |
===== Hosts Tab ===== | ===== Hosts Tab ===== | ||
Line 64: | Line 70: | ||
\\ | \\ | ||
- | **ConnectTo: | + | **ConnectTo: |
\\ | \\ | ||
- | **Name: | + | **Name: |
\\ | \\ | ||
- | **Address: **This is used only when direct communication | + | **Address: **this is used only for direct communication. It defines the IP/FQDN where the host can be found (without a relay). |
\\ | \\ | ||
- | **Port: | + | **Port: **if blank, sets the default setting of TCP/ |
+ | |||
+ | You might need to tune this for network devices without root/ | ||
\\ | \\ | ||
- | **Compression: | + | **Compression: |
+ | |||
+ | Sometimes, compression can increase VPN speeds. You must configure all nodes with the same setting. | ||
\\ | \\ | ||
- | **Subnet: | + | **Subnet: |
+ | |||
+ | This is published to tinc peers so they know which peer hosts the subnet. | ||
\\ | \\ | ||
- | **Ed25519 Public Key: | + | **Ed25519 Public Key: |
\\ | \\ | ||
- | **RSA Public Key: * ** If you're using RSA encryption, you must define each host's public key here. | + | **RSA Public Key: * ** if you're using RSA encryption, you must define each host's public key here. |
- | RSA is optional in Tinc versions | + | RSA is optional in Tinc 1.0 and later. You must provide minimal details for all hosts defined before you can click OK and go to the next row. Clicking OK **does not** save settings. Only after you've defined all hosts, clicked " |
\\ | \\ | ||
- | **Custom: | + | **Custom: |
For example, if a host communicates with with another subnet, you could add: | For example, if a host communicates with with another subnet, you could add: | ||
Line 108: | Line 120: | ||
These settings must be consistent with the host IP/subnet + config-page " | These settings must be consistent with the host IP/subnet + config-page " | ||
- | \\ | + | \\ \\ \\ |