Name: Anonymous 2006-06-20 18:11
I'm new to Linux and would like to know if anyone here has had a bit of experience using Linux to function as a router/gateway in order to share an Internet connection.
I'm running Debian Sarge. I have two ethernet cards installed. eth0 is wan (connected to dsl modem) and eth1 is lan (connected to 8 port switch)
I want to know if I have the basic concepts right, some questions:
- I use the route command to junction the two interfaces, more or less, right? Any examples or recommended howtos for beginners?
- I should make eth0 and eth1 static, right? (wan=10.0.0.1 and lan=10.0.0.2 good?)
- I need to be running a dhcpd so that all computers on the lan can get ips as needed
- ipchains does the firewalling, and how does that compare with tcpwrappers or whatever that I've heard about.
Any input is appreciated!
I'm running Debian Sarge. I have two ethernet cards installed. eth0 is wan (connected to dsl modem) and eth1 is lan (connected to 8 port switch)
I want to know if I have the basic concepts right, some questions:
- I use the route command to junction the two interfaces, more or less, right? Any examples or recommended howtos for beginners?
- I should make eth0 and eth1 static, right? (wan=10.0.0.1 and lan=10.0.0.2 good?)
- I need to be running a dhcpd so that all computers on the lan can get ips as needed
- ipchains does the firewalling, and how does that compare with tcpwrappers or whatever that I've heard about.
Any input is appreciated!