mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
Added sample rule to allow localhost connections
This commit is contained in:
parent
28f98e4fb6
commit
8b4c8922c5
1 changed files with 17 additions and 0 deletions
17
daemon/data/rules/000-allow-localhost.json
Normal file
17
daemon/data/rules/000-allow-localhost.json
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"created": "2023-07-05T10:46:47.904024069+01:00",
|
||||||
|
"updated": "2023-07-05T10:46:47.921828104+01:00",
|
||||||
|
"name": "000-allow-localhost",
|
||||||
|
"description": "Allow connections to localhost. See this link for more information:\nhttps://github.com/evilsocket/opensnitch/wiki/Rules#localhost-connections",
|
||||||
|
"enabled": true,
|
||||||
|
"precedence": true,
|
||||||
|
"action": "allow",
|
||||||
|
"duration": "always",
|
||||||
|
"operator": {
|
||||||
|
"type": "regexp",
|
||||||
|
"operand": "dest.ip",
|
||||||
|
"sensitive": false,
|
||||||
|
"data": "^(127\\.0\\.0\\.1|::1)$",
|
||||||
|
"list": []
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue