View previous topic :: View next topic |
Author |
Message |
soccerplayer Tux's lil' helper
Joined: 14 Mar 2003 Posts: 102
|
Posted: Mon Oct 06, 2003 2:08 am Post subject: Help with Server Setup |
|
|
Im setting up and internet server with an old computer I have. Ive been around Gentoo for a while now and I know how to install it. Thats not the problem. Ive never done anything with linux networking and so i dont know what i need to do for the computer. I intend for the ADSL-modem to be connected to the computers first ethernet port. THen I want the computer to act as a DHCP server for the other computers and it will send out the signal through the 2nd ethernet card. I have a few differnet computers that will use this connection. and depending on when my brother comes home, that'll be even one more. So here is what Im asking. I guess ill just do a genkernel configuration to make things easiest. Do I need to add anything to the kernel besides what that will give me? And then once everyhing is installed, how do i make this computer send the connection out to any computer on my network? i.e - do i need any programs or do i have to write scripts? REmember, Im a linux networking noob so it would be great for direction to be very clear and concise. THanks for your time _________________ Microsoft is to Software as McDonalds is to Cuisine |
|
Back to top |
|
|
ozonator Guru
Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Mon Oct 06, 2003 2:27 am Post subject: Re: Help with Server Setup |
|
|
soccerplayer wrote: | Do I need to add anything to the kernel besides what that will give me? And then once everyhing is installed, how do i make this computer send the connection out to any computer on my network? i.e - do i need any programs or do i have to write scripts? |
Briefly, since this is well-documented elsewhere.
To the first question: make sure netfilter support is included in your kernel (under networking options; include as many of its options as you understand, including any to do with nat and connection tracking).
The other questions: you'll need dhcp (to run a dhcp server; you'll have to set up an appropriate dhcpd.conf). You'll also need to use iptables to do nat and forwarding for the internal machines; see https://forums.gentoo.org/viewtopic.php?t=93603 for the basics, any of the other of the myriad of firewalling docs and howtos for more details. Generally, what you're trying to do falls into the category of "home network with a Linux firewall/router", so look around for docs about that. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|