From: "Roberto Rossi" <roberto.rossi@smc.it>
To: netfilter@lists.netfilter.org
Subject: mail server problem
Date: Fri, 7 Nov 2003 16:10:01 +0100 [thread overview]
Message-ID: <005e01c3a541$375c29b0$0101010a@tv.smc> (raw)
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
Hello all,
I've a range of 30 public internet addresses to manage starting, say, from 213.25.24.0 to 213.25.24.31 netmask of course 255.255.255.224.
My firewall (Red Hat 9.0, latest kernel) public IP is 213.25.24.30 the router address is 213.25.24.1 and the LAN network is 10.1.0.0/16.
I've an internal mail server, say, 10.1.1.2 which I would like to see from the outside as 213.25.24.3, one IP of my range.
Except DNS registration, what are the correct steps to make this possible?
I just set this rule on my firewall:
iptables -t nat -A PREROUTING -p tcp -i eth0 -d 213.25.24.3 --dport 25 -j DNAT --to 10.1.1.2:25
but I guess it's not enough because it's not working.
A help is really appreciated, thanks in advance.
Roberto - Italy
[-- Attachment #2: Type: text/html, Size: 1884 bytes --]
next reply other threads:[~2003-11-07 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-07 15:10 Roberto Rossi [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-10 9:48 mail server problem Roberto Rossi
2003-11-10 9:58 ` Antony Stone
2003-11-10 10:15 ` netfilter
2003-11-10 10:25 ` Antony Stone
2003-11-10 14:43 MOUDARIR Mohamed
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='005e01c3a541$375c29b0$0101010a@tv.smc' \
--to=roberto.rossi@smc.it \
--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.