💻 Software
How to negate a range in iptables?
Fresh5 days ago
Mar 15, 202637291 viewsConfidence Score0%
0%
Problem
I've seen people use the exclamation mark (!) in multiple examples, but when I try to use it I get an error. The rule I'm trying: The error: What is the correct syntax for this?
Error Output
-A OUTPUT -m owner --gid-owner 1006 -d ! 192.168.1.0/24 -j DROP
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to negate a range in iptables?
Low Risk
Just as the manpage states: That makes it
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix