Jump to content

Making a Mandrake router?


Guest DeepPhreeze
 Share

Recommended Posts

Guest DeepPhreeze

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest DeepPhreeze

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.

Link to comment
Share on other sites

Guest DeepPhreeze

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 by DeepPhreeze
Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...