-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMaster-SRX-JSON
188 lines (187 loc) · 4.43 KB
/
Master-SRX-JSON
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
## Last changed: 2018-04-02 17:54:16 UTC
version 15.1X49-D100.6;
system {
host-name Billys-OOB;
root-authentication {
encrypted-password "$5$c6k1K0v2$j7JXQbcDWTeOUda6wSDpH0aEE68kBtY2B1enEOmHld1"; ## SECRET-DATA
}
name-server {
8.8.8.8;
}
services {
ssh;
dhcp-local-server {
group g1 {
interface ge-0/0/1.0;
}
}
web-management {
http {
interface [ fxp0.0 ge-0/0/0.0 ];
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
license {
autoupdate {
url https://ae1.juniper.net/junos/key_retrieval;
}
}
}
security {
nat {
source {
rule-set INSIDE-OUTSIDE {
from zone Trust;
to zone Untrust;
rule INSIDE-OUTSIDE {
match {
source-address 0.0.0.0/0;
destination-address 0.0.0.0/0;
}
then {
source-nat {
interface;
}
}
}
}
}
}
policies {
from-zone Trust to-zone Untrust {
policy permit-all {
match {
source-address any;
destination-address any;
application any;
}
then {
permit;
}
}
}
from-zone Untrust to-zone Trust {
policy outbound {
match {
source-address any;
destination-address any;
application any;
}
then {
permit;
}
}
}
from-zone Trust to-zone Trust {
policy allow-all {
match {
source-address any;
destination-address any;
application any;
}
then {
permit;
}
}
}
from-zone Untrust to-zone Untrust {
policy allow-all {
match {
source-address any;
destination-address any;
application any;
}
then {
permit;
}
}
}
}
zones {
security-zone Trust {
host-inbound-traffic {
system-services {
all;
}
protocols {
all;
}
}
interfaces {
ge-0/0/1.0;
}
}
security-zone Untrust {
host-inbound-traffic {
system-services {
all;
}
protocols {
all;
}
}
interfaces {
ge-0/0/0.0;
}
}
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.0.161/24;
}
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 10.10.0.1/24;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.0.1;
inactive: route 10.10.0.20/32 next-hop 10.10.0.2;
inactive: route 10.10.0.25/32 next-hop 10.10.0.2;
inactive: route 10.10.0.26/32 next-hop 10.10.0.2;
inactive: route 10.10.0.27/32 next-hop 10.10.0.2;
}
}
access {
address-assignment {
pool p1 {
family inet {
network 10.10.0.0/24;
range r1 {
low 10.10.0.150;
high 10.10.0.254;
}
dhcp-attributes {
maximum-lease-time 2419200;
name-server {
1.1.1.1;
}
router {
10.10.0.1;
}
}
}
}
}
}