mirror of
https://github.com/openziti/zrok.git
synced 2025-06-19 08:17:05 +02:00
rough start of quickstart notes
This commit is contained in:
parent
6b47936b29
commit
def97a564d
55
docs/quickstart.md
Normal file
55
docs/quickstart.md
Normal file
@ -0,0 +1,55 @@
|
||||
# zrok quickstart
|
||||
|
||||
## ziti quickstart
|
||||
|
||||
```
|
||||
$ source /dev/stdin <<< "$(wget -qO- https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh)"; expressInstall
|
||||
```
|
||||
|
||||
## configure proxy identity
|
||||
|
||||
```
|
||||
$ ziti edge create identity device -o ~/.zrok/proxy.jwt proxy
|
||||
New identity proxy created with id: -zbBF8eVb-
|
||||
Enrollment expires at 2022-08-10T18:46:16.641Z
|
||||
```
|
||||
|
||||
```
|
||||
$ ziti edge enroll -j ~/.zrok/proxy.jwt -o ~/.zrok/proxy.json
|
||||
INFO generating 4096 bit RSA key
|
||||
INFO enrolled successfully. identity file written to: proxy.json
|
||||
```
|
||||
## start zrok resources
|
||||
|
||||
adjust `ctrl.yml` (or create a copy for your environment).
|
||||
|
||||
```
|
||||
$ zrok ctrl etc/ctrl.yml
|
||||
```
|
||||
|
||||
```
|
||||
$ zrok proxy ~/.zrok/proxy.json
|
||||
```
|
||||
|
||||
## create zrok account
|
||||
|
||||
```
|
||||
$ zrok create account
|
||||
New Username: michael@quigley.com
|
||||
New Password:
|
||||
Confirm Password:
|
||||
[ 3.122] INFO main.glob..func1: api token: 9ae56d39a6e96d65a45518b5ea1637a0677581a33ba44bbc3c103f6351ec478fb8185e97a993382ed2daa26720d40b052824dbce5ef38874c82893f33e445b06
|
||||
```
|
||||
|
||||
## enable zrok for your shell
|
||||
|
||||
```
|
||||
$ zrok enable 9ae56d39a6e96d65a45518b5ea1637a0677581a33ba44bbc3c103f6351ec478fb8185e97a993382ed2daa26720d40b052824dbce5ef38874c82893f33e445b06
|
||||
[ 0.691] INFO main.enable: enabled, identity = 'ARjEc8eVA-'
|
||||
```
|
||||
|
||||
## tunnel
|
||||
|
||||
```
|
||||
$ zrok http <endpoint>
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user