From: netfilter@tommi.org
To: netfilter@lists.netfilter.org
Subject: Re: mail server problem
Date: Mon, 10 Nov 2003 10:15:09 +0000 [thread overview]
Message-ID: <20031110101509.GA9937@ok.is> (raw)
In-Reply-To: <200311100958.hAA9wwj16722@agate.rockstone.co.uk>
On Mon, Nov 10, 2003 at 09:58:53AM +0000, Antony Stone wrote:
>
> You need two more things:
>
> 1. A FORWARDing rule to allow the traffic through:
>
> iptables -A FORWARD -p tcp --dport 25 -d 10.1.1.2 -j ACCEPT
>
> (note that this rule uses the true destination address, because the FORWARD
> chain comes after the PREROUTING chain, so the DNAT has already been done.)
>
> 2. An ARP response on the external interface so your router knows that
> 213.25.24.3 can be found there:
>
> old method:
> ifconfig eth0:1 213.25.24.3
>
> new method:
> ip addr add dev eth0 213.25.24.3
>
If I have a network routed to my linux box say 192.168.1.0/24, do I still have
to add every IP on the subnet if I want to be able to use NATing for the entire
subnet? Also doesn't adding 250 IP addresses to a NIC affect performance?
====
Tomas Edwardsson
>
> Antony.
next prev parent reply other threads:[~2003-11-10 10:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 9:48 mail server problem Roberto Rossi
2003-11-10 9:58 ` Antony Stone
2003-11-10 10:15 ` netfilter [this message]
2003-11-10 10:25 ` Antony Stone
-- strict thread matches above, loose matches on Subject: below --
2003-11-10 14:43 MOUDARIR Mohamed
2003-11-07 15:10 Roberto Rossi
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=20031110101509.GA9937@ok.is \
--to=netfilter@tommi.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