PDA

View Full Version : Private LAN and NAT Configuration


Admailp
20th November 2008, 11:56
Hi all,

I want to set up a private LAN with NAT Configuration. I have the following requirements:

1) One PC, which has two NICs (network adapters). Windows XP installed on one partition and Suse Linux on another. This PC should have access to the internet with its public IP address via one of the adapters(basically, this is a server) and another adapter to the Switch that holds other local clients. I want to configure a NAT on Linux to be my server.


2) One client Notebook that has only a private IP address therefore should not bound outside that local network. Windows XP (and Vista) is installed

3) One client PC that has only a private IP address therefore should not bound outside that local network. Windows XP installed

Basically I know how to assign local IP addresses within the address range: 192.168.1.X - on Windows systems. The problem is I don't know to configure the other adapter (*point (1)) such that only this machine should have access to the internet and as Linux Server for other client machines.

Please help me. I am a newby to all this and would appreciate a clearly layed out instruction.

Regards to all of you.

marpada
20th November 2008, 19:44
I'm not a SUSE user but I'm sure can do it using yast. Take a look at

http://www.freesoftwaremagazine.com/articles/home_internet_gateway?page=0%2C3
________
Dc Marijuana Dispensary (http://dc.dispensaries.org/)
________
MARIJUANA INDICA (http://strainindex.com)

chipsafts
20th November 2008, 20:23
WebMin should be able to help you,
www.webmin.com

Admailp
20th November 2008, 22:32
Thanks all for the links. I will read through the pages you provided and try things out myself first. I'll come back to inform you whether am succeeded or not.

Now its time to get a go with my LAN ...

PS: I would appreciate it still if someone comes up with more resources ..

sinanceylan
25th November 2008, 00:52
I suggest you to use Arno's IPTables Firewall Script. It supports NAT as well as it is a stateful firewall.
http://freshmeat.net/projects/iptables-firewall/