forked from ligato/vpp-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acl-tcp.json
40 lines (40 loc) · 1.03 KB
/
acl-tcp.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
{
"acl_name": "acl1",
"interfaces": {
"egress": [
"tap1",
"tap2"
],
"ingress": [
"tap3",
"tap4"
]
},
"rules": [
{
"actions": {
"acl_action": 1
},
"matches": {
"ip_rule": {
"ip": {
"destination_network": "10.20.1.0/24",
"source_network": "192.168.1.2/32"
},
"tcp": {
"destination_port_range": {
"lower_port": 1150,
"upper_port": 1250
},
"source_port_range": {
"lower_port": 150,
"upper_port": 250
},
"tcp_flags_mask": 20,
"tcp_flags_value": 10
}
}
}
}
]
}