Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John Black" <black@arbbs.net>
To: netfilter@lists.netfilter.org
Subject: ip alias
Date: Mon, 27 Sep 2004 22:15:50 -0500	[thread overview]
Message-ID: <002a01c4a509$74f94b40$936ffea9@alpha> (raw)

I'm tryint to setup ip alias with iptables on fedora core 2.

Is this right?  For some reason it will not let me out?

ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0
iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \
                -j DNAT --to-destination 161.31.31.23


thanks
john




             reply	other threads:[~2004-09-28  3:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28  3:15 John Black [this message]
     [not found] ` <Pine.NEB.4.60.0409280439060.15502@sdf.lonestar.org>
2004-09-28  4:44   ` ip alias John Black
2004-09-28 14:27     ` Jose Maria Lopez
2004-09-28  5:57 ` Aleksandar Milivojevic
2004-09-28 11:58   ` John Black
2004-09-28 13:56     ` Aleksandar Milivojevic
     [not found] <20040928051024.692C0BE3@sterenborg.info>
2004-09-28 12:04 ` John Black
2004-09-28 13:51   ` Jason Opperisano
2004-09-28 14:27   ` Jose Maria Lopez
     [not found] <41596898.178.36a5.6993354@arbbs.net>
2004-09-28 15:17 ` Aleksandar Milivojevic

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='002a01c4a509$74f94b40$936ffea9@alpha' \
    --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