forked from c0r0n3r/zorp-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzones.py
91 lines (68 loc) · 1.7 KB
/
zones.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#############################################################################
# -*- coding: UTF-8 -*-
#
# Copyright (c) 2020 BalaSys IT Ltd, Budapest, Hungary
#
# Authors: Szilárd Pfeiffer <[email protected]>
#
# Permission is granted to copy, distribute and/or modify this document
# under the terms of the GNU Free Documentation License, Version 1.3
# or any later version published by the Free Software Foundation;
# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
# A copy of the license is included in the section entitled "GNU
# Free Documentation License".
#
#############################################################################
Zone(
name="clients",
addrs=["172.16.10.0/23", ],
)
Zone(
name="servers",
addrs=["172.16.20.0/23", ],
)
Zone(
name="servers.audit",
addrs=["172.16.21.1/32", ],
admin_parent="servers"
)
Zone(
name="servers.stack_clamav",
addrs=["172.16.21.5/32", ],
admin_parent="servers"
)
Zone(
name="servers.smtp_starttls",
addrs=["172.16.21.9/32", ],
admin_parent="servers"
)
Zone(
name="servers.smtp_one_sided_ssl",
addrs=["172.16.21.13/32", ],
admin_parent="servers"
)
Zone(
name="servers.http_stack_cat",
addrs=["172.16.21.17/32", ],
admin_parent="servers"
)
Zone(
name="servers.http_stack_tr",
addrs=["172.16.21.21/32", ],
admin_parent="servers"
)
Zone(
name="servers.http_header_replace",
addrs=["172.16.21.25/32", ],
admin_parent="servers"
)
Zone(
name="servers.http_url_filter",
addrs=["172.16.21.29/32", ],
admin_parent="servers"
)
Zone(
name="servers.plug",
addrs=["172.16.21.33/32", ],
admin_parent="servers"
)