Skip to content

Commit b892349

Browse files
committed
Update README.md
1 parent 387c989 commit b892349

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,39 @@ Write: `logs {"container_name":"fula_go","tail_count":"50"}`
732732

733733
Response: Log text from the specified container.
734734

735+
#### wireguard/start
736+
737+
Starts the WireGuard support tunnel. Registers with the support server if not already registered, then brings up the tunnel. This is a long-running command (threaded).
738+
739+
Write: `wireguard/start`
740+
741+
Response:
742+
```json
743+
{ "installed": true, "registered": true, "active": true, "endpoint": "support.fx.land:51820", "assigned_ip": "10.0.0.5/32", "peer_id_registered": "12D3KooW..." }
744+
```
745+
746+
#### wireguard/stop
747+
748+
Stops the WireGuard support tunnel.
749+
750+
Write: `wireguard/stop`
751+
752+
Response:
753+
```json
754+
{ "status": "stopped" }
755+
```
756+
757+
#### wireguard/status
758+
759+
Returns the current WireGuard support tunnel status without changing state.
760+
761+
Write: `wireguard/status`
762+
763+
Response:
764+
```json
765+
{ "installed": true, "registered": true, "active": false, "endpoint": "support.fx.land:51820", "assigned_ip": "10.0.0.5/32", "peer_id_registered": "12D3KooW..." }
766+
```
767+
735768
### Error Responses
736769

737770
On any error, BLE commands return:

0 commit comments

Comments
 (0)