Setting up RoadRunner in Mandrake 7.2

lockness

Member
Jan 17, 2001
40
0
0
Im tyring to setup my linux box to be a firewall. Right now Im trying to get RR working on it. From what Ive read, its supposed to be real simple now. Just turn on DHCP for the nic and plug it to the cable modem. Well thats not working for me :(. Can someone provide any help? Im not using my 3comm nic from RR. Its in my Windows machine until I get the linux setup and turn on masquerading.

thanks
 

trend

Senior member
Nov 7, 1999
603
0
0
ha.... first of all... you better be 100 percent scared all the time to leave a linux box online with a static ip and broadband and be asking something like this. :)... but anyways..

don't use dhcp
mandrake 7.2:

netconf
setup nics for static ip
dns


for masq...
route add
ipchains
and dhcpd


more info www.linuxhelp.net or im me
 

fivepesos

Senior member
Jan 23, 2001
431
0
0
im a little less scared to leave my linux box online all the time then trend is. if you disable all outside ports (inetd.conf, and your rc.scripts) and install portsentry you should be fine.

theres a lot of good security guides for linux just go to ldp.org. i would recommend u find and install portsentry, it detects scans and add the offenders to your hosts.deny to effectively block them off (however, there are ways around it but it does block most script kiddies).

to get linux to use your cable modem do the following: plug the cable modem into your computer nic. start a dhcp client (command is: dhcpcd eth#). where # is the number of your interface. good luck and make sure to secure your box.
 

lockness

Member
Jan 17, 2001
40
0
0
Well I dont have a static ip address. So, how do I go about setting it up for a dynamic ip?
 

warlord

Golden Member
Oct 25, 1999
1,557
0
0
lockness,

one thing you will have to do when you switch your modem from the windows box to the linux box is unplug it.

I recomend unpluging, then switch boxes, plug back in, and boot. I spent about a week trying to get DHCP to work on RH7, and that was my problem, it had absolutely nothing to do with linux.

this website helped me a ton: linuxdocs.org
specifically check out ipmasq how to

good luck.
 

fivepesos

Senior member
Jan 23, 2001
431
0
0
dhcpcd eth# starts an DHCP (dynamic host control protocol) for eth#. this will work with roadrunner.