-
Notifications
You must be signed in to change notification settings - Fork 25
/
config-kni-dhcp.json
83 lines (83 loc) · 2.63 KB
/
config-kni-dhcp.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
{
"host-name": "nat",
"port-pairs": [
{
"private-port": {
"index": 0,
"subnet": "dhcp",
"subnet6": "dhcp",
"kni-name": "priv0",
"forward-ports": [
{
"port": 22,
"destination": "0.0.0.0:22",
"protocol": "TCP"
},
{
"port": 22,
"destination": "[::]:22",
"protocol": "TCP6"
}
]
},
"public-port": {
"index": 1,
"subnet": "dhcp",
"subnet6": "dhcp",
"kni-name": "pub1",
"forward-ports": [
{
"port": 22,
"destination": "0.0.0.0:22",
"protocol": "TCP"
},
{
"port": 22,
"destination": "[::]:22",
"protocol": "TCP6"
},
{
"port": 8080,
"destination": "192.168.14.3:80",
"protocol": "TCP"
},
{
"port": 8080,
"destination": "[fd14::3]:80",
"protocol": "TCP6"
},
{
"port": 2222,
"destination": "192.168.14.3:22",
"protocol": "TCP"
},
{
"port": 2222,
"destination": "[fd14::3]:22",
"protocol": "TCP6"
},
{
"port": 8081,
"destination": "192.168.14.4:80",
"protocol": "TCP"
},
{
"port": 8081,
"destination": "[fd14::4]:80",
"protocol": "TCP6"
},
{
"port": 2223,
"destination": "192.168.14.4:22",
"protocol": "TCP"
},
{
"port": 2223,
"destination": "[fd14::4]:22",
"protocol": "TCP6"
}
]
}
}
]
}