LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-10-2004, 12:20 PM   #1
persian
LQ Newbie
 
Registered: Mar 2004
Location: IRAN-Tehran
Posts: 1

Rep: Reputation: 0
NAT with Pool of valid IP


hi
i have 127 Valid ip
and i want to use nat this ip to my local network
and users in local network get invalid ip but if any body want can connect from outside of my network to any client
i am new in Linux
i use RRAS in windows 2000 and give ip pool to NAT and add a map for Each invalid ip address
for EXM:
213.217.155.1 <--> 192.168.50.20
and it work but with some problems
for example users couldn't upload file to FTP servers
so i want use Linux for this job
how can i do this in linux
i have mandrake 9.2
please send for me a example to undrestand better

sorry for my english
thanks
 
Old 03-12-2004, 08:36 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Just to clarify, you have 127 world routable IP address and want to map on a 1 to 1 basis these real IPs to fake 192.168.x.x class C addresses? Wow, first I'm wondering why, just NAT all of the 192.168.x.x subnet through a single world routable IP address or dhcp lease the 127 world routable IPs to each of the clients and do away with the the unnecessary routing. Windows does mangle things a bit with "Internet Connection Sharing" and such, under Linux you can get very very precise with NATing a connection and research your way around the bugs that crop up later very easily.

Don't worry about the english, just try to be as verbose as possible when explaining things. I find it easier if you do not worry about repeating things over and over again, stylisticly bad, but we're not writing great works of literature here, so its not a concern.

Also, this is in the "wireless networking" subforum, you need to be in just normal networking. I'll get the post moved.

Cheers,

Finegan
 
Old 07-19-2004, 02:10 PM   #3
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
Btw, if I doesn't like DHCP how can I achieve this goal using iptables?
 
Old 07-20-2004, 10:13 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
You're going to have to start over, what have you got and what exactly are you trying to do?

Cheers,

Finegan
 
  


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
NAT pool with iptables? doza Linux - Networking 1 11-24-2004 12:26 PM
delay pool chamnane Linux - Networking 1 07-23-2004 01:15 AM
IP Pool rdkoli Linux - Networking 4 12-19-2003 11:15 PM
how to create a pool nakkaya General 17 03-15-2003 01:25 PM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM

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

All times are GMT -5. The time now is 03:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration