Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for excluding interfaces in Netifyd #136

Merged
merged 6 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion dpi_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,31 @@ To add a new exception, click the ``Add exception`` button.
Enter the ``IP address`` that should be exempted from the filter.
You can include a description explaining the reason for the exclusion.

Each exception can be enabled or disabled as desired.
Each exception can be enabled or disabled as desired.

Netify interface exclusion
--------------------------

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.
gsanchietti marked this conversation as resolved.
Show resolved Hide resolved

- Add interfaces to exclusion list: ::
stephdl marked this conversation as resolved.
Show resolved Hide resolved

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

stephdl marked this conversation as resolved.
Show resolved Hide resolved
- 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

- Return the exclusion list: ::

uci show netifyd.@netifyd[0].exclude