From: Craig Steadman <spinout@yakbox.shacknet.nu>
To: ggerard@mac.com
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: Network mapping from internal and external
Date: Mon, 04 Oct 2004 13:43:28 +0800 [thread overview]
Message-ID: <1096868608.3755.6407.camel@e500> (raw)
In-Reply-To: <200410040342.i943gOqM012108@ylpvm15.prodigy.net>
Hi Greg
I've placed the scripts i use on sourceforge
http://bastionx.sourceforge.net
I use it to maintain a VPN on dynamic ip addresses.
It has a alot of coding framework which can be re-used
to create your own scripts. The sub-interface detection
and ip redirection functions could be useful for you.
Cheers
Craig
On Mon, 2004-10-04 at 11:42, Gregory Gerard wrote:
> I'm not sure how to describe my setup and intended network in iptables
> parlance. Have searched much and can't find anything that matches my
> situation.
>
>
>
> I have 5 static IPs from my ISP. Out the Ethernet end of my DSL box I see
> those 5 IPs directly. I have no control over the router but that's fine.
>
>
>
> I have many more than 5 machines in my network.
>
>
>
> Internally, I have 10.9.x.x (255.255.0.0).
>
>
>
> I would like to setup iptables such that 4 of the external IP addresses map
> completely map onto exactly 4 internal IP addresses. The fifth external
> address will simply be used to NAT for internal only machines.
>
>
>
> What's the right mix of NICs and settings?
>
>
>
> I was thinking about bringing up several eth0:1..4 interfaces to accept
> those 4 external addresses and map them that way.
>
>
>
> Suggestions?
>
>
>
> Thanks!
>
> greg
>
>
next prev parent reply other threads:[~2004-10-04 5:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 3:42 Network mapping from internal and external Gregory Gerard
2004-10-04 5:43 ` Craig Steadman [this message]
2004-10-04 10:38 ` John A. Sullivan III
2004-10-04 10:42 ` Jason Opperisano
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=1096868608.3755.6407.camel@e500 \
--to=spinout@yakbox.shacknet.nu \
--cc=ggerard@mac.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox