Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: (resolved) Re: iptables syntax issue

Path csiph.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
Newsgroups comp.os.linux.networking
Subject Re: (resolved) Re: iptables syntax issue
Date Sat, 30 Nov 2024 06:20:07 -0000 (UTC)
Organization the-candyden-of-code
Lines 27
Message-ID <slrnvkkvlg.9kce.candycanearter07@candydeb.host.invalid> (permalink)
References <vi4ilq$3fcck$1@dont-email.me> <vi4jcq$3fh6i$1@dont-email.me>
Injection-Date Sat, 30 Nov 2024 07:20:07 +0100 (CET)
Injection-Info dont-email.me; posting-host="c381b9fada2043e82052ddafe2e0e2f7"; logging-data="1652995"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197dtpJNaopKy+q2f7RB/1maBz77xYOodAtBfFBkKGxEg=="
User-Agent slrn/1.0.3 (Linux)
Cancel-Lock sha1:52LRrV07+jXFyS84L1zlvjthS1k=
X-Face b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
Xref csiph.com comp.os.linux.networking:8520

Show key headers only | View raw


Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote at 13:44 this Tuesday (GMT):
> On 26/11/2024 13:32, Mike Scott wrote:
>> 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.
>> 
>
> Grrr. The online man page (https://linux.die.net/man/8/iptables) I was 
> looking at is wrong. It should be ! -s <address> not -s !<address>
>
> Not good.


Try emailing the webmaster?
-- 
user <candycane> is generated from /dev/urandom

Back to comp.os.linux.networking | Previous | NextPrevious in thread | Next 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