blob: b996a944d536f3ce2486a1e2bf6b4c48ab6d5277 (
plain)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
|
---
merged:
before: []
commands:
- set firewall group address-group MGMT-HOSTS address 192.0.1.1
- set firewall group address-group MGMT-HOSTS address 192.0.1.3
- set firewall group address-group MGMT-HOSTS address 192.0.1.5
- set firewall group address-group MGMT-HOSTS description 'This group has the Management hosts address list'
- set firewall group address-group MGMT-HOSTS
- set firewall group network-group MGMT network 192.0.1.0/24
- set firewall group network-group MGMT description 'This group has the Management network addresses'
- set firewall group network-group MGMT
- set firewall ip-src-route 'enable'
- set firewall receive-redirects 'disable'
- set firewall send-redirects 'enable'
- set firewall config-trap 'enable'
- set firewall state-policy established action 'accept'
- set firewall state-policy established log 'enable'
- set firewall state-policy invalid action 'reject'
- set firewall broadcast-ping 'enable'
- set firewall all-ping 'enable'
- set firewall log-martians 'enable'
- set firewall twa-hazards-protection 'enable'
- set firewall syn-cookies 'enable'
- set firewall source-validation 'strict'
after:
config_trap: true
group:
address_group:
- members:
- address: 192.0.1.1
- address: 192.0.1.3
- address: 192.0.1.5
description: This group has the Management hosts address list
name: MGMT-HOSTS
afi: ipv4
network_group:
- members:
- address: 192.0.1.0/24
description: This group has the Management network addresses
name: MGMT
afi: ipv4
log_martians: true
ping:
all: true
broadcast: true
route_redirects:
- afi: ipv4
icmp_redirects:
receive: false
send: true
ip_src_route: true
syn_cookies: true
state_policy:
- action: accept
connection_type: established
log: true
- action: reject
connection_type: invalid
twa_hazards_protection: true
validation: strict
populate:
validation: strict
config_trap: true
log_martians: true
syn_cookies: true
twa_hazards_protection: true
ping:
all: true
broadcast: true
state_policy:
- connection_type: established
action: accept
log: true
- connection_type: invalid
action: reject
route_redirects:
- afi: ipv4
ip_src_route: true
icmp_redirects:
send: true
receive: false
group:
address_group:
- name: MGMT-HOSTS
description: This group has the Management hosts address list
members:
- address: 192.0.1.1
- address: 192.0.1.3
- address: 192.0.1.5
afi: ipv4
network_group:
- name: MGMT
description: This group has the Management network addresses
members:
- address: 192.0.1.0/24
afi: ipv4
replaced:
commands:
- delete firewall group address-group MGMT-HOSTS
- set firewall group address-group SALES-HOSTS address 192.0.2.1
- set firewall group address-group SALES-HOSTS address 192.0.2.2
- set firewall group address-group SALES-HOSTS address 192.0.2.3
- set firewall group address-group SALES-HOSTS description 'Sales office hosts address list'
- set firewall group address-group SALES-HOSTS
- set firewall group address-group ENG-HOSTS address 192.0.3.1
- set firewall group address-group ENG-HOSTS address 192.0.3.2
- set firewall group address-group ENG-HOSTS description 'Sales office hosts address list'
- set firewall group address-group ENG-HOSTS
after:
config_trap: true
group:
address_group:
- members:
- address: 192.0.3.1
- address: 192.0.3.2
description: Sales office hosts address list
name: ENG-HOSTS
afi: ipv4
- members:
- address: 192.0.2.1
- address: 192.0.2.2
- address: 192.0.2.3
description: Sales office hosts address list
name: SALES-HOSTS
afi: ipv4
network_group:
- members:
- address: 192.0.1.0/24
description: This group has the Management network addresses
name: MGMT
afi: ipv4
log_martians: true
ping:
all: true
broadcast: true
route_redirects:
- afi: ipv4
icmp_redirects:
receive: false
send: true
ip_src_route: true
state_policy:
- action: accept
connection_type: established
log: true
- action: reject
connection_type: invalid
syn_cookies: true
twa_hazards_protection: true
validation: strict
rendered:
commands:
- set firewall group address-group SALES-HOSTS address 192.0.2.1
- set firewall group address-group SALES-HOSTS address 192.0.2.2
- set firewall group address-group SALES-HOSTS address 192.0.2.3
- set firewall group address-group SALES-HOSTS description 'Sales office hosts address list'
- set firewall group address-group SALES-HOSTS
- set firewall group address-group ENG-HOSTS address 192.0.3.1
- set firewall group address-group ENG-HOSTS address 192.0.3.2
- set firewall group address-group ENG-HOSTS description 'Sales office hosts address list'
- set firewall group address-group ENG-HOSTS
- set firewall group network-group MGMT network 192.0.1.0/24
- set firewall group network-group MGMT description 'This group has the Management network addresses'
- set firewall group network-group MGMT
- set firewall ip-src-route 'enable'
- set firewall receive-redirects 'disable'
- set firewall send-redirects 'enable'
- set firewall config-trap 'enable'
- set firewall state-policy established action 'accept'
- set firewall state-policy established log 'enable'
- set firewall state-policy invalid action 'reject'
- set firewall broadcast-ping 'enable'
- set firewall all-ping 'enable'
- set firewall log-martians 'enable'
- set firewall twa-hazards-protection 'enable'
- set firewall syn-cookies 'enable'
- set firewall source-validation 'strict'
deleted:
commands:
- "delete firewall "
after: []
round_trip:
after:
validation: strict
config_trap: false
log_martians: false
syn_cookies: false
twa_hazards_protection: false
ping:
all: false
broadcast: false
state_policy:
- connection_type: established
action: accept
log: true
- connection_type: invalid
action: reject
route_redirects:
- afi: ipv4
ip_src_route: true
icmp_redirects:
send: true
receive: false
group:
address_group:
- name: MGMT-HOSTS
description: This group has the Management hosts address list
members:
- address: 192.0.1.1
- address: 192.0.1.3
- address: 192.0.1.5
afi: ipv4
network_group:
- name: MGMT
description: This group has the Management network addresses
members:
- address: 192.0.1.0/24
afi: ipv4
|