Dedicated Firewall Machine Setup Help

RBall151

Weaksauce
Joined
Jan 20, 2004
Messages
120
I have an old PC and I am looking at putting IPCop on it to run as a firewall. I will have 2 wireless laptops on the network as well as 1 hardwired PC. Will I just need 2 network LAN cards? Can I plug the hardwired PC into the Linksys Router or will I need to plug it directly to the dedicated firewall machine? I want to double check before I buy the network cards.

I believe this setup is correct:

Cable Modem ->IN Dedicated Firewall Machine OUT -> Linksys Wireless Router -> 2 Wireless & 1 Cat5 cable hookup

What are some good add-on's to IPCop to filter out viruses and spyware?

Thanks,
Ryan
 
If I disable everything on the wireless, will I still have the wireless internet available? Does my setup appear to be correct?
 
see if the router has an option for bridge or access point, that will let you use it as just a switch and wireless access point
 
I have a WRT54GSV4 Linksys Router, and I can't seem to figure out how to make it just a switch and wireless access point.

Do I need to just Disable the DHCP Server option from yes to no?
 
Well I disabled the DHCP and I'm still having problems.

What type of Network Configuration Type would I be?

I have my connection from:

DSL Modem -> IPCop Firewall -> Linksys Router -> 1 wired PC & 2 Wireless Laptops?

I think this is why I'm having problems with the install. Can someone help me out? I thought this would be a Green + Red.
 
Log into your Linksys wireless router, by default 192.168.1.1. Change LAN IP address to 192.168.1.245. Disable DHCP service on it.

IPCop box set with Green NIC at 192.168.1.1, with DHCP enabled.

DSL Modem into Red NIC of the IPCop box. Follow instrux on configuring IPCop to your DSL ISP.

Green NIC of IPCop box...plug into one of the free LAN ports of your Linksys wireless router.
You can use your router as a 4x port switch.....actually if you run DD-WRT you can run it as a 5 port switch.
 
Hey, Thanks for the help. But I can not seem to get this setup correct! I have read mutliple install articles and I am still having problems. Can you help me finish this project?

I am running a Green + Red Network Interface. Is this correct? I am worried because I have read that Blue is for wireless. Just to be clear, I am running 1 Desktop PC and also have 2 laptops on my network.

I set the linksys router to 192.168.1.245 and disabled the DHCP. But under the "Internet Connection Type" the default is Automatic Configuration DHCP.
Or there are the options of :static ip, PPPoE, PPTP, L2TP, or Telstra Cable.

As the firewall goes,
I set the Green IP to 192.168.1.1
For Red, I changed it from Static to DHCP.

After I have completed the install, I set my root and admin password and the system reboots. When it reboots it will not let me type a password in the form, just the ipcop login:

I believe all my Cat5 cables are setup correct as well. I Don't need a cross over cable do I? As for wiring, I have the following setup:

DSL cat5 to Firewall Card 1. Firewall Card 2 cat5 to linksys ethernet port. Finally, my PC is plugged into a port on the linksys router.
 
so can you get to the ipcop and linksys ok? Your ip is on that green range then? DHCP server has to be off in the linksys but it can still dhcp get an ip on your green which is fine.
Are you getting to the internet fine with the cabled pc? Wireless connect to ap still?

green + red is fine. Blue is if you want your wireless to be its own range of ips.

I had that problem with ipcop not taking my password after reboot too.

I know my cable company has my mac of my pc so i have to spoof it or unplug the cable modem for 30 mins so it cleans out its tables and i can add another mac.
 
No I can't get the internet working at all with it plugged in.

I think I setup the Green right, but I believe the problem is how I am setting up the Red part. If I have wireless laptops using this network, so I need to setup a Blue?

I don't know why it won't take my password.
 
can you get the webpage for the ipcop to work? Your wireless should be on the green too. Red is for your outside connection to your dsl.

look on ipcops site for how to reset the password.

You can recover your 'root' password by booting IPCop in 'Single User'
> >>mode. To do this, reboot your IPCop machine. During reboot, while the
> >>GRUB splash screen is displayed, press the 'a' key. A long command
> >>line will appear with the cursor situated at the end. Press the 'Space
> >>Bar' and type the word:
> >>
> >>single
> >>
> >>Then press the 'Enter' key. IPCop will boot and you will be placed at
> >>the command prompt, logged in as the 'root' user. Type:
> >>
> >>passwd
> >>
> >>You will be prompted to enter the 'root' password, twice. Next, reboot
> >>your machine by entering:
> >>
> >>/usr/local/bin/ipcoprebirth
> >>
> >>DONE! :)
 
No I can't get the website to work. It is quite frustrating. Are there any examples of what my Red should be set at so I can make sure everything is exactly correct?
 
So if I have it setup as Green + Red, will I have problems with my wireless laptop users? Or will they still be able to connect to the internet and be behind the firewall as well?

Okay here is my complete Setup. Please help me fill in the missing pieces in bold, or let me know if someone looks wrong.

-Network Configuration Type: Green + Red

-Driver and Card Assignments:
Green: RealTek RTL-8139 eth0
Red : RealTek RTL-8139 eth1
-Address Settings:
Green IP: 192.168.1.1
Network Mask: 255.255.255.0

Red: [X] DHCP Selected
HostName: ipcop
IP Address: (Can't select)
Network Mask: (Can't select)

-DNNS & Gateway Settings:
Primary DNS:
Seconadry DNS:
Default Gateway:


-DHCP Server Configuration
[ ] Enable (yes or no?)

Start Address:
End Address:
Primary DNS:
Seconadry DNS:
Default Lease (mins): 60
Max Lease (mins): 120
Domain Name Suffix: localdomain


I wasn't sure about the DHCP Server Configuration. I would imagine that the start address would be something like 192.168.1.2 and the end be 192.168.1.16 if you want 15 ip's.

What is my Primary DNS and Secondary DNS?

Thanks again.
 
Okay I found my internet provider's DNS Servers. Under Default Gateway, should I use their gateway number that I found from my provider as well?

Do I need to enable DHCP Server Configuration?
 
use their numbers.

You want dhcp server turned on if you want to get addresses on the green. Your wireless clients on fine on the green also.

Im more worried that your not getting a red IP from your ISP.
 
Back
Top