All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: Newbie question about NAT and forwarding
Date: Thu, 07 Sep 2006 11:20:39 +0200	[thread overview]
Message-ID: <44FFE467.8020909@plouf.fr.eu.org> (raw)
In-Reply-To: <20060907024331.GA2591@crowfix.com>

felix@crowfix.com a écrit :
> On Thu, Sep 07, 2006 at 03:37:33AM +0200, Pascal Hambourg wrote:
> 
>>felix@crowfix.com a ?crit :
>>
>>>I've used table names with iptables commands in my shell scripts, but
>>>I didn't know this /etc/iproute2 directory existed.
>>
>>Huh ? AFAIK, iptables commands do not use routing tables. Can you give 
>>an example ?
> 
> I am showing my newbie status.  Maybe I meant chain names?

Someone using user-defined iptables chains cannot be a newbie. :-)

> Here is a
> snippet I use to enable and disable ssh, with SSH being a table?chain?
> name I can use in another script:
> 
> iptables -N SSH

Here "SSH" is a user-defined iptables chain in the default iptables 
table ("filter"). Routing tables and /etc/iproute2 are totally 
independant from iptables.


  reply	other threads:[~2006-09-07  9:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-06 20:52 Newbie question about NAT and forwarding felix
2006-09-06 22:24 ` Danny Rathjens
2006-09-06 22:59   ` felix
2006-09-06 23:52   ` Pascal Hambourg
2006-09-07  0:24     ` felix
2006-09-07  1:37       ` Pascal Hambourg
2006-09-07  2:43         ` felix
2006-09-07  9:20           ` Pascal Hambourg [this message]
2006-09-07 14:12             ` felix
2006-09-07 16:27     ` Danny Rathjens

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=44FFE467.8020909@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.