General discussion

Locked

Network Address translation in LINUX

By clark_james ·
I have a private LAN which is ofcourse having a private IP i.e. 88.88.88.0/255.255.255.0 and my ISP gave me only 15 public IP addresses i.e. 203.88.88.92-207/255.255.255.240. In order for me to connect my LAN to the internet, I have to use ipchain command in Linux... My questions are:
1. how will I configure my ipchain?
2. how will I put a range which public IP will be included in ipchain? For example the public IPs that I'm going to use will onjly be from 208.88.88.95-200/255.255.255.240

-= i need your expertise on these guys =-
thank you for your continued support and more power.

-=clark james=-

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Network Address translation in LINUX

by clark_james In reply to Network Address translati ...

Point value changed by question poster.

Collapse -

Network Address translation in LINUX

by schannachie In reply to Network Address translati ...

Hi,

You've got some solutions that work quite well for red hat distributions and at Suse distributions. It's similar for the rest.

1.- With Suse distribution you have to isnstall the security packages such as rinetd, ipchains, ipfwrapper (optional)

2.- Set up the kernel extension for firewalling at the /etc/rc.firewall

3.- Set up the masquerading rules at the /etc/rc.init3/ directory create the file
s999masq. In the file inset the rule for masquerading i.e using ipfwadmin-wrapper it'could be :
ipfwadm-wrapper -F -a -m -S 10.10.0.0/16 -D 0.0.0.0/0

if you want to set a ipchains rule then use the man file to set a masquerading rule and placeit in that file.

4.- Reboot

For Red hat :

1.- Start the linuxcomf utility, setup the firewalling extensions, and create a forwarding rule and follow the instructions.

2.- You can downlodad the rinetd, but check out that the kernel you have can use that extensions.


good look !

Collapse -

Network Address translation in LINUX

by clark_james In reply to Network Address translati ...

The question was auto-closed by TechRepublic

Collapse -

Network Address translation in LINUX

by servermonkey In reply to Network Address translati ...

For an easy to configure firewall which will perform NAT, Ip Masqing, ProxyARP, etc, check out www.shorewall.net. It runs on IP Tables and is rock solid.

Collapse -

Network Address translation in LINUX

by clark_james In reply to Network Address translati ...

The question was auto-closed by TechRepublic

Collapse -

Network Address translation in LINUX

by clark_james In reply to Network Address translati ...

This question was auto closed due to inactivity

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

Related Discussions

Related Forums