Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Alexis" <alexis@tpys.com.ar>
To: netfilter <netfilter@lists.netfilter.org>,
	"M. Ahmad Ijaz" <ahmad@netlogicbroadband.com>
Subject: Re: newbie question
Date: Thu, 8 Apr 2004 13:26:54 -0300	[thread overview]
Message-ID: <003501c41d86$4efcf3c0$51a2fea9@heretic> (raw)
In-Reply-To: 004601c41d60$9bf1af70$aa47aacb@hacker

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

you must specify the table.

with -t modif
  ----- Original Message ----- 
  From: M. Ahmad Ijaz 
  To: netfilter@lists.netfilter.org 
  Sent: Thursday, April 08, 2004 8:57 AM
  Subject: newbie question


  hi,

  I just wanna know few things , i have installed red hat 9, iptable is installed.

  Now the thing is, i didnt know at first that i have to load the modules, i was getting the message

  iptables: No chain/target/match by that name

  so after couple of searches i did find some help and i manage to apply few commands i.e.

  modprobe ip_tables
  modprobe ip_conntrack
  modprobe iptable_nat
  modprobe ip_conntrack_ftp
  modprobe ip_nat_ftp

  iptables -P INPUT ACCEPT
  iptables -P OUTPUT ACCEPT
  iptables -P FORWARD DROP
  iptables -A INPUT -p icmp --icmp-type 8 -j DROP 


  all the above commands are accepted at command prompt, but when i try to use this command

  iptables -A PREROUTING -s xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 where xxx is any IP and yyy is the subnet mask, it returns me the same message i.e. 
  iptables: No chain/target/match by that name

  So it also give the same message with POSTROUTING.


  also i dont wana load the modules and the commands each time the system starts, so when i type the commands i used iptables-save command to save tat, also is there ne possibility where i can store the command and execute when system startsup

[-- Attachment #2: Type: text/html, Size: 2990 bytes --]

  parent reply	other threads:[~2004-04-08 16:26 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 11:57 newbie question M. Ahmad Ijaz
2004-04-08 12:02 ` Antony Stone
2004-04-08 12:32   ` M. Ahmad Ijaz
2004-04-08 12:41     ` Antony Stone
2004-04-08 12:43     ` ro0ot
2004-04-08 12:32   ` Jeffrey Laramie
2004-04-08 12:47     ` Antony Stone
2004-04-08 13:54       ` [OT] about this list (was: newbie question) Frank Gruellich
2004-04-08 14:16         ` [OT] about this list Antony Stone
2004-04-08 14:48         ` [OT] about this list (was: newbie question) Jeffrey Laramie
2004-04-08 12:09 ` newbie question Frank Gruellich
2004-04-09  4:33   ` M. Ahmad Ijaz
2004-04-08 16:26 ` Alexis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-07-30 18:03 Gergely Buday
2004-06-08  4:16 Newbie Question mafioso1823
2004-06-08 11:09 ` John A. Sullivan III
     [not found] <385FE68A-FB2E-11D7-B96A-000393B2CBCE@apple.com>
2003-10-10 14:43 ` Newbie question Arvanitis Kostas
2003-03-26 17:37 Newbie Question Carlos Cajina
2003-03-26 18:53 ` Joel Newkirk
2003-03-24 15:54 newbie question Scott Melnyk
2003-03-24 16:27 ` Joel Newkirk
2003-02-24 16:23 Newbie Question Jeffrey Corbit
2003-02-24 16:50 ` Aldo S. Lagana
2003-02-16  7:04 Newbie question Shankar; Hari
2003-02-16  7:57 ` Joel Newkirk
2003-02-16 22:50   ` Shankar; Hari
     [not found] <20030120105301.22841.47459.Mailman@kashyyyk>
2003-01-20 15:58 ` newbie question regina
2003-01-20 19:02   ` Maciej Soltysiak
2002-12-08 23:37 Newbie question Glen Spidal
2002-12-10 13:09 ` Bart
2002-11-03 18:51 CVS Respository failures Noah
2002-11-04  9:15 ` Newbie Question Louie
2002-10-22  2:47 William L. Childers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003501c41d86$4efcf3c0$51a2fea9@heretic' \
    --to=alexis@tpys.com.ar \
    --cc=ahmad@netlogicbroadband.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox