Skip to main content
0.35+

tuna mesh up

Connect to team mesh network.

Connect to the mesh network of your team. Team members can see each other.

Alias: start.

Usage
tuna mesh up [flags]
FlagDescription
--advertise-exit-nodeOffer this device as an exit node (Linux/macOS).
--advertise-routes stringOffer subnet routes through this device (CIDR list, e.g. 192.168.1.0/24,10.0.0.0/8). Can be repeated.
--data-plane stringTransport client<->meshd: auto (WG with SSH fallback), wg (strict WireGuard, no fallback), ssh (SSH frame-relay only). Default: auto.
--exit-node stringRoute traffic through a mesh peer's advertised set: full internet if it offers 0.0.0.0/0, otherwise its advertised subnets (peer hostname, e.g. tunad-2 or tunad-2.tuna; mesh IP 100.x.y.z also accepted).
--exit-node-country-exclude stringCountry code (ISO-2) whose traffic bypasses the exit peer (e.g. ru, single country only, see 'tuna mesh countries'). Mutually exclusive with --exit-node-country-include; requires --exit-node. Can be repeated.
--exit-node-country-include stringCountry code (ISO-2) whose traffic is routed through the exit peer, other destinations stay on the physical interface (single country only). Requires --exit-node. Can be repeated.
--exit-node-routes-exclude stringAdditional CIDRs that bypass the exit peer; with --exit-node-country-include acts as a carve-out from the included set. Can be repeated.
--exit-node-routes-include stringAdditional CIDRs routed through the exit peer; with --exit-node-country-exclude forces listed CIDRs through the exit. Can be repeated.
--fallback-to-directFail open, off by default: when --exit-node is unreachable longer than grace, remove exit routes so traffic flows direct. Auto-restored on recovery. Requires --exit-node.
--fallback-to-direct-grace stringWait before removing exit routes after exit-node goes down (e.g. 60s). Range [10s, 10m]. Default 60s.
--node stringForce selecting a specific mesh node by hostname (see 'tuna mesh nodes').

Global flags work too.

History​

0.35.0Command added.