-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNS-NAT
459 lines (409 loc) · 13.6 KB
/
NS-NAT
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
-- This module defines enterprise MIBs for NAT
--
-- Copyright (c) 1999-2004, Juniper Networks, Inc.
-- All rights reserved.
NETSCREEN-NAT-MIB DEFINITIONS ::= BEGIN
IMPORTS
netscreenNAT
FROM NETSCREEN-SMI
Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
;
netscreenNATMibModule MODULE-IDENTITY
LAST-UPDATED "200503032022Z" -- March 03, 2005
ORGANIZATION
"Juniper Networks, Inc."
CONTACT-INFO
"Customer Support
1194 North Mathilda Avenue
Sunnyvale, California 94089-1206
USA
Tel: 1-800-638-8296
E-mail: [email protected]
HTTP://www.juniper.net"
DESCRIPTION
"Added dip pool utilization attribute"
REVISION "200503030000Z" -- March 03, 2005
DESCRIPTION
"This module defines the managed objects for Netscreen NAT"
REVISION "200405030000Z" -- May 03, 2004
DESCRIPTION
"Modified copyright and contact information"
REVISION "200403030000Z" -- March 03, 2004
DESCRIPTION
"Converted to SMIv2 by Longview Software"
REVISION "200306030000Z" -- June 03, 2003
DESCRIPTION
"Change VIP configuration per physical interface"
REVISION "200105270000Z" -- May 27, 2001
DESCRIPTION
"Creation Date"
::= { netscreenNAT 0 }
NsNatDipEntry ::= SEQUENCE
{
nsNatDipIndex Integer32,
nsNatDipId Integer32,
nsNatDipLow IpAddress,
nsNatDipHigh IpAddress,
nsNatDipIfIp IpAddress,
nsNatDipIfNetmask IpAddress,
nsNatDipPTEnable INTEGER,
nsNatDipVsys Integer32,
nsNatDipUtil Integer32
}
NsNatMipEntry ::= SEQUENCE
{
nsNatMipIndex Integer32,
nsNatMipIp IpAddress,
nsNatMipNetmask IpAddress,
nsNatMipHost IpAddress,
nsNatMipIfIp IpAddress,
nsNatMipIfNetmask IpAddress,
nsNatMipVsys Integer32
}
NsNatVipCfgEntry ::= SEQUENCE
{
nsNatVipCfgIndex Integer32,
nsNatVipCfgIp IpAddress,
nsNatVipCfgPort Integer32,
nsNatVipCfgService DisplayString,
nsNatVipCfgStatus INTEGER,
nsNatVipCfgLoadBalance INTEGER
}
NsNatVipServerEntry ::= SEQUENCE
{
nsNatVipServerIndex Integer32,
nsNatVipServerVIP IpAddress,
nsNatVipServerService Integer32,
nsNatVipServerLoadBalance INTEGER,
nsNatVipServerIp IpAddress,
nsNatVipServerWeight Integer32,
nsNatVipServerStatus INTEGER
}
nsNatMipTable OBJECT-TYPE
SYNTAX SEQUENCE OF NsNatMipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Mapped IP(MIP) is a direct one-to-one maping of traffic
destined for one IP address ot another IP address. On
NetScreen device, MIP addresses for tunnel and untrusted
interfaces can be created."
::= { netscreenNAT 1 }
nsNatMipEntry OBJECT-TYPE
SYNTAX NsNatMipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing attributes of a mip address"
INDEX
{ nsNatMipIndex }
::= { nsNatMipTable 1 }
nsNatMipIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique value for each address. Its value ranges between 0
and 65535 and may not be contingous."
::= { nsNatMipEntry 1 }
nsNatMipIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"mip address. A MIP must be in the same subnet as the tunnel
interface to which it is linked to; however, for the untrusted
interface, a MIP does not need to be in the same subnet. In
either case, a MIP must not be the same as the interface
address or be in any DIP pool that might also be on that
subnet."
::= { nsNatMipEntry 2 }
nsNatMipNetmask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Subnet mask for this MIP."
::= { nsNatMipEntry 3 }
nsNatMipHost OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Host ip address mip mapping to."
::= { nsNatMipEntry 4 }
nsNatMipIfIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Interface's ip address that a MIP is linked to."
::= { nsNatMipEntry 5 }
nsNatMipIfNetmask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Interface's netmask that a MIP is linked to."
::= { nsNatMipEntry 6 }
nsNatMipVsys OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Virtual system this mip belongs to."
::= { nsNatMipEntry 7 }
nsNatDipTable OBJECT-TYPE
SYNTAX SEQUENCE OF NsNatDipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A DIP(Dynamic IP) pool is a range of IP addresses from which
the NetScreen device can dynamically take addresses to use when
performing NAT on the source IP address of outgoing or incoming
IP packets."
::= { netscreenNAT 2 }
nsNatDipEntry OBJECT-TYPE
SYNTAX NsNatDipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing attributes of a dynamic address"
INDEX
{ nsNatDipIndex }
::= { nsNatDipTable 1 }
nsNatDipIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique value for each address. Its value ranges between 0
and 65535 and may not be contigous."
::= { nsNatDipEntry 1 }
nsNatDipId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"DIP pool id."
::= { nsNatDipEntry 2 }
nsNatDipLow OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Start IP Address Range. The range of addresses in a DIP pool
must be in the same subnet as the interface IP address, but the
DIP pool should not contain the interface IP or any MIP or VIP
address that might on that subnet."
::= { nsNatDipEntry 3 }
nsNatDipHigh OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"End IP Address Range. The range of addresses in a DIP pool
must be in the same subnet as the interface IP address, but the
DIP pool should not contain the interface IP or any MIP or VIP
address that might on that subnet."
::= { nsNatDipEntry 4 }
nsNatDipIfIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Interface's ip address that a DIP is linked to."
::= { nsNatDipEntry 5 }
nsNatDipIfNetmask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"interface's ip address that a DIP is linked to."
::= { nsNatDipEntry 6 }
nsNatDipPTEnable OBJECT-TYPE
SYNTAX INTEGER {
disable(0),
enabled(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Enable Port Translation"
::= { nsNatDipEntry 7 }
nsNatDipVsys OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"virtual system this dip belongs to"
::= { nsNatDipEntry 8 }
nsNatDipUtil OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"dip pool utilzation for this entry. Only applicable to fixed dip. If this is not a fixed dip this will return 0"
::= { nsNatDipEntry 9 }
nsNatVip OBJECT IDENTIFIER ::= { netscreenNAT 3 }
nsNatVipCfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF NsNatVipCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"VIP(Virtual IP) allows you to map routable IP addresses to
internal servers, therby providing transparent connections for
a NAT networks to the Internet. This table collects all VIP
configurations in NetScreen device."
::= { nsNatVip 1 }
nsNatVipCfgEntry OBJECT-TYPE
SYNTAX NsNatVipCfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the nsNatVipCfgTable holds a set of
configuration parameters associated with an instance of VIP."
INDEX
{ nsNatVipCfgIndex }
::= { nsNatVipCfgTable 1 }
nsNatVipCfgIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique value for each vip configuation. Its value ranges
between 1 and 65535 and may not be contingous."
::= { nsNatVipCfgEntry 1 }
nsNatVipCfgIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IP address for the VIP, which must be in the same subnet
as the untrusted interface and can even be the same address as
the untrusted interface."
::= { nsNatVipCfgEntry 2 }
nsNatVipCfgPort OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port number for communication between the trusted server
and the untrusted interfce on the NetScreen device."
::= { nsNatVipCfgEntry 3 }
nsNatVipCfgService OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Service for the server on the trusted interface."
::= { nsNatVipCfgEntry 4 }
nsNatVipCfgStatus OBJECT-TYPE
SYNTAX INTEGER {
not-available(0),
available(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of the server on the trusted/DMZ interface."
::= { nsNatVipCfgEntry 5 }
nsNatVipCfgLoadBalance OBJECT-TYPE
SYNTAX INTEGER {
null(0),
round-robin(1),
weighted-round-robin(2),
least-conns(3),
weighted-least-conns(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Load balance algorithm for the Virtual IP servers."
::= { nsNatVipCfgEntry 6 }
nsNatVipServerTable OBJECT-TYPE
SYNTAX SEQUENCE OF NsNatVipServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Ballancing the loads on NetScreen servers allow traffic
intended for a server(one IP address on the untrusted network)
to be mapped to several different IP addresses on the DMZ or
trusted network. There can be up to eight servers in one load
balancing group, which apperas as a single virtual server.This
table collects all the server pool configurations for the
virtual ip server."
::= { nsNatVip 2 }
nsNatVipServerEntry OBJECT-TYPE
SYNTAX NsNatVipServerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing attributes of a vip configuration's server
pool."
INDEX
{ nsNatVipServerIndex }
::= { nsNatVipServerTable 1 }
nsNatVipServerIndex OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique value for each vip server configuation. Its value
ranges between 1 and 65535 and may not be contigous."
::= { nsNatVipServerEntry 1 }
nsNatVipServerVIP OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The IP address for the VIP."
::= { nsNatVipServerEntry 2 }
nsNatVipServerService OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Service provideing through the VIP."
::= { nsNatVipServerEntry 3 }
nsNatVipServerLoadBalance OBJECT-TYPE
SYNTAX INTEGER {
null(0),
round-robin(1),
weighted-round-robin(2),
least-conns(3),
weighted-least-conns(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Load balance algorithm for the vitural IP servers."
::= { nsNatVipServerEntry 4 }
nsNatVipServerIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Virtual IP server's IP address."
::= { nsNatVipServerEntry 5 }
nsNatVipServerWeight OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Loadbalance algorithm weight."
::= { nsNatVipServerEntry 6 }
nsNatVipServerStatus OBJECT-TYPE
SYNTAX INTEGER {
down(0),
up(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Virtual IP server's status."
::= { nsNatVipServerEntry 7 }
END