mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
updated after opensnitch repo commit 74d71337ba
parent
11473c140d
commit
4ac42f04a4
1 changed files with 18 additions and 0 deletions
|
@ -90,6 +90,24 @@ Some more examples:
|
|||
|
||||
The list of protocols you can allow or deny are defined in the file `/etc/protocols`
|
||||
|
||||
Intercepting connections from containers
|
||||
---
|
||||
|
||||
In order to intercept connections from containers, you need to select in `Preferences->Nodes->Process monitor method: ebpf`, and add the following rule to `/etc/opensnitchd/system-fw.json`:
|
||||
```
|
||||
{
|
||||
"Rule": {
|
||||
"Enabled": true,
|
||||
"Description": "",
|
||||
"Table": "mangle",
|
||||
"Chain": "FORWARD",
|
||||
"Parameters": "-m conntrack --ctstate NEW",
|
||||
"Target": "NFQUEUE",
|
||||
"TargetParameters": "--queue-num 0 --queue-bypass"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
nftables
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue