---
name: "policy.py"
section: "5"
platform: "linux"
package: "zorp"
version: "3.9.5-4"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/policy.py"
---

# policy.py(5)

zorp(8) policy file.

## NAME

policy.py\_ - [zorp(8)](/zorp/8.md) policy file.

## DESCRIPTION

The policy.py file is a Python module containing the zone and service definitions and other policy related settings used by **[zorp(8)](/zorp/8.md)**. Empty lines and lines beginning with '#' are comments and are ignored.

The policy.py file is generated automatically by ZMC, the Zorp Management Console, or it can be edited manually.

IMPORTANT: Do not edit manually a file generated by ZMC, because the manual changes will not be retained by ZMC and will be lost when re-generating the file.

## FILES

The default location of policy.py is /etc/zorp/policy.py.

## SEE ALSO

For further information on policy.py refer to the following sources:

A tutorial on manually editing the policy.py file can be found at **http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/**\[1\].

Additional information can also be found in the *Zorp Administrator's Guide*, the *Zorp Reference Guide*, and in the various tutorials available at the BalaBit Documentation Page at **http://www.balabit.com/support/documentation/**\[2\].

## AUTHOR

This manual page was written by the BalaBit Documentation Team \<documentation@balabit.com\>.

## COPYRIGHT

Copyright © 2006 BalaBit IT Security Ltd. All rights reserved. For more information about the legal status of this document please read: **http://www.balabit.com/products/zorp/docs/legal\_notice.bbq**

## NOTES

- 1\.

  http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/

  http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/

- 2\.

  http://www.balabit.com/support/documentation/

  http://www.balabit.com/support/documentation/
