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

banIP: inbound mark set #26044

Open
filippocarletti opened this issue Feb 23, 2025 · 2 comments
Open

banIP: inbound mark set #26044

filippocarletti opened this issue Feb 23, 2025 · 2 comments

Comments

@filippocarletti
Copy link

Hi @dibdot

reviewing banIP 1.5.x I noticed that inbound connections are marked 1 and 2 for input and forward, here:

printf "%s\n" "add rule inet banIP wan-input meta mark set 1"

printf "%s\n" "add rule inet banIP wan-forward meta mark set 2"

Is that needed?

@dibdot
Copy link
Contributor

dibdot commented Feb 23, 2025

Does it male any harm?
The markers make it easy to distinguish between wan-input and wan-forward in the log.

@brada4
Copy link

brada4 commented Feb 24, 2025

You can unify them in prerouting if separate counters are not needed / visualised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants