Add peer firewall to the receiving peer

This commit is contained in:
Viktor Liu
2026-02-08 17:49:03 +08:00
parent 07e59b2708
commit 7c647dd160
7 changed files with 475 additions and 39 deletions
+3
View File
@@ -2954,6 +2954,9 @@ components:
enabled:
type: boolean
description: Whether this target is enabled
access_local:
type: boolean
description: Whether the resource is served locally on the router peer, requiring direct peer-level access
required:
- target_id
- target_type
+3
View File
@@ -2068,6 +2068,9 @@ type ReverseProxyRequest struct {
// ReverseProxyTarget defines model for ReverseProxyTarget.
type ReverseProxyTarget struct {
// AccessLocal Whether the resource is served locally on the router peer, requiring direct peer-level access
AccessLocal *bool `json:"access_local,omitempty"`
// Enabled Whether this target is enabled
Enabled bool `json:"enabled"`