# Config file to run git example

**URL:** https://openziti.discourse.group/t/config-file-to-run-git-example/378
**Category:** General Questions
**Created:** [April 6, 2022, 2:17pm UTC](https://openziti.discourse.group/t/config-file-to-run-git-example/378 "2022-04-06T14:17:16Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)
#### Post date: [April 6, 2022, 2:34pm UTC](https://openziti.discourse.group/t/config-file-to-run-git-example/378/2 "2022-04-06T14:34:56Z")

</div>

You can find a quick video which has the necessary commands in the description on our youtube channel at [sample http link c - YouTube](https://youtu.be/YNsR7p60InA)

I don’t think we have a server/client example yet but I’ll see if we can get something like that added soon.

ziti cli commands for running that example using a ziti-egde-tunnel on the server side is below (copied from that video)

```auto
# create two identities. one host - one client. Only necessary if you want/need them. Skippable if you
ziti edge create identity device httpbin.server -a httpbinServerEndpoints -o httpbin.server.jwt
ziti edge create identity device httpbin.client -a httpbinClientEndpoints -o httpbin.client.jwt

ziti edge enroll httpbin.server.jwt
ziti edge enroll httpbin.client.jwt

ziti edge create config httpbin-host.v1 host.v1 '{"protocol":"tcp", "address":"httpbin.org","port":80}'
ziti edge create service httpbin --configs httpbin-host.v1
ziti edge create service-policy httpbin-binding Bind --service-roles '@httpbin' --identity-roles '#httpbinServerEndpoints'
ziti edge create service-policy httpbin-dialing Dial --service-roles '@httpbin' --identity-roles '#httpbinClientEndpoints'

```

---

_[View the full topic](https://openziti.discourse.group/t/config-file-to-run-git-example/378)._
