General discussion

Locked

Network Adress Translation with Linux

By aneggaz ·
Hi all,

I need to implement NAT. I know this possible with linux. Can someone have good informations for making this runing ?

Thanks in advance.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Network Adress Translation with Linux

by falvarado In reply to Network Adress Translatio ...

Hello there,

I have just finished setting up "NAT" on my network. i'm currently using RedHat 6.0 and my users are running a mix of NT4 workstation and win98. Linux's version of "NAT" is called IP Masquerading. If you already have previous experiencesetting up NAT under other platforms ( I was running NAT32 under NT4 Server) or if this is your 1st time setting it up, it's a very easy task to accomplish under Linux. In a very small nutshell, to get IP Masquerading to work you will need to:
1. compile your kernel with IP Masq. Support
2. Assign private IP addresses to your internal Lan
3. configure IP forwarding:
a. If you have kernel 2.0.x or earlier, you will use ipfwadm
b. if you have kernel 2.2.x or greater, you willuse ipchains
4. configure your clients.

Here are 2 URL's that I found very helpfull for using IP Masquerading.
http://members.home.net/ipmasq/ipmasq-HOWTOW-1.77-4.html

http://www.rustcorp.com/linux/ipchains/HOWTO-1.html
This last url is for ipchains. if you a

Collapse -

Network Adress Translation with Linux

by aneggaz In reply to Network Adress Translatio ...

The question was auto-closed by TechRepublic

Collapse -

Network Adress Translation with Linux

by steven.lee In reply to Network Adress Translatio ...

The previous answer was pretty complete. I may have a way to speed up your process, however.

If you use Red Hat 6.0. Do the installation in custom mode. Select all of the services. This will eliminate your need to compile anything.

Then follow theinstructions in http://ci193969-a.ashvil1.nc.home.com/ipmasq/.

These directions are cursory. The previous posting described the authoritative, more detailed approach.

Steven

Collapse -

Network Adress Translation with Linux

by aneggaz In reply to Network Adress Translatio ...

The question was auto-closed by TechRepublic

Collapse -

Network Adress Translation with Linux

by aneggaz In reply to Network Adress Translatio ...

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Operating Systems Forums