From: Daniel Ivanov <sertys@supportivo.org>
To: netfilter@lists.netfilter.org
Subject: Re: forwarding ports from aliased ip addresses
Date: Tue, 07 Jun 2005 12:56:24 +0300 [thread overview]
Message-ID: <42A56F48.3020804@supportivo.org> (raw)
In-Reply-To: <42A4C90B.8040306@doki-doki.net>
Yes, just use -d ip_of_client insted.
iptables -A FORWARD -i eth5 -o ethX -d dedicated_ip_of_client -j FORWARD
Mike Pepe wrote:
> Hi all. I'm new to the list but not to netfiler.
>
> I have a firewall built, with eth5 on the internet. It accepts
> connections on a few ports from allowed hosts and forwards them to
> boxes in the DMZ. It works great.
>
> I have another client that wants a box configured similarly. I would
> like to add another internet ip as eth5:1 and then forward certain
> ports on that new IP to a different box in the DMZ.
>
> using -i eth5:1 doesn't work.
>
> Is this even possible? I've been up and down the man page and I can't
> seem to figure out a way to differentiate the alias from the "normal"
> ip. I guess I could add another network card and duplicate the scripts
> but this seems so wasteful to me.
>
> Hoping someone can help me with this!
>
> thanks
>
> -Mike
>
next prev parent reply other threads:[~2005-06-07 9:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-06 22:07 forwarding ports from aliased ip addresses Mike Pepe
2005-06-07 9:56 ` Daniel Ivanov [this message]
2005-06-09 21:53 ` Mike Pepe
2005-06-09 22:06 ` Vivek Dasmohapatra
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=42A56F48.3020804@supportivo.org \
--to=sertys@supportivo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox