Title : Linux Firewall Part 4: Installation
Author : Alan McCloskey
Date : Monday, April 27, 2009


Core software installation

For the purposes of this turotial, I am making several assumptions.  I am assuming that your green network is 192.168.1.x and your orange network is 192.168.15.x.  If you want a different network config, then modify as necessary.

If you already have an Internet Router that you're intending to replace, I recommend some prep-work to make things easier.  Most routers are set as the gateway to their network (i.e. 192.168.1.1), and this is probably the address that you want your firewall to use.  Otherwise, you'll have to set the firewall to 192.168.1.2 or some other address, which can get real confusing really fast.  Go ahead and log into your existing firewall, and change its address to 192.168.1.2, or some other number, so that it will not conflict with your new firewall.  And turn off DHCP, since your new firewall should be the new DHCP server... you don't want two servers trying to dole out dynamic IP addresses and wreaking all sorts of havok.

Once your hardware is prepared, IPcop is very easy to install.  First you must download the latest distribution and burn the image to a CD. Then, go into your motherboard's BIOS and make sure that your CD-ROM is your first boot device.

 

Then just plop in the CD and let it boot.  You are presented with a prompt which allows you to set any parameters you like before boot.  I actually ran into an issue where Linux could not find the hard drives because it wanted to install on the attached USB card reader.  In this case, I typed "vmlinuz nousb", which disabled USB support.  If you do this, then you won't be able to use USB keyboards, even after installation.  I would just temporarially unplug any USB storage devices during installation.

After setting any parameters (or just press Enter to continue), you are presented with an ANSI-based installation wizard.

The first few screens are rather self-explanatory.  You are asked to enter what type of keyboard you're using , your time zone, and what you want to name your firewall.  By default, the name is 'ipcop' but you can change it to anything else you would like.  When it comes to the Domain screen, just leave it at default (localdomain).

 

ISDN screen

For some reason, the first major configuration screen is the ISDN configuraiton menu.  I've only known one person who ever used ISDN, and that was eight years ago.  It would benefit the firewall community to remove this screen, or only show this screen if you choose a particular parameter.  For most people, tab over to 'Disable ISDN' and press Enter.  If you really need help configuring ISDN, then consult the IPcop installation manual.

Choose Network Type

The next step is to configure your network type.  For the purposes of this tutorial, we are selecing a GREEN + ORANGE + RED configuration. You must have three seperate network cards to use this configuration.  If you only want a basic firewall, then select the GREEN + RED configuration.  Remember that the red network is the Internet connection, Orange is your DMZ, and Green is your internal network.  All of these networks will have a completely different IP range.

 

Enter IP addresses

You are then asked to enter the IP information of your Red (Internet) interface.  Your choices are Static, DHCP, PPPOE, and PPTP.  The type totally depends on your network configuration.  Business-class Internet access typically has a Static IP address, so enter that IP in the IP address field.  If you have cable or DSL then you could be using DHCP or PPPOE.  Some notes to remember are:

 

  • Your RED network must have a static address if you wish to use IPCop's aliasing feature.
  • DHCP is used when your ISP has indicated you are to use automatic addressing.
  • Some ISP's, require you to provide a hostname to their DHCP server. This probably is not IPCop's hostname. If it's needed, you can probably use the first part of the fully qualified domain name you noted while gathering the network parameters.
  • If your connection is via PPPOE, your ISP will supply all necessary information during the initial connection, so you won't have to do anything, after selecting it.
  • If your connection is via PPTP, you will have to supply your RED network IP address and Network mask, just like the static addressing case. This address is almost always 10.0.0.150 with a network mask of 255.255.255.0.

 

You can then choose the interfaces for your Orange and Green Networks.  You may need to select Probe for IPcop to find the interfaces, and then you can select each interface and assign IP addresses for them.  Remember that each interface must have its own IP address range.  To keep things simple, many people use 192.168.0.x for their Green Network, and 192.168.10.x for their Orange network.  Each of these network's DNS servers are probably the same as the Red interface (which you previously entered).

 

You are then prompted for DNS information, which should have been provided to you by your ISP.  Enter that information in the DNS and Gateway settings. 

We finish the installation on the next page...

 

Continued on next page...  

<< Back to the Guides
Page 1 of 2

Installation Continued >>
Related Articles

  • Guides : Linux Firewall Part 5: The GUI Interface
  • Reviews : Left 4 Dead 2 Preview
  • Articles : Can Vendors Really Get Along?
  • Articles : The OS Wars
  • Articles : File Systems Explained
  • Articles : Pete Hines Comments on Id Merger, Future of Quake and Doom
  • Guides : Linux Firewall Part 3: Selecting Your Hardware
  • Guides : Linux Firewall Part 2: Determine Your Network Setup
  • Comments

    By Huma2000 on Friday, June 12, 2009 3:50:53 AM
    There will be a part 5 explaining all the features and options of ipcop? Also I think it will be awesome a comparative review between the main firewall os out there like ipcop, ipfire, ipsense, monowall, smoothwall and so on
    Thanks for the great work!
    By alan on Friday, June 12, 2009 12:25:47 PM
    Yes, parts 5 through 8 have been planned. They will discuss some of the extra options of IPcop.
    By Huma2000 on Sunday, June 14, 2009 4:24:50 AM
    Great! I'm looking foward for it! Great job!
    By fred09 on Tuesday, August 04, 2009 4:45:11 AM
    thanks for the review! love it
    are you going to include ideco in your next comparative review? seems like a decent firewall
    By Mitch on Saturday, November 07, 2009 10:18:44 AM
    Has part 5-8 been released yet, i haven't been able to find it
    Comment on this article!
    Name:
    Email:
    Comment:
     
    All entries are logged and must be approved before publication.
    Random Gallery Images
    GET FREE HARDWARE!
     
    Sign up for our free newsletter and enter exclusive contests with great hardware prizes.  In addition, you get access to exclusive tutorials not available anywhere else on the site.
    Name:
    Email:
    Join the Facebook Club

    Follow on Twitter

    Add RSS


    [ search OCMS ]
     

    REVIEWS TECH NEWS
    GAMING AUDIO/VIDEO GADGETS

     
    Blog Posts
    Doing Endgame is Fine…Get Everything and You’re a Loser. A Writer’s take on Twilight Sick of this Twilight B.S. Fixed News Feeds More Hard Drive Woes Windows 7 Programs not launching Making a tech site profitable OCModShop Full Time? Rock Band Unplugged: Legendary Status Batman Arkham Asylum Game of the Year?

    Latest Hardware Rebates
    Shopping
    Core i7 965 Extreme
    Core i7 940
    Core i7 920
    Core 2 QX9770
    Core 2 Q9650
    Core 2 Quad Q6700
    Core 2 Quad Q6600
    Core 2 Duo E8400
    Core 2 Duo E6850


    Phenom 9850 Black
    Phenom 9750 Black
    Phenom 9600 Black
    Phenom 9600
    Phenom 9500
    Athlon 64 X2 6400+ Black
    Athlon 64 X2 6000+
    Athlon 64 X2 5600+
    Athlon 64 X2 5200+


    Intel DX58SO
    Gigabyte GA-EX58-UD5
    Asus Rampage Formula
    Gigabyte GA-EP45-DS3L
    Gigabyte GA-X38-DQ6
    Asus P5K Deluxe
    Shuttle SP35P2 Pro
    Shuttle SG33G5
    Antec Sonata III
    Cooler Master Cosmos
    PCP&C Silencer 750W
    Samsung 22" 226BW
    GeForce GTX 280
    GeForce GTX 260
    GeForce 9800 GTX
    GeForce 9800 GT
    GeForce 8800 Ultra


    Radeon HD 4870 X2
    Radeon HD 4870
    Radeon HD 4850 X2
    Radeon HD 4850


    Seagate 7200.11 1.5TB
    Seagate 7200.11 1TB
    WD Passport Elite 500GB
    1TB Hitachi 7K1000
    1TB Caviar GP
    750GB Caviar SE16
    750GB Barracuda


    Call of Duty World at War
    Grand Theft Auto IV
    Fallout 3
    Fable II
    Madden NFL 09
    Left 4 Dead
    Rock Band 2
    Guitar Hero World Tour

    site map | advertise | subscribe | privacy policy | RSS feeds

    Website design by Alan McCloskey. All content © OCModShop.com: 2001 - 2009, reproduction by permission only.