Mike Scott
2024-11-26 13:32:42 UTC
Hi all. I'm trying to get to grips with iptables, but I'm flummoxed by this:
iptables> sudo iptables --table nat -D PREROUTING -p tcp --source
\!192.168.0.0/24 --dport ssh -j REDIRECT --to-port 20022
iptables v1.8.7 (nf_tables): host/network `!192.168.0.0' not found
Try `iptables -h' or 'iptables --help' for more information.
So what is the syntax to make a rule match sources other than the given
please?
Thanks.
iptables> sudo iptables --table nat -D PREROUTING -p tcp --source
\!192.168.0.0/24 --dport ssh -j REDIRECT --to-port 20022
iptables v1.8.7 (nf_tables): host/network `!192.168.0.0' not found
Try `iptables -h' or 'iptables --help' for more information.
So what is the syntax to make a rule match sources other than the given
please?
Thanks.
--
Mike Scott
Harlow, England
Mike Scott
Harlow, England