Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Szabo Nandor" <medve@wenetto.hu>
To: netfilter@lists.netfilter.org
Subject: Re: Are IP ALIASES supported by iptables?
Date: Tue, 29 Jul 2003 08:54:29 +0200	[thread overview]
Message-ID: <20030729065429.3133.qmail@mail.panaphone.hu> (raw)
In-Reply-To: <008301c3558f$22b075e0$080a0a0a@medannic>

HTB writes: 

> When i want to active nat using iptable on eth0:0 (aliasing) "error 
> appear"
> # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o 
> eth0:0
> Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *).

If eth0:0 has FIX IP address, you should try SNAT: 

# iptables -A POSTROUTING -t nat -s 192.168.0.0/24 -j SNAT --to IP_of_eth0:0 

Nandor Szabo 



  parent reply	other threads:[~2003-07-29  6:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29  5:06 Are IP ALIASES supported by iptables? HTB
2003-07-29  5:18 ` Louie Miranda
2003-07-29  6:03   ` Louie Miranda
2003-07-29  5:20 ` Daniel Chemko
2003-07-29  6:54 ` Szabo Nandor [this message]
2003-07-29  9:39 ` Sven-Haegar Koch

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=20030729065429.3133.qmail@mail.panaphone.hu \
    --to=medve@wenetto.hu \
    --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