Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with Server Setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
soccerplayer
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2003
Posts: 102

PostPosted: Mon Oct 06, 2003 2:08 am    Post subject: Help with Server Setup Reply with quote

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
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Oct 06, 2003 2:27 am    Post subject: Re: Help with Server Setup Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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