# portal-relay

> Set up and run a public Portal relay on any Linux host with a public IP — Docker Compose deployment, embedded authorita…

Set up and run a public Portal relay on any Linux host with a public IP — Docker Compose deployment, embedded authoritative DNS with one-time NS delegation, optional TCP/UDP lease ports for game hosting, and registration in the public relay pool. Use when the user asks to run their own relay, contribute a relay to the Portal network, self-host a relay instead of using public ones, or open a relay with game-server support. Do not use for exposing a local service (portal-expose), reaching a published service as a client (portal-connect), or for accessing a CLI agent remotely.

- Type: Skill
- Made by: gosuda
- Category: Cloud & DevOps
- Formats: Skills
- Version: 29776bb
- Source: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay
- Page: https://pluginboard.ai/skills/portal-relay

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the portal-relay folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Claude

In Claude (web or desktop): Download the portal-relay folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Gemini

In Gemini: Download the portal-relay folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.copilot/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Cursor

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.cursor/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Claude Code

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.claude/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

Or all of Portal Tunnel, in Claude Code:

```text
/plugin marketplace add gosuda/portal-tunnel
/plugin install portal-deploy@portal-tunnel
```

### Codex

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.agents/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Antigravity

In Antigravity: Copy the portal-relay folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Gemini CLI

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.gemini/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Replit

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay .agents/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### OpenClaw

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.openclaw/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### OpenCode

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.config/opencode/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

### Hermes Agent

Run in your terminal:

```shell
npx -y degit gosuda/portal-tunnel/plugins/portal-deploy/skills/portal-relay ~/.hermes/skills/portal-relay
```

View the folder on GitHub: https://github.com/gosuda/portal-tunnel/tree/HEAD/plugins/portal-deploy/skills/portal-relay

---
From Pluginboard (https://pluginboard.ai).
