# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 tinc

查看 tinc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tinc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tinc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tinc
```

  证据: MacPorts ports tree: net/tinc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tinc
```

  证据: Alpine Linux edge package indexes: tinc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tinc
```

  证据: Debian stable package indexes: tinc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tinc
```

  证据: Fedora Rawhide package metadata: tinc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tinc
```

  证据: nixpkgs package indexes: pkgs/by-name/ti/tinc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S tinc
```

  证据: Arch Linux sync databases: tinc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tinc
```

  证据: openSUSE Tumbleweed package metadata: tinc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:tinc
- **软件包管理器:** Homebrew
- **版本:** 1.0.37
- **来源摘要:** Virtual Private Network (VPN) tool
- **主页:** <https://www.tinc-vpn.org/>
- **最后更新:** 2026-06-22T14:06:29-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tincd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.37
## 项目历史与用法

tinc is a free-software VPN daemon that creates encrypted tunnels between hosts and exposes the VPN as a normal network device. Its long-term niche is small, self-managed mesh VPNs where users want userspace deployment, automatic routing between nodes, and Unix-style configuration files.

### 项目历史

The official site presents tinc as a VPN daemon using tunnelling and encryption to create secure private networks over the Internet. Its design goal is practical: because the VPN appears to IP networking as a normal network device, existing software does not need to be adapted to use it.

tinc's documented history is bound up with peer-to-peer routing and cryptographic review. The manual records security work after a key-exchange issue found in August 2000, a 2001 analysis of tinc 1.0pre4 that led to sequence numbers and packet MACs, and a 2003 analysis of tinc 1.0.1. Later 1.1 documentation describes SPTPS as an improved protocol intended to be as strong as TLS with a strong cipher suite.

The project has maintained a conservative 1.0 stable line and a long 1.1 prerelease line. The official news page listed 1.1pre18 in 2021 and 1.0.37 in 2026, with 1.0.37 described as likely the last 1.0 release.

### 采用历史

tinc's appeal has been strongest among Unix and network operators who want a deployable mesh VPN without kernel IPsec complexity. The official FAQ contrasts tinc with FreeS/WAN by emphasizing that tinc runs completely in userspace, improving portability and avoiding kernel crashes from implementation errors.

The official homepage lists broad platform support across Linux, BSDs, macOS, Solaris, and Windows, plus IPv6 support. The supplied package-manager facts show packaging in Homebrew, Debian, Ubuntu, Fedora/dnf, Alpine, Arch, MacPorts, Nix, and zypper, which is consistent with a mature infrastructure daemon maintained by many distributions.

### 使用方式

tinc is configured per VPN network name with a main tinc.conf, a hosts directory containing peer configuration, optional conf.d snippets, and node private keys. Operators use it to connect hosts, bridge Ethernet segments, route private subnets, or create full-mesh peer networks across NAT where at least one node is reachable.

For package users, tinc is usually installed as a daemon plus manpages and examples, then wired into init systems or service managers. Its value is not a flashy CLI but a stable network primitive that package managers can ship for administrators who need private overlay networking.

### 为什么软件包爱好者会关心

tinc is significant because it sits between old-school Unix daemon packaging and modern overlay-network expectations. It predates the current wave of WireGuard- and coordination-server-based tools, yet already offered automatic full-mesh routing, NAT traversal, IPv6, and userspace portability.

Its package metadata exposes a classic ops footprint: system configuration under etc, per-network host files, private key material, daemon lifecycle, and platform-specific interface setup. That makes it a useful reference point when comparing VPN packages across Homebrew and Linux distributions.

### 时间线

- 2000: The manual records a key-exchange security issue affecting versions up to 1.0pre2 and subsequent authentication work.
- 2001: The manual records analysis of tinc 1.0pre4 and later replay-protection improvements.
- 2003: The manual records security analysis of tinc 1.0.1.
- 2018: Official news announced 1.0.35 and 1.1pre17 with fixes for CVE-2018-16737, CVE-2018-16738, and CVE-2018-16758.
- 2021: Official news announced 1.1pre18.
- 2026: Official news announced 1.0.37, likely the last 1.0 release.

### Related projects

- FreeS/WAN is named in the official FAQ as a comparison point for IPsec-style VPNs.
- TLS and IPsec appear in tinc's manual as security comparison points for the legacy protocol.
- OpenSSL and LibreSSL are part of tinc's cryptographic implementation according to the homepage and manual.

### 来源

- <https://tinc-vpn.org/: official feature overview, supported platforms, latest stable release.>
- <https://tinc-vpn.org/docs/ and https://tinc-vpn.org/documentation/: official manual and documentation index.>
- <https://tinc-vpn.org/news/: release and security history.>
- <https://tinc-vpn.org/repository/: official repository clone URL.>
- source_facts.package-manager: package availability across package managers.


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /usr/local/etc/tinc/<netname>/tinc.conf, /usr/local/etc/tinc/<netname>/hosts/, /usr/local/etc/tinc/<netname>/conf.d

## Credential files

- Unix: /usr/local/etc/tinc/<netname>/rsa_key.priv
## 其他软件包管理器记录

- Debian apt - tinc - 1.0.36-2.1: normalized package name match | Debian stable package indexes: tinc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Virtual Private Network daemon | http://www.tinc-vpn.org/
- Nix - tinc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/tinc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tinc - 1.0.36-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tinc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Virtual Private Network daemon | http://www.tinc-vpn.org/
- apk - tinc - 1.0.36-r6: normalized package name match | Alpine Linux edge package indexes: tinc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Virtual Private Network (VPN) daemon | https://www.tinc-vpn.org
- apk - tinc-doc - 1.0.36-r6: normalized package name match | Alpine Linux edge package indexes: tinc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Virtual Private Network (VPN) daemon (documentation) | https://www.tinc-vpn.org
- apk - tinc-openrc - 1.0.36-r6: normalized package name match | Alpine Linux edge package indexes: tinc-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Virtual Private Network (VPN) daemon (OpenRC init scripts) | https://www.tinc-vpn.org
- dnf - tinc - 1.0.36-19.fc45: normalized package name match | Fedora Rawhide package metadata: tinc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A virtual private network daemon | http://www.tinc-vpn.org/
- pacman - tinc - 1.0.36-4: normalized package name match | Arch Linux sync databases: tinc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | VPN (Virtual Private Network) daemon | https://www.tinc-vpn.org/
- zypper - tinc - 1.0.37-1.4: normalized package name match | openSUSE Tumbleweed package metadata: tinc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A virtual private network daemon | http://www.tinc-vpn.org
- MacPorts - tinc: normalized package name match | MacPorts ports tree: net/tinc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tinc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tinc.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
