# Allow Saas Product via Ziti

**URL:** <https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090>\
**Category:** Support\
**Created:** [September 5, 2024, 7:34am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090 "2024-09-05T07:34:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ss\_vinoth22](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ss\_vinoth22](https://openziti.discourse.group/u/ss_vinoth22)\
**Post date:** [September 5, 2024, 7:34am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/1 "2024-09-05T07:34:07Z")

</div>

I'm currently using Ziti Edge on an IoT device to enable a Zero Trust Network Access (ZTNA) URL to be accessed from a PC without internet. Is it possible to use Ziti to allow access to third-party SaaS applications? like i need people to access attendance saas site from no internet PC is it allowed?

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [September 5, 2024, 1:27pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/2 "2024-09-05T13:27:43Z")

</div>

👋 Hey there @ss_vinoth22, Do you mean the PC without internet can only communicate with other peers in its subnet (LAN), but doesn't have an outbound route to the public internet?

---

<div class="post-metadata">

**Author:** ![ss\_vinoth22](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ss\_vinoth22](https://openziti.discourse.group/u/ss_vinoth22)\
**Post date:** [September 6, 2024, 1:27am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/3 "2024-09-06T01:27:37Z")

</div>

Yes, i have already implemented like this  
Request from no-internet PC → OpenZiti Tunneler(verify and forward) → openziti router in aws → response to tunneler → no-internet PC.

this is working fine for any internal apps thats been self hosted in cloud .  
but i need to allow saas products like Gmail, googledrive or attendance management cloud services, im not sure how to allow these apps via open ziti.

---

<div class="post-metadata">

**Author:** ![mike.gorman](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/mike.gorman/32/7_2.png) [@mike.gorman](https://openziti.discourse.group/u/mike.gorman)\
**Post date:** [September 6, 2024, 10:30am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/4 "2024-09-06T10:30:23Z")

</div>

You can use FQDNs including wildcards. SaaS offerings can sometimes be difficult, depending on the level of specificity you want, embedded calls may be from other domains, etc., so it may be that you have to make a few services over time as you find them. However, you can build an intercept for \*.google.com for example, which should get you most any Google service.

> **[Tunneler Config Type intercept.v1 | OpenZiti](https://openziti.io/docs/learn/core-concepts/config-store/config-type-intercept-v1/#examples)**
>
> A Config of Config Type intercept.v1 configures an intercepting Ziti tunneler as a proxy for a particular Ziti service.

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [September 6, 2024, 3:58pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/5 "2024-09-06T15:58:11Z")

</div>

This got me thinking "Can I make a catch-all service?" I created a pair of configs in an attempt to intercept everything on the client side and allow everything on the hosting side (all protocols, all domain names, all ports). It didn't work with either `*.` or `*`, but it did with one or more TLDs like `*.com`.

---

<div class="post-metadata">

**Author:** ![ss\_vinoth22](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ss\_vinoth22](https://openziti.discourse.group/u/ss_vinoth22)\
**Post date:** [September 8, 2024, 9:17am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/6 "2024-09-08T09:17:18Z")

</div>

> [@qrkourier](#):
>
> verything on the client side and allow everyt

neither me too.  
im trying to enable moneyforward site,  
added host as  
{  
"protocol": "tcp",  
"address": "[attendance.moneyforward.com](http://attendance.moneyforward.com)",  
"port": 443,  
"httpChecks": ,  
"portChecks":   
}

intercept as  
{  
"portRanges": [  
{  
"high": 443,  
"low": 443  
}  
],  
"addresses": [  
"\*.moneyforward.com",  
"[www.googlemanager.com](http://www.googlemanager.com)"  
],  
"protocols": [  
"tcp"  
]  
}

this is not working  
im getting error on page, it is failing on resolving [cdn.moneyforward.com](http://cdn.moneyforward.com)

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [September 9, 2024, 3:38pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/7 "2024-09-09T15:38:02Z")

</div>

This catch-all service works for me now with matching `0.0.0.0/0` IP intercept and host configs like these. This applies to IPv4, and IPv6 routes are unaffected.

### `intercept.v1`

```json
{
  "name": "full-tunnel-intercept",
  "configTypeId": "g7cIWbcGg",
  "data": {
    "portRanges": [
      {
        "low": 1,
        "high": 65535
      }
    ],
    "addresses": [
      "0.0.0.0/0"
    ],
    "protocols": [
      "tcp",
      "udp"
    ]
  }
}

```

### `host.v1`

```json
{
  "name": "full-tunnel-host",
  "configTypeId": "NH5p4FpGR",
  "data": {
    "forwardProtocol": true,
    "forwardAddress": true,
    "forwardPort": true,
    "allowedAddresses": [
      "0.0.0.0/0"
    ],
    "allowedPortRanges": [
      {
        "low": 1,
        "high": 65535
      }
    ],
    "allowedProtocols": [
      "tcp",
      "udp"
    ],
    "httpChecks": [],
    "portChecks": []
  }
}

```

---

<div class="post-metadata">

**Author:** ![ss\_vinoth22](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ss\_vinoth22](https://openziti.discourse.group/u/ss_vinoth22)\
**Post date:** [September 10, 2024, 9:41pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/8 "2024-09-10T21:41:32Z")

</div>

Thanks yeah this works. One more thing does Open ziti support SAML configurations?  
like Google workspace or office 365 will have SAML , i need to allow only SAML SSO via Ziti. to avoid access personal account.

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [September 12, 2024, 11:36am UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/9 "2024-09-12T11:36:59Z")

</div>

No, there's not currently a way to restrict specific application protocols for an authorized service. Ziti services are transport sockets and so will transmit any TCP or UDP payload at layer 4.

---

<div class="post-metadata">

**Author:** ![ss\_vinoth22](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ss\_vinoth22](https://openziti.discourse.group/u/ss_vinoth22)\
**Post date:** [September 18, 2024, 12:50pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/10 "2024-09-18T12:50:39Z")

</div>

Im thinking to use openziti + cloudflare tunnel to access SAML based SaaS products, Have anyone has tried that before?

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [September 18, 2024, 5:11pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/11 "2024-09-18T17:11:41Z")

</div>

In this thread, we discussed creating a "full tunnel" experience with a Ziti service that forwards all outbound traffic to an exit point from the Ziti network.

I believe the aim was to funnel the endpoint's traffic through Ziti to ensure it arrived at a SaaS from an authorized source address.

How are you thinking of using `cloudflared` in tandem with OpenZiti? I have only a little experience with `cloudflared`, and it seems to be redundant to OpenZiti's `ziti-edge-tunnel` system service.

If accessing SaaS through a full tunnel service is still the topic of this thread, then I expect you are asking whether SAML would continue to function with a given SaaS if it were tunneled in this way, and I believe that it would.

---

<div class="post-metadata">

**Author:** ![smilindave26](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/smilindave26/32/185_2.png) [@smilindave26](https://openziti.discourse.group/u/smilindave26)\
**Post date:** [September 18, 2024, 5:30pm UTC](https://openziti.discourse.group/t/allow-saas-product-via-ziti/3090/12 "2024-09-18T17:30:15Z")

</div>

You could also look at [zrok frontdoor](https://docs.zrok.io/docs/guides/frontdoor/), which combine a public entry-point (similar to Cloudflare Tunnel), but is built on OpenZiti (the connection between the public frontend and your app happens over an OpenZiti connection). The [Require Auth](https://docs.zrok.io/docs/guides/docker-share/docker_public_share_guide/#require-authentication) section of the zrok docs will also be of interest...
