From: Kristofer <kristofer@cybernetik.net>
To: netfilter@vger.kernel.org
Subject: Port forwarding (non-NAT)
Date: Mon, 18 Feb 2008 17:18:07 -0600 (CST) [thread overview]
Message-ID: <16791323.9561203376688071.JavaMail.SYSTEM@tater> (raw)
In-Reply-To: <1664820.9541203376664790.JavaMail.SYSTEM@tater>
I've googled and done some searches, and the only information I can find is for port forwarding with NAT. Perhaps that's what I need to accomplish what I am trying to do. If I missed an obvious link or source with this information, I apologize and please slap me.
I currently have an SMTP server listening on port 25, and the machine has its own static IP address, no NAT is being used.
I want to use iptables to forward inbound traffic on port 587 to port 25 of that same machine, so basically making SMTP listen on both ports. I do not wish to configure the SMTP software to listen on multiple ports, since I may want to open up several more ports in the future and that would be a lot of idle daemons listening on ports they may or may not use.
So, my questions is: how can I have incoming traffic on port 587 go to port 25 of the localhost?
Thanks,
Kristofer
next parent reply other threads:[~2008-02-18 23:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1664820.9541203376664790.JavaMail.SYSTEM@tater>
2008-02-18 23:18 ` Kristofer [this message]
2008-02-19 0:26 ` Port forwarding (non-NAT) Jon Wilson
2008-02-19 10:49 ` Pascal Hambourg
2008-02-19 17:01 ` Kristofer
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=16791323.9561203376688071.JavaMail.SYSTEM@tater \
--to=kristofer@cybernetik.net \
--cc=netfilter@vger.kernel.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.