> Markdown version of https://tuna.am/en/docs/cli/mesh/up/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# 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

```bash
tuna mesh up [flags]

```

| Flag                                 | Description                                                                                                                                                                                                          |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--advertise-exit-node`              | Offer this device as an exit node (Linux/macOS).                                                                                                                                                                     |
| `--advertise-routes string`          | Offer subnet routes through this device (CIDR list, e.g. 192.168.1.0/24,10.0.0.0/8). Can be repeated.                                                                                                                |
| `--data-plane string`                | Transport client<->meshd: auto (WG with SSH fallback), wg (strict WireGuard, no fallback), ssh (SSH frame-relay only). Default: `auto`.                                                                              |
| `--exit-node string`                 | Route 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 string` | Country 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 string` | Country 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 string`  | Additional 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 string`  | Additional CIDRs routed through the exit peer; with `--exit-node-country-exclude` forces listed CIDRs through the exit. Can be repeated.                                                                             |
| `--fallback-to-direct`               | Fail 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 string`  | Wait before removing exit routes after exit-node goes down (e.g. 60s). Range \[10s, 10m]. Default 60s.                                                                                                               |
| `--node string`                      | Force selecting a specific mesh node by hostname (see 'tuna mesh nodes').                                                                                                                                            |

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.

## History

|        |                |
| ------ | -------------- |
| 0.35.0 | Command added. |
