LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NAT with Pool of valid IP (https://www.linuxquestions.org/questions/linux-networking-3/nat-with-pool-of-valid-ip-155905/)

persian 03-10-2004 12:20 PM

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 :p
thanks

finegan 03-12-2004 08:36 PM

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

ivanatora 07-19-2004 02:10 PM

Btw, if I doesn't like DHCP how can I achieve this goal using iptables?

finegan 07-20-2004 10:13 AM

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

Cheers,

Finegan


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