Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adopt single-port default vars in ziti create config #1838

Open
qrkourier opened this issue Mar 15, 2024 · 1 comment
Open

adopt single-port default vars in ziti create config #1838

qrkourier opened this issue Mar 15, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@qrkourier
Copy link
Member

ziti create config controller still uses the default TCP port 6262 for the control plane. Now that we have ALPN, a better default is to use a single TCP port 1280 for all default TLS listeners.

@qrkourier qrkourier added the good first issue Good for newcomers label Mar 15, 2024
@qrkourier qrkourier changed the title adopt alpn in create config controller adopt single-port default vars in ziti create config Mar 21, 2024
@qrkourier
Copy link
Member Author

@dovholuknf and I decided on a set of config option variables to represent this single port default for generating configs.

  • controller
    • ZITI_CTRL_ADVERTISED_ADDRESS (default single address for ctrl plane and web listener unless the web listener is overridden by ZITI_CTRL_EDGE_ADVERTISED_ADDRESS; this changes the default for web listener from ZITI_NETWORK_NAME).
      • ZITI_CTRL_ADVERTISED_PORT (default single port for ctrl plane and web listener unless web listener is overridden by ZITI_CTRL_EDGE_ADVERTISED_PORT; this changes the default for ctrl plane to 1280)
  • router
    • ZITI_ROUTER_ADVERTISED_ADDRESS (single address for edge, link, and web listeners; there are no override vars)
      • ZITI_ROUTER_PORT (single port for edge, link, and web listeners unless edge listener port is overridden by ZITI_ROUTER_LISTENER_BIND_PORT; this changes the default link listener from 10080 to 3022)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant