we don't seem to have the built-in config types documented well yet (or at all). every service can have 0-n configs associated with it. These configs are used by 'sdk applications' to do interesting things. our tunneling apps are "sdk apps" (of course). Since OpenZIti wants to provide these tunneling apps - we also invented and distribute 5 types of configs with the base install. There are two different types - the "host side" (where data leaves the ziti overlay) and the "client side" - where data gets onboarded to the overlay...
There are two 'client' related config types that are associated with intercepting packets: ziti-tunneler-client.v1, intercept.v1.
There are three 'host' related config types:ziti-tunneler-host.v1, host.v1, host.v2
To use a tunneling app - like the ziti desktop edges you need these configs on the service. that's why you see them both in the cheatsheet.
If you are writing you OWN app (like the reflect example) you don't need any configs (and thus you don't need them for the reflect example)
now I see what this does.. it sets up the configuration for the listener on the edge router.. ?? .. which is used for the Server endpoint
In this specific example.. its assuming a localhost.. but if you have installed the QuickInstall on a remote machine.. you need to replace this with $(hostname)
the example is for zssh - so you can definitely use localhost. you don't need to use the hostname. the host.v1 config is informing the tunneling app to send traffic to "localhost:22" (sshd). You could choose to use ziti like an ssh bashtion if you wanted to - and choose to send the data to some OTHER machine than localhost - however usually it's better to not trust your network. Trusting the local host os is better for sure and that means only using 'localhost' which will resolve to your loopback ip.
I think it'd be easier if you describe the solution you're trying to implement with ziti. Then I could recommend some commands to work from. It'll be easier to have a shared, common vision. That'd help me help you better. Would you mind making one new post that outlines what you're trying to do and we can try to keep these conversations more narrow? I think it'd help both of us - you to understand and me to give you better, and more targetted advice.
I do have to say your questions are very good and it's impressive how much you're picking up!