# Ability to exclude routing of a particular CIDR

**URL:** <https://forum.pritunl.com/t/ability-to-exclude-routing-of-a-particular-cidr/466>\
**Category:** Pritunl VPN\
**Created:** [October 19, 2022, 12:46am UTC](https://forum.pritunl.com/t/ability-to-exclude-routing-of-a-particular-cidr/466 "2022-10-19T00:46:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenPhegan](https://forum.pritunl.com/user_avatar/forum.pritunl.com/benphegan/32/185_2.png) [@BenPhegan](https://forum.pritunl.com/u/BenPhegan)\
**Post date:** [October 19, 2022, 12:46am UTC](https://forum.pritunl.com/t/ability-to-exclude-routing-of-a-particular-cidr/466/1 "2022-10-19T00:46:29Z")

</div>

Hi,

We are running two different “servers”, one that routes all traffic (ie `0.0.0.0/0` - lets call it “all”) and one that routes specific private CIDRs (ie `10.0.0.0/16` - lets call it “split”). However, we want to prevent the “all” server routing a few very specific private CIDRs. Is there any way we can _exclude_ a CIDR from routing? The alternate would be to _include_ every other CIDR (ie `1.0.0.0/8`, `2.0.0.0/8` etc) to the “all” server, however I believe that would be problematic with the number of routes that it would create.

Any alternate approaches?

Regards,

Ben

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 19, 2022, 6:59pm UTC](https://forum.pritunl.com/t/ability-to-exclude-routing-of-a-particular-cidr/466/2 "2022-10-19T18:59:35Z")

</div>

Add a route with the net gateway option enabled, this requires an enterprise subscription.

---

<div class="post-metadata">

**Author:** ![BenPhegan](https://forum.pritunl.com/user_avatar/forum.pritunl.com/benphegan/32/185_2.png) [@BenPhegan](https://forum.pritunl.com/u/BenPhegan)\
**Post date:** [October 24, 2022, 9:53pm UTC](https://forum.pritunl.com/t/ability-to-exclude-routing-of-a-particular-cidr/466/3 "2022-10-24T21:53:57Z")

</div>

Thanks Zach, that worked.
