From: Primero <primero@fastwebnet.it>
To: Josh Nerius <jnerius@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Redirection using DNAT on transparent bridge.
Date: Tue, 09 Nov 2004 10:11:07 +0100 [thread overview]
Message-ID: <419089AB.3060509@fastwebnet.it> (raw)
In-Reply-To: <4f3930a704110819232a7f8a76@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
Josh Nerius wrote:
>Hello,
>...
>
>iptables -t nat -A PREROUTING -m physdev --physdev-in eth0 -s
>192.168.150.222 -p tcp --dport 80 -j DNAT --to
>destination.ip.address.here
>
>
>
where this "destination ip address" is? i mean, is it another network on
the same firewall/router, is it an host somewhere out there on the net?
I use some rules like this one on my Bridged Firewall to DNAT some
connection on a 3rd network i have on this firewall and, with the add of
some rules in FORWARD chain, it works fine.
Do u ACCEPT traffic for "destination.ip.address.here" ?
maybe a little bit more rules would help :)
--
---------------------------------------
#######################################
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
#######################################
---------------------------------------
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
prev parent reply other threads:[~2004-11-09 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 3:23 Redirection using DNAT on transparent bridge Josh Nerius
2004-11-09 9:11 ` Primero [this message]
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=419089AB.3060509@fastwebnet.it \
--to=primero@fastwebnet.it \
--cc=jnerius@gmail.com \
--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.