Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion proto/agynio/api/ziti_management/v1/ziti_management.proto
Original file line number Diff line number Diff line change
Expand Up @@ -153,25 +153,37 @@ message CreateAppIdentityResponse {

// OpenZiti host.v1 config — tells the hosting sidecar where to forward traffic.
message HostV1Config {
// Static target protocol. Leave empty only when forward_protocol is true.
string protocol = 1;
// Static target host/address. Leave empty only when forward_address is true.
string address = 2;
// Static single target port. Leave zero only when forward_port is true or
// allowed_port_ranges is populated for multi-port target mappings.
int32 port = 3;
bool forward_protocol = 4;
bool forward_address = 5;
bool forward_port = 6;
repeated string allowed_protocols = 7;
repeated string allowed_addresses = 8;
// Target port ranges allowed by host.v1. PrivateResource provisioning uses
// one single-port range per target port, in the same order as intercept.v1
// port_ranges. OpenZiti maps forwarded intercept ports to target ports
// positionally, so callers must preserve cardinality and ordering.
repeated PortRange allowed_port_ranges = 9;
}

// OpenZiti intercept.v1 config — tells dialing tunnelers which address to intercept.
message InterceptV1Config {
repeated string protocols = 1;
repeated string addresses = 2;
// Intercept port ranges. PrivateResource provisioning uses one single-port
// range per intercept port, in the same order as host.v1
// allowed_port_ranges. OpenZiti maps forwarded intercept ports to target
// ports positionally, so callers must preserve cardinality and ordering.
repeated PortRange port_ranges = 3;
}

// A port range for intercept.v1 config.
// A port range for host.v1 and intercept.v1 config.
message PortRange {
int32 low = 1;
int32 high = 2;
Expand Down
Loading