Guest DeepPhreeze Posted June 12, 2004 Report Share Posted June 12, 2004 I have a P3 1GHz I want to turn into a router. It already has two working LAN cards, so how do I go about configuring Mandrake as a router? P.S. It has to be a Linux GUI distro as I want to use F@H too, and maybe host some UT matches. Quote Link to comment Share on other sites More sharing options...
streeter Posted June 12, 2004 Report Share Posted June 12, 2004 Have a look at http://www.netfilter.org/documentation/ind...mentation-howto More info needed - you don't say how far you have got (ie what works so far), how you connect to the net, do you use public IP addresses or NAT etc. The concept is : Set up 2 NICs with different network addresses Enable packet forwarding Set up firewall Chris Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 12, 2004 Report Share Posted June 12, 2004 if you want to go there I wouldnt really start with Mandy... most of the niceties are desktop things and can be a pain for server stuff... thqt being said /me ducks whats F@H Quote Link to comment Share on other sites More sharing options...
Guest DeepPhreeze Posted June 12, 2004 Report Share Posted June 12, 2004 Okay, I installed RedHat, it ain't as friendly but that's okay. Thanks for the info, I'll tell you how it works out. F@H is Folding@Home, part of the human genome project. http://www.stanford.edu/group/pandegroup/folding/ Quote Link to comment Share on other sites More sharing options...
Guest DeepPhreeze Posted June 12, 2004 Report Share Posted June 12, 2004 Okay, well I'm directly connected to my DSL modem (RJ45), the modem has reserved the internal IP 192.168.0.1 for web-admin, I connect via PPPoE but it's all on the modem. Quote Link to comment Share on other sites More sharing options...
Guest DeepPhreeze Posted June 12, 2004 Report Share Posted June 12, 2004 (edited) And my computer gets the public IP address 68.123.X.XX EDIT: Okay now I'm really confused. I'm not sure what I have to do now, isn't there an easier way? Edited June 12, 2004 by DeepPhreeze Quote Link to comment Share on other sites More sharing options...
streeter Posted June 12, 2004 Report Share Posted June 12, 2004 Okay, I installed RedHat Er, we're Mandrake... :) Anybody here know RedHat tools? Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 12, 2004 Report Share Posted June 12, 2004 I'll move this topic to Other Linux Distributions now you're using RedHat. :) Quote Link to comment Share on other sites More sharing options...
DragonMage Posted June 13, 2004 Report Share Posted June 13, 2004 I think RedHat tools are the worst tools available of the big distros. If I were you, I would install Webmin and play around with it. Anyway, just go to the firewall section in the webmin and start making an IP masquarade to start with, then start hardening the firewall. For me the easiest way to create a router is to install Firestarter and enable the routing option. In fact, I did that with every iteration of Mandrake :) Quote Link to comment Share on other sites More sharing options...
Guest DeepPhreeze Posted June 15, 2004 Report Share Posted June 15, 2004 Firestarter you say? I'll give it a try B) Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 15, 2004 Report Share Posted June 15, 2004 If what you want is a router I'd use a dedicated distro. Its the absolute simplest option. However these tend not to have the GUI option. The one I use is SME server but its all configured through http ... and no X. You can host UT from it (at least Ive seen the HOWTO) but the question I think to ask is going back to your original question.... Yuo want to turn the PC to a router... or do you want to add routing to the PC? In other words what is the primary purpose of the PC, will you have others and use this as a firewall/router or will you use this as a normal PC as well. Its an important distinction. If its the former a dedicated router distro would be more appropriate and its childsplay to set up. If its the latter you potentially learn a lot more but you need to actually look into it. Mandy configured through the wizards is pretty poor at two interface routing IF you want to use the PC as a normal PC to. However if you use webmin to set it up then it should be fine... Hiowever the nice thing with webmin is its the same on all distro's... anyway, have a think and decide if this is a PC/router or router PC.... Quote Link to comment Share on other sites More sharing options...
reb2 Posted June 16, 2004 Report Share Posted June 16, 2004 hi guy's and gals, I AM NO EXPERT! but i hope this may help? I used to run three machine's (thin coax) with internet connection sharing, but then discovered that a low spec machine with two network cards in it could become a firewall / router. these machine's were my own, my wife's and the father in law's (just a home setup). i did have to set up the fourth machine to be a dhcp server for eth1 (but this was handled auto by the mandrake wizard it told me it had to install a few things and it did. i set eth0 (connected to modem) to receive ip auto (from isp (cable)). and set eth1 to fixed ip of 192.168.10.1. all done through the wizards of mandrake 9.1 and on the other three machines i simply configured them to receive ip auto both in windows and linux (all machines dual boot). told all machines that 192.168.10.1 was the gateway. and it ran quite happily for all of six months without a single hitch!!! (i then purchased a little router box (dlink) and converted to cat5 /rj45) had shorewall configured with NO services visible to the net. now i have not succeeded in actually sharing files in linux with any of the other machines so i would not say they are actually networked as such! but it did allow all three machines to access the net for web and mail and msn messenger (the father in law loves it (he's only 78 years young)). hope it helps B) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.