Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John Black" <black@arbbs.net>
To: netfilter@lists.netfilter.org
Subject: iptables question.
Date: Tue, 17 Feb 2004 09:52:55 -0600	[thread overview]
Message-ID: <403238d7.275c.0@arbbs.net> (raw)

I'm trying to install a gateway/router with Red Hat 9 kernel 2.4.24 and the stock
iptables 1.2.7, with full NAT compiled into the kernel. I have read the howto
at netfilter.org, even have the same line of code.  But it sill will not change
the source address.

here is the line of code and the result of the command <iptables -t nat -L -n>


iptables -t nat -A POSTROUTING  -o eth0 -j SNAT --to Ext_ip
target prot opt source     destination 
SNAT   all  --  0.0.0.0/0  0.0.0.0/0   to:Ext_ip

thanks
John 













http://www.arbbs.net/


             reply	other threads:[~2004-02-17 15:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 15:52 John Black [this message]
2004-02-17 16:40 ` iptables question Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2008-03-11 14:20 bossk
2008-03-11 18:46 ` Jan Engelhardt
2008-03-11 19:13   ` Justin Piszcz
2005-02-10 15:04 shardul Adhikari
2003-09-08 16:43 iptables Question Elitesyntax
2003-08-13 20:49 iptables question Glenn Hancock
2003-08-14 10:17 ` Chris Wilson
2003-08-14  6:53   ` Glenn Hancock
2003-08-14 10:23 ` Ralf Spenneberg
2003-02-03  6:47 IpTables question Curca Claudiu
2003-02-06  5:28 ` Joel Newkirk

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=403238d7.275c.0@arbbs.net \
    --to=black@arbbs.net \
    --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