Linux Netfilter discussions
 help / color / mirror / Atom feed
* Crazy portmap request
@ 2005-06-30 22:56 Gary W. Smith
  2005-07-03 14:02 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Gary W. Smith @ 2005-06-30 22:56 UTC (permalink / raw)
  To: netfilter

Hello, 

I have a new challenge of trying to map some IP's to a single IP but
with a static port.  Here is a sample.

Given 1 externally public IP I need to publish the entire internal class
C subnet worth of machines using their internal static IP address but
mapping them to different ports.

Each workstation has a TCP processing running on a fixed port.  For all
intents and purposes let's say it's SMTP.  What I need to do, using the
single static IP address is map out a single port for each server behind
it.

So, given 10.99.0.x it we want something like this

10.99.0.1:25 = 199.199.80.41:30001
10.99.0.2:25 = 199.199.80.41:30002
...
10.99.0.250:25 = 199.199.80.41:30250

Is there a simple way to do this?  Currently we have a pre/post routing
line per entry.  Is there a better way?

Thanks, 

Gary Smith



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-05 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 22:56 Crazy portmap request Gary W. Smith
2005-07-03 14:02 ` Jan Engelhardt
2005-07-03 17:56   ` Gary W. Smith
2005-07-05 13:01     ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox