-
Notifications
You must be signed in to change notification settings - Fork 3
/
example.yml
57 lines (57 loc) · 1.07 KB
/
example.yml
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
## Example filter rule for gatekeeper
#
# default deny
---
- Deny:
address: Any
port: Any
protocol: Any
# allow local ipv4 network 192.168.0.1/16
- Allow:
address:
Specif:
IpAddr:
addr: 192.168.0.1
prefix: 16
port: Any
protocol: Any
# allow some google domains using port 443
- Allow:
# {mail.,}google.{com,co.jp}
address:
Specif:
Domain:
# regexp pattern
pattern: '\A(mail\.)?google\.((com)|(co\.jp))\z'
port:
Specif: 443
protocol:
Specif: Tcp
# allow any Amazon API Gateway's REST API
- Allow:
address:
Specif:
Domain:
wildcard: '*.execute-api.*.amazonaws.com'
port:
Specif: 443
protocol:
Specif: Tcp
# deny facebook.com
- Deny:
address:
Specif:
Domain:
pattern: '\A(www\.)?facebook\.com\z'
port: Any
protocol:
Specif: Tcp
# deny youtube.com
- Deny:
address:
Specif:
Domain:
pattern: '\A(www\.)?youtube\.com\z'
port: Any
protocol:
Specif: Tcp