-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_with_rules.json
More file actions
114 lines (112 loc) · 2.73 KB
/
Copy pathconfig_with_rules.json
File metadata and controls
114 lines (112 loc) · 2.73 KB
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
{
"DefaultRule" : "ActionTypePass",
"OnErrorRule" : "ActionTypeNone",
"IPv4BlockResolve" : "0.0.0.0",
"IPv6BlockResolve" : "0:0:0:0:0:0:0:0",
"Logfile":"-",
"ListenAddress":":53",
"NameServers": [
{
"IP": "208.67.222.222:53"
},
{
"IP": "208.67.220.220:53"
}
],
"Router": {
"Host":"192.168.1.1",
"Port":"80",
"User":"admin",
"Password":"your-router-password-here",
"Engine":"RouterTypeNetGear",
"PollChanges":true
},
"Hosts": [
{
"Name": "192.168.1.17",
"Rules": [
{
"Type": "ActionTypeBlockedTimeSpan",
"TimeSpan": "10:00-14:00"
},
{
"Type": "ActionTypePass"
}
]
},
{
"Name": "FREDRIKS-MBP",
"Rules": [
{
"Type": "ActionTypePass"
}
]
},
{
"Name": "NAGINI",
"Rules": [
{
"Type": "ActionTypePass"
}
]
}
],
"Domains": [
{
"Name": "*.rules.test",
"Hosts": [
{
"Name": "192.168.1.9",
"Rules": [
{
"Type": "ActionTypeBlockedTimeSpan",
"TimeSpan": "17:00-19:00"
},
{
"Type": "ActionTypePass"
}
]
}
]
},
{
"Name": "*.aftonbladet.se.",
"Hosts": [
{
"Name": "127.0.0.2",
"Rules": [
{
"Type": "ActionTypeBlockedSiteBan"
}
]
}
]
},
{
"Name": "*.gp.se.",
"Hosts": [
{
"Name": "127.0.0.1",
"Rules": [
{
"Type": "ActionTypeBlockedSiteBan"
}
]
}
]
},
{
"Name": "*.youtube.com.",
"Hosts": [
{
"Name": "ERIKS-NETBOOK",
"Rules": [
{
"Type": "ActionTypeBlockedSiteBan"
}
]
}
]
}
]
}