LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-26-2007, 08:06 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Internet "gateway" with multiple IP addresses?


Is it possible to configure an internet gateway so that its outer interface (oif - internet side) has 255 (virtual, public) IP addresses, and when an internal client sends a package to a specific port of the internal interface (iif - internal side), it is passed through to the internet via a specific IP of the outer interface?

With other words:
any traffic to iif : port1 should passed through to oip1, and to the internet from there,
iif : port2 to oip2,
iif : port3 to oip3,
etc...

The destinations of the packages should see as if the source of these packages were oip1, oip2, oip3, respectively.

I wonder if this is the so-called reverse NAT operation?

Can it be configured with iptables (or is it possible at all)?

Last edited by J_Szucs; 06-26-2007 at 08:10 AM.
 
Old 06-26-2007, 10:02 AM   #2
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
It is called one-to-one or static NATing. More info can be found at http://www.linuxhomenetworking.com/w...Using_iptables.

Last edited by jrbush82; 06-26-2007 at 10:03 AM.
 
  


Reply



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
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
re "cant connect to internet using suse10" and "will this work?" beejayess Linux - Newbie 12 07-11-2006 02:16 PM
reciving a wireless "a" internet connection... and sending it out as "g" pengu Linux - Wireless Networking 0 03-28-2006 10:50 PM
KMail: Clearing "Recent Addresses" phidor Linux - Software 2 01-10-2006 04:00 PM
Is there any Apache-Tomcat "connector" setup tutorial that addresses this scenario??? sairndain Fedora 1 11-03-2005 05:37 AM

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

All times are GMT -5. The time now is 08:44 PM.

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