Installing and configuring Linux Firewall and Masquerading

for home, office and pleasure

by Jan K. Labanowski,


I decided to put a firewall in front of my home computers. I want to use only one IP address from my Internet Provider, and yet make sure that my kids can browse the net when I work. It works great for me. I give here a detailed surmon on how I compiled the kernel, how I installed everything, etc. It is not intended as a bluprint to follow, but rather as an example. You will still have to read other stuff which I reference in the pages below. When you save files, rename them by skipping ".txt" extension. Please help me fix the bugs and problmes which you see with these files, so they are useful. Just send me e-mail to

Jan Labanowski,