Download as pdf or txt
Download as pdf or txt
You are on page 1of 38

J&K State Data Centre - Build Document

Build Document
For
Internal Firewall
VERSION CONTROL

Build Document for:


Internal Firewall
Document Number: 1 Version Number : 1.0
Effective Date: Review Date:

NAME TITLE Organization DATE

Author Paresh Chogle SME - Network CMSITS


Reviewer Ullas Project Manager CDAC
Authorizer Dr. Jayan V Joint Director CDAC

Accountability
Contact
Position: Name Dr. Manjeet Singh 9968888887
Number
Responsibility
Contact
Position: Name Project Manager
Number

Revision History
Sr.no Description Reviewer Date
1 Initial Version Ullas
2 Final Version Dr. Jayan V

Read By
NAME TITLE SIGNATURE DATE
Paresh Chogle Subject Matter Expert (SME)

Page 2 of 38 Confidential
Contents
1. INTRODUCTION................................................................................................................................................. 4
2. LOGGING INTO THE SYSTEM ............................................................................................................................... 4
2.1. LOGGING INTO THE COMMAND LINE INTERFACE (CLI) ........................................................................................ 4
3. SETTING UP THE SYSTEM .................................................................................................................................. 4
3.1. CONNECT THE INTERFACES................................................................................................................................ 5
3.2. CABLING FOR FTD 4115 .................................................................................................................................. 5
3.3. CHANGE MANAGEMENT NETWORK SETTINGS AT THE CLI .................................................................................... 6
3.4. CONFIGURATION BASICS.................................................................................................................................... 7
3.4.1. CONFIGURING THE DEVICE ................................................................................................................................ 7
3.4.2. CONFIGURING SECURITY POLICIES ...................................................................................................................... 7
3.5. DEPLOYING YOUR CHANGES .............................................................................................................................. 8
3.6. CONFIGURING THE DEVICE IN FIREPOWER DEVICE MANAGER ............................................................................... 8
Procedure ............................................................................................................................................. 13
3.7. INTRUSION AND PRE-PROCESSOR RULE STATES AND ADVANCED SETTINGS ............................................................ 16
3.8. BLOCK MALWARE ........................................................................................................................................... 19
3.9. URL FILTERING CONFIGURATION .................................................................................................................... 21
Procedure ............................................................................................................................................. 21
3.10. ADD A SUBNET ............................................................................................................................................... 26
3.11. CONFIGURING THE DEVICE IN FIREPOWER DEVICE MANAGER ............................................................................. 31
3.11.1. GUI ACCESS ................................................................................................................................................... 31
3.11.2. INTERFACE..................................................................................................................................................... 31
3.11.3. PORT CHANNEL .............................................................................................................................................. 32
3.11.4. RESERVE ONE INTERFACE FOR HA INTERFACE................................................................................................... 33
3.11.5. FTD IMAGE.................................................................................................................................................... 33
3.11.6. LOGICAL DEVICE ............................................................................................................................................. 33
3.12. FTD MANAGEMENT........................................................................................................................................ 35
3.13. MODE AND PASSWORD AND FMC IP ................................................................................................................ 35
3.14. STATIC ROUTE ............................................................................................................................................... 36
3.15. LICENSE ......................................................................................................................................................... 36
3.16. HA CONFIGURATION (ACTIVE-PASSIVE)........................................................................................................... 37
3.17. ACCESS POLICY............................................................................................................................................... 37
3.18. OBJECT .......................................................................................................................................................... 37
3.19. SERVICE CUSTOM............................................................................................................................................ 38
3.20. AAA SETTING ................................................................................................................................................ 38

Page 3 of 38 Confidential
1. Introduction
Firepower Device Manager lets you configure the basic features of the software that are most commonly used
for small or mid-size networks. It is especially designed for networks that include a single device or just a few,
where you do not want to use a high-powered multiple-device manager to control a large network containing
many Firepower Threat Defence devices.

2. Logging Into the System


There are two interfaces to the Firepower Threat Defence device:
Firepower Device Manager Web Interface

Firepower Device Manager runs in your web browser. You use this interface to configure, manage, and
monitor the system.

Command Line Interface (CLI, Console)

Use the CLI for troubleshooting. You can also use it for initial setup instead of Firepower Device
Manager.

2.1. Logging Into the Command Line Interface (CLI)


Use the command-line interface (CLI) to set up the system and do basic system troubleshooting. You
cannot configure policies through a CLI session.

To log into the CLI, do one of the following:

• Use the console cable included with the device to connect your PC to the console using a
terminal emulator set for 9600 baud, 8 data bits, no parity, 1 stop bit, no flow control. See the
hardware guide for your device for more information about the console cable.

• Use an SSH client to make a connection to the management IP address. Log in using
the admin username (default password is Admin123) or another CLI user account.

3. Setting Up the System


Procedure

Step 1 Connect the Interfaces

Step 2 Complete the Initial Configuration Using the Setup Wizard


For details about the resulting configuration, see Configuration After Initial Setup.

Page 4 of 38 Confidential
3.1. Connect the Interfaces

The default configuration assumes that certain interfaces are used for the inside and outside networks. Initial
configuration will be easier to complete if you connect network cables to the interfaces based on these
expectations.

The default configuration also assumes that you will connect the management and inside interfaces to the
same network using a switch. The inside interface is configured as a DHCP server, so you can attach your
management workstation to the same switch and get an address through DHCP on the same network, so that
you can open the Firepower Device Manager web interface.

The following diagram shows the expected network topology.

The following diagrams show how to cable the system for this topology. If you want to attach the
management and inside networks to different networks using an inside router, see Routed Mode
Deployment.

3.2. Cabling for FTD 4115

Page 5 of 38 Confidential
• Attach Gigabit Ethernet 1/1 to the ISP/WAN modem or other outside device. By default, the IP address
is obtained using DHCP, but you can set a static address during initial configuration.
• Attach Gigabit Ethernet 1/2 to the layer 2 switch. The IP address is 192.168.45.1, which serves as the
gateway for the inside network.
• Attach Management 1/1 to the layer 2 switch. The IP address is 192.168.45.45.
• Attach your workstation to the layer 2 switch and configure it to obtain an address using DHCP.

3.3. Change Management Network Settings at the CLI

Procedure

Step 1
Connect to the FTD console port. See Logging Into the Command Line Interface (CLI) for more
information.
Step 2
Log in with the username admin and the password Admin123.
Step 3 The first time you log in to FTD, you are prompted to accept the End User License Agreement
(EULA). You are then presented with the CLI setup script.
Defaults or previously entered values appear in brackets. To accept previously entered values,
press Enter.
You must accept the EULA to continue.
Press <ENTER> to display the EULA:
End User License Agreement [...]
Please enter 'YES' or press <ENTER> to AGREE to the EULA:
System initialization in progress. Please stand by.
You must configure the network to continue.
You must configure at least one of IPv4 or IPv6.
Do you want to configure IPv4? (y/n) [y]:
Do you want to configure IPv6? (y/n) [n]:
Configure IPv4 via DHCP or manually? (dhcp/manual) [manual]:
Enter an IPv4 address for the management interface [192.168.45.45]: 10.192.4.20
Enter an IPv4 netmask for the management interface [255.255.255.0]: 255.255.255.0
Enter the IPv4 default gateway for the management interface [data-interfaces]: 10.192.4.1
Enter a fully qualified hostname for this system [firepower]: ftd-1.cisco.com
Enter a comma-separated list of DNS servers or 'none' [208.67.222.222,208.67.220.220]:
Enter a comma-separated list of search domains or 'none' []:
If your networking information has changed, you will need to reconnect.
DHCP Server Disabled

Page 6 of 38 Confidential
The DHCP server has been disabled. You may re-enable with configure network ipv4 dhcp-server-
enable For HTTP Proxy configuration, run 'configure network http-proxy'
Manage the device locally? (yes/no) [yes]: yes
Step 4
Log into FDM on the new Management IP address.

Complete the Initial Configuration Using the Setup Wizard

3.4. Configuration Basics


The following topics explain the basic methods for configuring the device.
• Configuring the Device
• Configuring Security Policies
• Deploying Your Changes
• Viewing Interface and Management Status
• Viewing System Task Status

3.4.1. Configuring the Device

Procedure
Step 1
Click the name of the device in the menu to get to the Device Dashboard.
For example, the following link would appear for a device named FTD-4115.

Step 2
Click the links in each group to configure the settings or perform the actions.

Step 3
Click the Deploy button in the menu to deploy your changes.
Changes are not active on the device until you deploy them. See Deploying Your Changes.

3.4.2. Configuring Security Policies

Use the security policies to implement your organization’s acceptable use policy and to protect your network
from intrusions and other threats.

Procedure

Step 1
Click Policies.
The Security Policies page shows the general flow of a connection through the system, and the order
in which security policies are applied.
Step 2

Page 7 of 38 Confidential
Step 3
Click the Deploy button in the menu to deploy your changes.
Changes are not active on the device until you deploy them. See Deploying Your Changes.

3.5. Deploying Your Changes


When you update a policy or setting, the change is not immediately applied to the device. There is a two
step process for making configuration changes:
1. Make your changes.
2. Deploy your changes.

Procedure
Step 1 Click the Deploy Changes icon in the upper right of the web page.

Step 2 Click Deploy Now.

• Configuration Changes that Restart Inspection Engines

3.6. Configuring the Device in Firepower Device Manager


The following steps provide an overview of additional features you might want to configure. Please click the
help button (?) on a page to get detailed information about each step

Procedure

Step 1
Choose the name of the device in the menu, then click View Configuration in the Smart
License group.

Step2
Create a Port-Channel:

Page 8 of 38 Confidential
Step 3
Upload FTD image on device:
Logical Devices → Add → Cluster

Select Cisco Firepower Threat Defence template and image version number

Page 9 of 38 Confidential
Select the available interfaces

Set the management IP on logical device

Page 10 of 38 Confidential
And, set the FMC ip with credential

Step 4
If you want internal clients to use DHCP to obtain an IP address from the device, choose the name of the
device in the menu, then System Settings > DHCP Server.

The following example shows how to set up a DHCP server on the inside2 interface with the address pool
192.168.4.50-192.168.4.240.

Step 5
Choose the name of the device in the menu, then click View Configuration (or Create First Static Route)
in the Routing group and configure a default route.

Page 11 of 38 Confidential
Step 6 : Create VLAN and map in Port-Channel with logical name and Security Zone

Page 12 of 38 Confidential
NAT Policy:

Step 7
Commit your changes.
a. Click the Deploy Changes icon in the upper right of the web page.

b. Click the Deploy Now button.


Wait for deployment to finish. The deployment summary should indicate that you have
successfully deployed your changes, and the task status for the job should be Deployed.

Procedure

Step 1
To gain insight into user behavior, you need to configure an identity policy to ensure that the user
associated with a connection is identified.

a. Click the Get Started button to start the wizard to configure the needed elements.
b. Identify your Active Directory server.

Page 13 of 38 Confidential
c.Click Next.
d. Configure the active authentication captive portal.
The simplest option is to leave all fields as is and click Save. Click Save.
This completes the setup wizard. Now, create an identity rule to require active authentication.
e. Click the Create Identity Rule button, or the + button.

f. Click OK to add the rule.


Step 2
Change the action on the Inside_Outside_Rule access control rule to Allow.
Step 3
Enable logging on the access control policy default action.
a. Click anywhere in the default action at the bottom of the access control policy page.

Page 14 of 38 Confidential
b. Select Select Log Action > At Beginning and End of Connection.
c.Click OK.
Step 4
Set an update schedule for the vulnerability database (VDB).
a. Click the name of the device in the menu.
b. Click View Configuration in the Updates group.

c.Click Configure in the VDB group.

d. Define the update schedule.

e. Click Save.
Step 5 Commit your changes.
a. Click the Deploy Changes icon in the upper right of the web page.
b. Click the Deploy Now button and wait for deployment to finish.
The deployment summary should indicate that you have successfully deployed your changes, and the
task status for the job should be Deployed.

Page 15 of 38 Confidential
3.7. Intrusion and pre-processor rule states and advanced settings

a. Click the name of the device in the menu.


Step 1
The menu includes a device icon labeled with your device's hostname. For example, the following link opens
the Device Dashboard for the device named “FTD-4115.”

b. Click View Configuration in the Smart License group.

Page 16 of 38 Confidential
c. Click Enable in the Threat group.
The system registers the license with your account, or activates the evaluation license, as appropriate. The
group should indicate that the license is enabled, and the button changes to a Disable button.

Step 2 Select an intrusion policy for one or more access rules.


Determine which rules cover traffic that should be scanned for threats. For this example, we will add
intrusion inspection to the Inside_Outside_Rule.
a. Click Policies in the main menu.
Ensure that the Access Control policy is displayed.
b. Hover over the Actions cell on the right side of the Inside_Outside_Rule row to expose the edit and delete
icons, and click the edit icon ( ) to open the rule.
c. If you have not already done so, select Allow for the Action.

d. Click the Intrusion Policy tab.


e. Click the Intrusion Policy toggle to enable it, then select the intrusion policy.

Page 17 of 38 Confidential
f. Click OK to save the change.

Step 3 Set an update schedule for the intrusion rule database.

a. Click Save.

Page 18 of 38 Confidential
Step 4 Commit your changes.
a. Click the Deploy Changes icon in the upper right of the web page.
b. Click the Deploy Now button.
Wait for deployment to finish. The deployment summary should indicate that you have successfully
deployed your changes, and the task status for the job should be Deployed.
3.8. Block Malware
AMP for Firepower uses the AMP cloud to retrieve dispositions for possible malware detected in network
traffic. The management interface must have a path to the Internet to reach the AMP cloud and perform
malware lookups. When the device detects an eligible file, it uses the file's SHA-256 hash value to query the
AMP cloud for the file's disposition. The possible disposition can be clean, malware, or unknown (no clear
verdict). If the AMP cloud is unreachable, the disposition is unknown.
Procedure
If you have not already done so, enable the Malware and Threat licenses.
Step 1
You must enable the Malware license to use file policies in addition to the Threat license, which is
required for intrusion policies. If you are currently using the evaluation license, you are enabling an
evaluation version of the licenses. If you have registered the device, you must purchase the required
licenses and add them to your Smart Software Manager account on Cisco.com.
a. Click the name of the device in the menu.
The menu includes a device icon labeled with your device's hostname. For example, the following link
opens the Device Dashboard for the device named “FTD-4115.”

b. Click View Configuration in the Smart License group.

c. Click Enable in the Malware group, and if not already enabled, the Threat group.
The system registers the license with your account, or activates the evaluation license, as appropriate.
The group should indicate that the license is enabled, and the button changes to a Disable button.

Step 2 Select a file policy for one or more access rules.


Determine which rules cover traffic that should be scanned for malware. For this example, we will add
file inspection to the Inside_Outside_Rule.
a. Click Policies in the main menu.
Ensure that the Access Control policy is displayed.

Page 19 of 38 Confidential
b. Hover over the Actions cell on the right side of the Inside_Outside_Rule row to expose the edit and
delete icons, and click the edit icon ( ) to open the rule.
c. If you have not already done so, select Allow for the Action.

d. Click the File Policy tab.


e. Click the file policy you want to use.
For this example, select Block Malware All.

f. Click the Logging tab and verify that Log Files under File Events is selected.
By default, file logging is enabled whenever you select a file policy. You must enable file logging to get
file and malware information in events and dashboards.

Click OK to save the change.


Step 3 Commit your changes.
a. Click the Deploy Changes icon in the upper right of the web page.

b. Click the Deploy Now button.

Page 20 of 38 Confidential
Wait for deployment to finish. The deployment summary should indicate that you have successfully
deployed your changes, and the task status for the job should be Deployed.
3.9. URL Filtering Configuration
The following procedure explains how to implement an acceptable use policy using URL filtering. For
purposes of this example, we will block sites of any reputation in several categories, risky Social Networking
sites, and an unclassified site, badsite.example.com.

Procedure

If you have not already done so, enable the URL license.
Step 1
You must enable the URL license to use URL category and reputation information, or to see the
information in dashboards and events. If you are currently using the evaluation license, you are
enabling an evaluation version of the license. If you have registered the device, you must
purchase the required license and add it to your Smart Software Manager account on Cisco.com.
a. Click the name of the device in the menu.
The menu includes a device icon labeled with your device's hostname. For example, the
following link opens the Device Dashboard for the device named “FTD-4115.”

b. Click View Configuration in the Smart License group.

c. Click Enable in the URL License group.


The system registers the license with your account, or activates the evaluation license, as
appropriate. The group should indicate that the license is enabled, and the button changes to a
Disable button.

Step 2 Create a URL filtering access control rule.


a. Click Policies in the main menu.
Ensure that the Access Control policy is displayed.
b. Click + to add a new rule.
c. Configure the order, title, and action.
o Title—Give the rule a meaningful name, such as Block_Web_Sites.
o Action—Select Block.

d. On the Source/Destination tab, click + for Source > Zones, select Trust, then click OK in the
zones dialog box.

Page 21 of 38 Confidential
e. Using the same technique, select Untrust for Destination > Zones.

f. Click the URLs tab.


g. Click the + for Categories, and select the categories you want to fully or partially block.
For purposes of this example, select Adult and Pornography, Bot Nets, Confirmed SPAM
Sources, and Social Network. There are additional categories that you would most likely want
to block.

h. To implement reputation-sensitive blocking for the Social Network category,


click Reputation: Risk Any for that category, deselect Any, then move the slider to Benign
sites with security risks. Click away from the slider to close it.

Using reputation, you can selectively block sites within a category you otherwise want to
allow.
i. Click the + next to the URLS list to the left of the categories list.
j. At the bottom of the popup dialog box, click the Create New URL link.
k. Enter badsite.example.com for both the name and URL, then click Add to create the object.

Page 22 of 38 Confidential
You can name the object the same as the URL or give the object a different name. For the URL,
do not include the protocol portion of the URL, just add the server name.

l. Select the new object, then click OK.


Adding new objects while editing policies simply adds the object to the list. The new object is
not automatically selected.

m. Click the Logging tab and select Select Log Action > At Beginning and End of Connection.
You must enable logging to get category and reputation information into the web category
dashboard and connection events.
n. Click OK to save the rule.
Step 3 (Optional.) Set preferences for URL filtering.
a. Click the name of the device in the menu.
b. Click System Settings > Traffic Settings > Cloud Preferences.
c. Select Query Cisco CSI for Unknown URLs.
d. Click Save.
Step 4 Commit your changes.
a. Click the Deploy Changes icon in the upper right of the web page.

b. Click the Deploy Now button.


Wait for deployment to finish. The deployment summary should indicate that you have
successfully deployed your changes, and the task status for the job should be Deployed.

Procedure

Page 23 of 38 Confidential
Step 1
Create the application-based access control rule.
a. Click Policies in the main menu.
Ensure that the Access Control policy is displayed.
b. Click + to add a new rule.
c.Configure the order, title, and action.

d. On the Source/Destination tab, click + for Source > Zones, select Trust, then click OK in
the zones dialog box.

e. Using the same technique, select Untrust for Destination > Zones.

f. Click the Applications tab.


g. Click the + for Applications, and then click the Advanced Filter link at the bottom of the
popup dialog box.

Page 24 of 38 Confidential
h. Click Add in the Advanced Filters dialog box.
The filter is added and shown on the Applications tab.

i. Click the Logging tab and select Select Log Action > At Beginning and End of Connection.
You must enable logging to get information about any connections blocked by this rule.
j. Click OK to save the rule.
Step Commit your changes.
2
a. Click the Deploy Changes icon in the upper right of the web page.
b. Click the Deploy Now button.
Wait for deployment to finish. The deployment summary should indicate
that you have successfully deployed your changes, and the task status for
the job should be Deployed.
Step Click Monitoring and evaluate the results.
3 You might now see dropped connections on the Applications widget on the Network
Overview dashboard. Use the All/Denied/Allowed drop-down options to focus just on dropped
applications.
The Applications dashboard shows these results as well. If someone tries to use these applications,
you should be able to correlate the application with the user attempting the connection, assuming
that you enable identity policies and require authentication.

Page 25 of 38 Confidential
3.10. Add a Subnet
Procedure

Step Configure the interface.


1
a. Click the name of the device in the menu, then click the link in the Interfaces summary.

The menu includes a device icon labeled with your device's hostname. For example, the
following link opens the Device Dashboard for the device named “FTD-4115.”

b. Hover over the Actions cell on the right side of the row for the interface you wired, and
click the edit icon ( ).

c.Configure the basic interface properties.

o Name—A unique name for the interface. For this example, inside_2.
o Status—Click the status toggle to enable the interface.
o IPv4 Address tab—Select Static for Type, then enter 172.20.1.4/24

Page 26 of 38 Confidential
d. Click Save.

Step Configure the DHCP server for the interface.


2
a. Click the name of the device in the menu.
b. Click System Settings > DHCP Server.
c.Scroll down to the DHCP server table and click + above the table.

d. Configure the server properties.

e. Click Add.

Step Add the interface to the inside security zone.


3
To write policies on an interface, the interface must belong to a security zone. You write policies for
the security zones. Thus, as you add and remove interfaces in the zones, you automatically change the
policies applied to the interface.

a. Click Objects in the main menu.


b. Select Security Zones from the objects table of contents.
c.Hover over the Actions cell on the right side of the row for the Trust object, and click the edit
icon ( ).
d. Click + under Interfaces, select the inside_2 interface, and click OK in the interfaces list.

Page 27 of 38 Confidential
e. Click Save.

Step Create an access control rule that allows traffic between the inside networks.
4
a. Click Policies in the main menu.
Ensure that the Access Control policy is displayed.
b. Click + to add a new rule.

c.Configure the order, title, and action.

Page 28 of 38 Confidential
d. On the Source/Destination tab, click + for Source > Zones, select Trust, then click OK in
the zones dialog box.

e. Using the same technique, select Trust for Destination > Zones.

A security zone must contain at least two interfaces to select the same zone for source and
destination.

Page 29 of 38 Confidential
f. (Optional.) Configure intrusion and malware inspection.

g. Click the Logging tab and select Log Action > At Beginning and End of Connection.

You must enable logging to get information about any connections that match this rule.
Logging adds statistics to the dashboard as well as showing events in the event viewer.

h. Click OK to save the rule.

Page 30 of 38 Confidential
3.11. Configuring the Device in Firepower Device Manager
3.11.1. GUI Access
GUI Access with URL https://10.192.4.20 and login credentials

3.11.2. Interface

Click on Interface:

Page 31 of 38 Confidential
3.11.3. Port Channel
We’re using port-channel for configuration

Page 32 of 38 Confidential
Add ports, set port channel ID, set type “DATA”, speed and duplex
3.11.4. Reserve one interface for HA Interface

3.11.5. FTD Image


Click on System→ Updates and upload the Firepower image and verify

3.11.6. Logical Device

We need to create logical device for FTD firewall and need to upload the Firepower image on this
logical configuration

Page 33 of 38 Confidential
Add→ Cluster

Select FTD Image version and Name

Attach both Port channel with logical FTD image

Page 34 of 38 Confidential
3.12. FTD Management
Click on FTD logical image and set one additional management interface and IP.

3.13. Mode and Password and FMC IP

Page 35 of 38 Confidential
After the all settings device will be activated after 30 min time.

FTD will be managed with FMC only.

3.14. Static Route

3.15. License

Page 36 of 38 Confidential
3.16. HA Configuration (Active-Passive)

3.17. Access Policy

3.18. Object

Page 37 of 38 Confidential
3.19. Service Custom

3.20. AAA Setting

Page 38 of 38 Confidential

You might also like