From: Arthur Kerpician <arthur@bluechip.ro>
To: netfilter@lists.netfilter.org
Subject: selective port forwarding
Date: Wed, 09 Jun 2004 22:48:46 +0300 [thread overview]
Message-ID: <40C7699E.7060806@bluechip.ro> (raw)
Hi,
I have this very simple network layout:
1. Firewall server (host1.domain.com) with eth1 (external static IP) and
eth0 (internal IP)
2. The firewall server do masquerading for LAN
3. Other server (host2) on LAN with eth0 (internal IP)
So, the only external IP is on the host1.domain.com.
I want to forward some of the ssh traffic to host2, based on the hostname.
eg:
when trying to ssh to host1.domain.com the firewall server (host1) will
reply and
when trying to ssh to host2.domain.com the firewall server will forward
the traffic to host2 inside the LAN
I know that what I'm looking for has to do with DNAT, but I really
don't know where to start. The DNS is configured to map host1.domain.com
and host2.domain.com to the same external IP on host1.
Thanks,
Arthur
next reply other threads:[~2004-06-09 19:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 19:48 Arthur Kerpician [this message]
2004-06-09 21:35 ` selective port forwarding John A. Sullivan III
2004-06-09 21:59 ` Arthur Kerpician
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=40C7699E.7060806@bluechip.ro \
--to=arthur@bluechip.ro \
--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.