mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
11 lines
399 B
Bash
11 lines
399 B
Bash
zt edge login "${ZITI_CTRL_EDGE_ADVERTISED_ADDRESS}" -u "${ZITI_USER}" -p "${ZITI_PWD}" -y
|
|
|
|
zt edge delete service zcatsvc
|
|
zt edge delete config zcatconfig
|
|
|
|
zt edge create config zcatconfig zt-tunneler-client.v1 '{ "hostname" : "zcat.zt", "port" : 7256 }'
|
|
zt edge create service zcatsvc --configs zcatconfig
|
|
zt edge create terminator zcatsvc "${ZITI_ROUTER_ADVERTISED_ADDRESS}" tcp:localhost:7256
|
|
|
|
|