A firewall is a device that will block outside computers from directly connecting to machines on a private network, while still allowing these machines to connect to outside computers.

A firewall can easily be made out of an old 486 box running *BSD or GNU/Linux, a NIC or two, and maybe a dial-up modem.