Hi!
Is there a way to use zrok with ziti mobile edge? If zrok is running on top of ziti, I should technically be able to do it using ziti APIs directly. I tried to look for similar topics on discourse, and the closest I got is this article: Can zrok be used to expose local mqtt broker to internet? - #26 by michael.quigley
In one of the comments I found this:
ziti edge create identity "android1"
--role-attributes "mqtt-clients"
--jwt-output-file "android1.jwt"
ziti edge update service "my-mqtt-zrok-share" \ --role-attributes "mqtt-services"
ziti edge create service-policy "mqtt-dial-policy" Dial \ --service-roles '#mqtt-services' \ --identity-roles '#mqtt-clients'
I added an identity to my phone, I can see the network in ziti mobile edge. Then, I ran a zrok share (private, this is what I would like to achieve) and updated the service attributes directly where my controller and edge router runs using ziti api (I run a self hosted zrok instance). Finally, I ran the last command to setup a service policy. After this I am able to see the service in Ziti Mobile Edge.
However, I was not able to access it. I tried to use the regular way as when i use zrok for public shares (<generated_token>.my.network.com, although with zrok a private share would spin up a local port, so this doesn’t feel right, but since i setup a service policy, i figured maybe). I thought maybe ziti mobile edge will intercept it as it appears to be running as a vpn service on the phone.
I want to setup a reserved share, make it private and then using the commands above expose it to my phone (or any other identities i issue)
Would it be feasible to try to make it work in this combo (zrok + ziti + ziti mobile edge) or should i just set it up directly, without using zrok (the API is really nice though)? Another option would be to put zrok on my phone and run it via Termux (i as in one of the topics somebody put arm version onto the phone). That was my first thought of how I could use it directly, but I’d prefer using mobile edge if possible.
Thank you in advance.
P.S. I love zrok and open ziti
Only scratching the surface, but it’s really fun. Thank you for creating a wonderful project!
zrok Ziti Overlay Tunneler Apps > Ziti Mobile Edge for Android