Skip to content

Commit

Permalink
docs(ns-dpi): add instructions for managing interface exclusions in N…
Browse files Browse the repository at this point in the history
…etifyd
  • Loading branch information
stephdl committed Dec 3, 2024
1 parent ae92e98 commit e69cd1f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/ns-dpi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,28 @@ Example:
```
HOST=http://__USER__:__PASSWORD__@sp.gs.nethserver.net dpi-update
```

## Managing Interface Exclusions in Netifyd

By default, Netifyd monitors all interfaces. To exclude specific interfaces, you can define an exclusion list. Below are commands to add, modify, or remove excluded interfaces.

- Add Interfaces to Exclusion List
```
uci add_list netifyd.@netifyd[0].exclude='eth1'
uci add_list netifyd.@netifyd[0].exclude='tun'
uci add_list netifyd.@netifyd[0].exclude='wg'
uci commit netifyd
```

- Modify Exclusion List
```
uci delete netifyd.@netifyd[0].exclude='eth1'
uci add_list netifyd.@netifyd[0].exclude='eth2'
uci commit netifyd
```

- Clear Exclusion List
```
uci delete netifyd.@netifyd[0].exclude
uci commit netifyd
```

0 comments on commit e69cd1f

Please sign in to comment.