Starting the firewall involves activating IP packet filtering. This is done with the CFGFILT utility.

To start the firewall, use the command:

    cfgfilt -u -i

(This command is explained in more detail below.)

Starting the firewall automatically

You can configure your system so that the firewall task will start automatically when the system boots. The easiest way of doing this is to create or edit the file
    x:\TCPIP\BIN\TCPEXIT.CMD

where x is the drive letter of the volume on which TCP/IP is installed, and add the line

    CALL CFGFILT.EXE -u -i

This file will be called automatically by the TCP/IP startup routines when the system boots.

Note: If you wish to enable firewall logging, you should add the '-d' parameter to the CFGFILT command line. See the section Enabling logging for more information.

Detailed explanation

The above syntax for the CFGFILT command performs the following actions:

Each of these actions is explained more fully in a later part of this book.

Checking the current state

You can verify that filtering is active by running the CFGFILT command without any parameters. (As the output is quite lengthy, you will need to run the command from a prompt with scrollback capability, or else pipe the output through 'more'.)

If you issue the command

    cfgfilt |more

you should see, near the top of the output, the heading 'Status of filter support code'. This should display the status 'active'. If it shows 'inactive', then IP filtering is not active (meaning that the firewall is not currently functioning).


[Back] [Next]