====== Vibemosphere Port Relay ====== TCP port relay: bind a port to 127.0.0.1, 0.0.0.0 or a network interface and forward it to another IP and port (for example to a virtual machine). ^ Id | ''relay'' | ^ Role | ''admin'' - needed for the page and the REST API (administrators always may) | ^ Page | **Plugins > Open** (overlay with an X at the top right) or ''/plugins/relay/'' | ^ REST | ''/api/plugins/relay/...'' and, for callers with the role, ''/plugins/relay/...'' | ===== Open the configuration ===== In the administration open **Plugins**, select the row of this plug-in and press **Open**. The page opens in an overlay dialog: close it with the **X** at the top right, with Esc or by clicking outside; //Open in a new tab// next to the title shows it full size. {{vibecat:plugin-relay.png?900|Vibemosphere Port Relay: the plug-in page in its overlay dialog}} ===== Step by step ===== - Press **New relay**: an id, the interface to **listen on** (127.0.0.1, 0.0.0.0 or a named interface), the **listen port**, and the **target host** and **target port** (for example a virtual machine). - Use **Start / Stop / Restart** per row, and **Test target** to check that the target answers. The row shows refused connections, unreachable targets and the last connection. ===== The page in detail ===== {{vibecat:plugin-relay-full.png?900|Vibemosphere Port Relay: the whole page (playground instance)}} The page has these sections: **Relays**, **Test a target**. ===== Fields and columns ===== ^ Label ^ Meaning ^ | Name | | | Id | Letters, digits, . _ - | | Listen on | 0.0.0.0 = every interface, 127.0.0.1 = this computer only | | Listen port | | | Listen | | | Target host | IP address or name, e.g. of a virtual machine | | Target port | | | Forward to | | | Open | | | Total | | | Traffic | | | Enabled | | | Allowed clients | One per line: 192.168.1.0/24, 10.0.0.5 (empty = everybody) | | Connect time-out (s) | | | Idle time-out (s) | 0 = a connection may stay idle | | Max. connections | 0 = no limit | | Description | | | Host | | | Port | | ===== Actions ===== * **Connect** * **Start** * **Stop** * **Restart** * **Test target** * **Refresh** ===== Notes from the page ===== * A relay is started with Vibecat when it is enabled. Allowed clients (empty = everybody) are addresses or networks such as 192.168.1.0/24 . Ports below 1024 may need more rights; a port that is in use shows its error here and in the Log. ===== Reference ===== This plug-in has no separate documentation page; the sections above describe its page. The REST API follows the pattern ''/api/plugins/relay/...'' (see [[vibecat:plugins:start|plug-in overview]]). [[vibecat:plugins:start|All plug-ins]]