Initial commit
This commit is contained in:
11
services/basic/global.policy.json
Normal file
11
services/basic/global.policy.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Restrict all internet access",
|
||||
"variable": { "internet_if": "eth0" },
|
||||
"zone": {
|
||||
"internet": { "iface": "$internet_if" }
|
||||
},
|
||||
"policy": [
|
||||
{ "in": "internet", "action": "drop" },
|
||||
{ "action": "reject" }
|
||||
]
|
||||
}
|
||||
11
services/basic/icmp.policy.json
Normal file
11
services/basic/icmp.policy.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Allow ping-pong",
|
||||
"filter": [
|
||||
{
|
||||
"in": "internet",
|
||||
"service": "ping",
|
||||
"action": "accept",
|
||||
"flow-limit": { "count": 10, "interval": 6 }
|
||||
}
|
||||
]
|
||||
}
|
||||
11
services/basic/outgoing.policy.json
Normal file
11
services/basic/outgoing.policy.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Allow outgoing connections for http/https, dns, ssh, ntp, ssh and ping",
|
||||
"filter": [
|
||||
{
|
||||
"in": "_fw",
|
||||
"out": "internet",
|
||||
"service": ["http", "https", "dns", "ssh", "ntp", "ping"],
|
||||
"action": "accept"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user