# Auto-generated NetworkPolicies

**URL:** https://forums.suse.com/t/auto-generated-networkpolicies/13611
**Category:** SUSE Rancher Prime
**Created:** [March 12, 2019, 7:04pm UTC](https://forums.suse.com/t/auto-generated-networkpolicies/13611 "2019-03-12T19:04:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nihongi](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/nihongi/32/4560_2.png) [@nihongi](https://forums.suse.com/u/nihongi)
#### Post date: [March 12, 2019, 7:04pm UTC](https://forums.suse.com/t/auto-generated-networkpolicies/13611/1 "2019-03-12T19:04:21Z")

</div>

I see sometimes Rancher automatically creates NetworkPolicies. For example, if a pod has Host Port, rancher creates a NetworkPolicy that allows any pod to access to the ClusterIP of the original pod. I noticed this while deploying Prometheus node-exporter pod.

I’d like to know what conditions bring these auto-generated networkpolicies. Is this configureable in rancher?
