All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rowan Reid <rreid@studio3arc.com>
To: techlists@alberni.net,
	'Netfilter Mailing List' <netfilter@lists.netfilter.org>
Subject: RE: Routing Public IPs over NAT Address Space
Date: Mon, 14 Jul 2003 12:57:50 -0700	[thread overview]
Message-ID: <000401c34a42$34c8aed0$1001a8c0@s3ac> (raw)
In-Reply-To: <200307141052.AA122028212@mail.alberni.net>



I'm gonna take a shot and guess your going some vpn routing.  Well
either way the solution is the same .. Don't route the packets meant for
the public domain. Then just route them using a standard routing table
entry. I clipped the following rule from my rules. It basically states
NAT everything outgoing except 10.0.0.0/24 which in this case is my VPN.
After that routing is handled via the routing table.


IPTABLES -t nat -A POSTROUTING -o $EXTIF ! -d 10.0.0.0/24 -j SNAT --to
$EXTIP 

> Just like the subject says; is there any way to route a 
> public IP/subnet over a NAT address space?
> 
> -- 
> Aaron Clausen
> 



  parent reply	other threads:[~2003-07-14 19:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 17:52 Routing Public IPs over NAT Address Space Aaron Clausen
2003-07-14 18:10 ` Shawn
2003-07-14 19:57 ` Rowan Reid [this message]
2003-07-14 20:23 ` Shawn
2003-07-14 20:35   ` Aldo S. Lagana
2003-07-14 20:49     ` Shawn
2003-07-14 22:10       ` A. Clausen
2003-07-14 22:38         ` Shawn
  -- strict thread matches above, loose matches on Subject: below --
2003-07-15  0:23 Daniel Chemko

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='000401c34a42$34c8aed0$1001a8c0@s3ac' \
    --to=rreid@studio3arc.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=techlists@alberni.net \
    /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.