Fryguy8
04-27-2004, 10:47 PM
well, I'm getting sick of dealing with the NAT firewall on my dlink hardware router, so I'm going to convert to a linux pc firewall tomorrow. However, I'm on somewhat of a budget, and can't afford much downtime.
My current setup is internet -> router -> 3 computers (1 server box, my computer, parents computer).
One thing I want to verify before I start is if I can use my router as a switch if I simply don't use the wan port? This will disable all of the nat features of the router, and it'll simply act like a switch right?
The plan (if the above is true), is to get 2 nics for the server box, and make the server box (which does ssh, smtp, http, and imap), to now do routing/firewall as well (1 nic in from the cable modem, 1 nic out to the switch, which will go to the other 2 computers). I guess another option would be 2 nics out, 1 to each other computer, since I don't have a large network, but I'd like to save the $10 if possible.
So I'm looking for all information possible in aiding me with the above setup, anybody who's done similar setups, I'd appreciate links to kernel configs (i'm sure some kernel networking stuff has to be changed/added), getting 2 eth interfaces up (especially if they are both the same card, which they probably will be), as well as baseline iptables rules, and anything else I need to know and the general infrastructure.
Also, what would be the best/cheapest way to add wifi access to a setup like this?
Also, what type of processing power is necessary to be a firewall box?
My current setup is internet -> router -> 3 computers (1 server box, my computer, parents computer).
One thing I want to verify before I start is if I can use my router as a switch if I simply don't use the wan port? This will disable all of the nat features of the router, and it'll simply act like a switch right?
The plan (if the above is true), is to get 2 nics for the server box, and make the server box (which does ssh, smtp, http, and imap), to now do routing/firewall as well (1 nic in from the cable modem, 1 nic out to the switch, which will go to the other 2 computers). I guess another option would be 2 nics out, 1 to each other computer, since I don't have a large network, but I'd like to save the $10 if possible.
So I'm looking for all information possible in aiding me with the above setup, anybody who's done similar setups, I'd appreciate links to kernel configs (i'm sure some kernel networking stuff has to be changed/added), getting 2 eth interfaces up (especially if they are both the same card, which they probably will be), as well as baseline iptables rules, and anything else I need to know and the general infrastructure.
Also, what would be the best/cheapest way to add wifi access to a setup like this?
Also, what type of processing power is necessary to be a firewall box?