All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Crider <mcrider@hoecoop.org>
To: netfilter@vger.kernel.org
Subject: NAT rule
Date: Wed, 16 Jul 2008 11:12:35 -0500	[thread overview]
Message-ID: <487E1DF3.1090203@hoecoop.org> (raw)

I am attempting to set up a LAN-to-LAN VPN using ipsec-tools for one of 
our vendors to access a server behind our firewall. However, the local 
IP address of the server (192.168.10.xx) conflicts with a local address 
at the vendor's network. They suggested using NAT to transform the 
server address to 192.168.101.xx and hooking the VPN to the 
192.168.101.0/24 network. I would like to run the VPN on the same 
machine with the firewall (which uses netfilter 1.3.5-4 on CentOS 5.2).  
We need to be able to initiate a connection from either end of the VPN. 
Could anybody recommend iptables rules that would set up the address 
translation?
-- 
Michael Crider

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


             reply	other threads:[~2008-07-16 16:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16 16:12 Michael Crider [this message]
2008-07-16 16:54 ` NAT rule Jan Engelhardt
2008-07-16 17:19   ` Grant Taylor
2008-07-16 17:25     ` Jan Engelhardt
2008-07-16 18:49       ` Grant Taylor
2008-07-16 17:18 ` Grant Taylor
2008-07-16 17:26   ` Grant Taylor
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 19:22 Michael Crider
2008-07-16 19:31 ` Grant Taylor

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=487E1DF3.1090203@hoecoop.org \
    --to=mcrider@hoecoop.org \
    --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 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.