LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2006, 12:24 AM   #1
shizzilla
LQ Newbie
 
Registered: Apr 2003
Location: Cyber Space
Distribution: MDK 9
Posts: 24

Rep: Reputation: 15
Lightbulb NAT Outside Addresses to Inside with same address


Hi i have an idea for NAT 1:1 using 2 linux routers. I am wondering if anyone knows if it works or has tried it

What i would like to do is nat static ip addresses

69.68.67.10-250/24

to an inside range of 10.1.1.10-250/24

then NAT these addresses to a 2nd router with

69.68.67.10-250/24

So the outside addresses are NAT'd throw 2 routers so the client sees an address that is the same as the outside address.
 
Old 06-23-2006, 03:54 PM   #2
katayamma
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
As I understand it, you want to have your internal network using the 69.68.67.0/24 network while still being natted behind a firewall?

Yes, you could double nat, though I'm not sure how well it would work. I know I can do it with Ciscos, so I don't see why you couldn't pull it off with pair of Linux boxes.

Personally I'd just stick with using private IP spaces for the internal network unless there was some overwhelming need to pretend that they were directly connected to the external world.
 
Old 06-23-2006, 04:08 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by katayamma
Yes, you could double nat, though I'm not sure how well it would work. I know I can do it with Ciscos, so I don't see why you couldn't pull it off with pair of Linux boxes.
yeah, linux/iptables can do double-NAT just fine...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get my external IP address from behind a NAT? Moses420ca Linux - Networking 23 01-25-2013 05:35 AM
IPTABLES NAT Gateway, No Access from the inside? nweaver916 Linux - Networking 2 08-27-2004 03:46 PM
Apache 2 Server - Can't access it via ip address from inside LAN Robstro Linux - Networking 1 06-30-2004 01:50 PM
multiple mac addresses per ip address dwater Linux - Networking 1 04-23-2004 02:53 AM
Can IPCop do inside,outside NAT? chort Linux - Networking 0 07-01-2003 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration