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 support for negation of sport and dport #91

Open
and0x000 opened this issue Aug 11, 2022 · 0 comments
Open

add support for negation of sport and dport #91

and0x000 opened this issue Aug 11, 2022 · 0 comments

Comments

@and0x000
Copy link

both iptables parameter, sport and dport allow negation.

Example from a recent Debian (Bullseye)

iptables-legacy -I INPUT --protocol tcp --sport 53 --destination 127.0.0.1 ! --dport 53 --jump ACCEPT

However, if configured via ferm, both parameters throw a Doesn't support negation: sport

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

1 participant