Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Patrick Chemla <patrick.chemla@perfaction.net>
To: netfilter@vger.kernel.org
Subject: multiple public ips to multiple internal ips
Date: Sat, 30 Jan 2010 23:10:24 +0200	[thread overview]
Message-ID: <4B64A040.2080300@perfaction.net> (raw)

Hi,

I need to setup a router to match multiple public ips to multiple 
internal ips.

I need to do it one by one, because I want it to be dynamic.

I mean: I want to be able to change external ip for a specific server at 
any time. I am building a set of scripts where an internal server will 
request from the router to change his external ip. The router will 
change and reload his configuration dynamically.

I have a set of 10 public ip addresses for about 5 internal servers.

My router is a Linux Fedora 11 box, kernel 2.6.30.10-105.fc11.x86_64 
with iptables-1.4.3.1-1.fc11.x86_64 installed.

Is there somewhere a step by step howto to help me configure iptables? 
Maybe a thread in this list?

I checked some threads but I found only configurations for range of ips, 
not for individual ips.

I checked some iptables Howtos: There are a lot about one public ip to 
multiple internal, I haven't found any on multiple to multiple.

Thanks for help
Patrick


             reply	other threads:[~2010-01-30 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30 21:10 Patrick Chemla [this message]
2010-01-31  6:42 ` multiple public ips to multiple internal ips Patrick Chemla
2010-01-31 21:15   ` Sven-Haegar Koch

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=4B64A040.2080300@perfaction.net \
    --to=patrick.chemla@perfaction.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox