Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #8516

iptables syntax issue

From Mike Scott <usenet.16@scottsonline.org.uk.invalid>
Newsgroups comp.os.linux.networking
Subject iptables syntax issue
Date 2024-11-26 13:32 +0000
Organization Scott family
Message-ID <vi4ilq$3fcck$1@dont-email.me> (permalink)

Show all headers | View raw


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.

-- 
Mike Scott
Harlow, England

Back to comp.os.linux.networking | Previous | NextNext in thread | Find similar


Thread

iptables syntax issue Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-11-26 13:32 +0000
  (resolved) Re: iptables syntax issue Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-11-26 13:44 +0000
    Re: (resolved) Re: iptables syntax issue candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-11-30 06:20 +0000
      Re: (resolved) Re: iptables syntax issue Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-12-03 19:19 +0000
        Re: (resolved) Re: iptables syntax issue Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-12-09 11:50 +0000
          Re: (resolved) Re: iptables syntax issue George Neuner <gneuner2@comcast.net> - 2024-12-09 20:24 -0500
  Re: iptables syntax issue Marc Haber <mh+usenetspam1118@zugschl.us> - 2024-11-26 21:24 +0100
    resolved: Re: iptables syntax issue Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2024-11-28 08:03 +0000

csiph-web