diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index cf28c5b9b..4651fb9b1 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -380,6 +380,14 @@ target: ingress-worker: Ingress worker host: Host network: Private network + filter-explainer: + any-worker: In this configuration, the client will attemt to connect through any client-accessible worker. + egress-worker: In this configuration, the client will attemt to connect through any filtered egress worker. + ingress-worker: In this configuration, the client will attempt to conect through any filtered ingress worker. + hcp-worker: In this configuration, the client will attempt to connect through any HCP-managed worker. + ent-dual-egress-on: In this configuration, the client will attempt to connect through any client-accessible "frontline" worker and reach the host through any filtered egress worker. + hcp-dual-egress-on: In this configuration, the client will attempt to connect through any HC-managed worker and reach the host through any filtered egress worker. + dual-egress-on-ingress-on: In this configuration, the client will attempt to connect through any filtered ingress worker and reach the house through any filtered egress worker. egress_worker_filter: title: Egress worker filter description: Optional. Specify workers that have access to the target (such as within a private network). diff --git a/ui/admin/app/components/form/target/details/index.hbs b/ui/admin/app/components/form/target/details/index.hbs index 888c1691e..56cf42ff7 100644 --- a/ui/admin/app/components/form/target/details/index.hbs +++ b/ui/admin/app/components/form/target/details/index.hbs @@ -233,7 +233,6 @@ - {{/if}} - {{/if}} {{else}} +
+ + {{t 'resources.target.workers.filter-explainer.hcp-dual-egress-on'}} + +
{{else if @ingressFilter}} +
+ + {{t 'resources.target.workers.filter-explainer.ingress-worker'}} + +
{{else if @egressFilter}} +
+ + {{t 'resources.target.workers.filter-explainer.egress-on'}} + +
{{else}} +
+ + {{t 'resources.target.workers.filter-explainer.hcp-worker'}} + +
{{/if}} \ No newline at end of file diff --git a/ui/admin/app/components/worker-diagram/dual-filter/index.hbs b/ui/admin/app/components/worker-diagram/dual-filter/index.hbs index 2382fc68a..16a51bde6 100644 --- a/ui/admin/app/components/worker-diagram/dual-filter/index.hbs +++ b/ui/admin/app/components/worker-diagram/dual-filter/index.hbs @@ -19,6 +19,13 @@ +
+ + {{t + 'resources.target.workers.filter-explainer.dual-egress-on-ingress-on' + }} + +
{{else if @ingressFilter}} @@ -31,6 +38,11 @@ {{t 'resources.target.workers.diagram.host'}} +
+ + {{t 'resources.target.workers.filter-explainer.ingress-worker'}} + +
{{else if @egressFilter}} @@ -51,6 +63,11 @@ +
+ + {{t 'resources.target.workers.filter-explainer.egress-worker'}} + +
{{else}} @@ -63,5 +80,10 @@ {{t 'resources.target.workers.diagram.host'}} +
+ + {{t 'resources.target.workers.filter-explainer.any-worker'}} + +
{{/if}} \ No newline at end of file diff --git a/ui/admin/app/components/worker-diagram/single-filter/index.hbs b/ui/admin/app/components/worker-diagram/single-filter/index.hbs index a2420e610..991f605b2 100644 --- a/ui/admin/app/components/worker-diagram/single-filter/index.hbs +++ b/ui/admin/app/components/worker-diagram/single-filter/index.hbs @@ -15,6 +15,11 @@ +
+ + {{t 'resources.target.workers.filter-explainer.egress-worker'}} + +
{{else}} @@ -27,4 +32,9 @@ {{t 'resources.target.workers.diagram.host'}} +
+ + {{t 'resources.target.workers.filter-explainer.any-worker'}} + +
{{/if}} \ No newline at end of file diff --git a/ui/admin/app/styles/app.scss b/ui/admin/app/styles/app.scss index 5382ad5b5..8cf2b9b12 100644 --- a/ui/admin/app/styles/app.scss +++ b/ui/admin/app/styles/app.scss @@ -688,3 +688,8 @@ margin-bottom: sizing.rems(l); } } + +.target-worker-filter-explainer { + min-height: 1rem; + margin: 1.125rem 0 1.5rem; +}