Contents
- Verify Basic Device Settings
- 1.1. Initialize and reload routers
- Configure Secure Router Administrative Access
- 2.1. Configure encrypted passwords and a login banner
- 2.2. Configure EXEC timeout on console and VTY lines
- 2.3. Configure login failure rates and VTY login enhancements
- 2.4. Configure SSH access and disable Telnet
- 2.5. Configure RADIUS/TACACS+/Local AAA authentication
- Configure a Site-to-Site VPN between ISRs
- 3.1. Configure an IPsec site-to-site VPN between R1 and R3 using CCP
- Configure an ISR firewall and Intrusion Prevention System
- 4.1. Configure a zone-based policy (ZPF) firewall on an ISR using CCP
- 4.2. Configure an Intrusion Prevention System (IPS) on an ISR using CCP
- Secure Network Switches
- 5.1. Configure passwords and a login banner
- 5.2. Configure management VLAN access
- 5.3. Secure trunk ports
- 5.4. Secure access ports
- 5.5. Protect against STP attacks
- Configure ASA Basic Settings and Firewall
- 6.1. Configure basic settings, passwords, date and time
- 6.2. Configure the inside and outside VLAN interfaces
- 6.3. Configure port address translation (PAT) for the inside network
- 6.4. Configure a DHCP server for the inside network
- 6.5. Configure administrative access via Telnet and SSH
- 6.6. Configure a static default route for the ASA
- 6.7. Configure RADIUS/TACACS+/Local AAA user authentication
- 6.8. Verify address translation and firewall functionality
- Configure ASA AnyConnect SSL VPN Remote Access
- 7.1. Configure a remote access AnyConnect SSL VPN using ASDM
- 7.2. Verify AnyConnect SSL VPN access to the portal
Topology
Addressing Table
1. Verify Basic Device Settings
Initialize and reload routers
Basic settings for all routers configured.
Host names, interface IP addresses, serial interface DCE clock rate
Host names and interface IP addresses » Refer to table above!
DNS lookup disabled on each router.
Static default routes on routers R1, R2 and R3 configured.
Static default route from R1 to R2 and from R3 to R2.
Static routes from R2 to the R1 simulated LAN (Loopback 1), the R1 Fa0/0-to-ASA subnet and the R3 LAN.
Basic settings for each switch configured.
Host names, VLAN 1 management address, IP default gateway.
DNS lookup disabled on each switch.
PC host IP settings configured.
Static IP address, subnet mask, and default gateway for each PC.
Verify connectivity between PC-C and R1 Lo1 and Fa0/0.
On PC-C
2. Configure Secure Router Administrative Access
Task 1: Configure Settings for R1 and R2.
Step 1: Configure a minimum password length of 10 characters on R1.
Step 2: Configure the enable secret password on R1.
Use an enable secret password of ciscoenapa55.
Step 3: Encrypt plaintext passwords on R1.
Step 4: Configure the console lines on R1.
Configure a console password of ciscoconpa55 and enable login. Set the exec-timeout to log out after 15 minutes of inactivity. Prevent console messages from interrupting command entry. Note: The vty lines for R1 are configured for SSH in Task 3.
Step 5: Configure a login warning banner on R1.
Configure a warning to unauthorized users with a message-of-the-day (MOTD) banner that says: “Unauthorized access strictly prohibited and prosecuted to the full extent of the law!”.
Step 6: Configure the vty lines and enable password on R2.
Configure the password for vty lines to be ciscovtypa55 and enable login. Set the exec-timeout so a session is logged out after 15 minutes of inactivity.
Use an enable secret password of ciscoenapa55.
Step 7: Enable HTTP access on router R2.
Enable the HTTP server on R2 to simulate an Internet target for later testing.
Task 2: Configure Local Authentication with AAA on R1.
Step 1: Configure the local user database.
Create a local user account of Admin01 with a secret password of Admin01pa55 and a privilege level of 15.
Step 2: Enable AAA services.
Step 3: Implement AAA services using RADIUS/TACACS+/local database.
Create the default login authentication method list using RADIUS as the first option, TACACS+ as the second option, and case-sensitive local authentication as the third option and the enable password as the backup option to use if an error occurs in relation to local authentication.
Task 3: Configure the SSH Server on Router R1.
Step 1: Configure the domain name ccnasecurity.com.
Step 2: Configure the incoming vty lines.
Specify that the router vty lines will accept only SSH connections.
Step 3: Generate the RSA encryption key pair.
Configure the RSA keys with 1024 as the number of modulus bits.
Step 4: Configure the SSH version.
Specify that the router accept only SSH version 2 connections.
Step 5: Verify SSH connectivity to R1 from PC-C.
Launch the SSH client on PC-C and test SSH connectivity to R1 and login in as Admin01 with the password Admin01pa55.
Task 4: Secure against login attacks on R1.
Step 1: Configure enhanced login security on R1.
If a user fails to login twice within a 30 second time span, then disable logins for 1 minute. Log all failed login attempts.
3. Configure a Site-to-Site IPsec VPN between ISRs
In Part 3 of this SBA, you use CCP to configure an IPsec VPN tunnel between R1 and R3 that passes through R2.
Task 1: Configure the site-to-site VPN between R1 and R3.
Step 1: Configure the enable secret password and HTTP access on R3 prior to starting CCP.
From the CLI, configure an enable secret password of ciscoenapa55 for use with CCP on R3.
Enable the HTTP server on R3.
Add user Admin01 to the local database with a privileged level of 15, and a password of Admin01pa55.
Configure local database authentication of HTTP sessions.
Step 2: Access CCP and discover R3.
From PC-C run CCP and access R3.
Step 3: Use the CCP VPN wizard to configure R3.
Use the Quick Setup option to configure the R3 side of the site-to-site VPN.
Step 4: Configure basic VPN connection information settings.
Specify R3 S0/0/1 as the interface for the connection and R1 interface S0/0/0 as the remote peer static IP address.
Specify the pre-shared VPN key cisco12345.
Encrypt traffic between the R3 LAN and the R1 Loopback 1 simulated LAN.
Step 5: Generate a mirror configuration from R3 and apply it to R1.
On R3, generate a mirror configuration for application to router R1 and save it to the desktop or flash drive. Edit the file as necessary and apply the mirrored commands to R1.
Apply the crypto map to the R1 VPN interface.
Task 2: Test the Site-to-Site IPsec VPN using CCP
On R3 (PC-C), use CCP to test the IPsec VPN tunnel between the two routers.
Ping from PC-C to the R1 Lo1 interface at 172.16.1.1 to generate some interesting traffic.
Issue the show crypto isakmp sa command on R3 to view the security association created.
Issue the show crypto ipsec sa command on R1 to verify packets are being received from R3 and decrypted by R1.
4. Configure an ISR Firewall and Intrusion Prevention System
In Part 4, you configure a zone-based policy firewall and IPS on R3 using CCP.
Task 1: Configure a ZPF Firewall on R3 using CCP.
Step 1: Use the CCP Firewall wizard to configure a zone-based firewall.
Configure a Basic firewall with Fa0/1 interface as the Inside interface and S0/0/1 as the Outside interface.
Use the Low Security setting, and complete the Firewall wizard.
Step 2: Verify Firewall functionality.
From PC-C, ping external router R2. The pings should be successful.
From external router R2, ping PC-C. The pings should NOT be successful.
Task 2: Configure IPS on R3 Using CCP.
Step 1: Prepare router R3 and the TFTP server.
To configure Cisco IOS IPS 5.x, the IOS IPS signature package file and public crypto key files must be available on the PC with the TFTP server installed. R3 uses PC-C as the TFTP server. Check with your instructor if these files are not on the PC.
Verify that the IOS-Sxxx-CLI.pkg signature package file is in the default TFTP folder. The xxx is the version number and varies depending on which file was downloaded from Cisco.com.
Verify that the realm-cisco.pub.key.txt file is available and note its location on PC-C.
Verify or create the IPS directory, ipsdir, in router flash on R3.
Note: For router R3, the IPS signature (.xml) files in the flash:/ipsdir/ directory should have been deleted and the directory removed prior to starting the SBA. The files must be deleted from the directory in order to remove it.
Note: If the ipsdir directory is listed and there are files in it, contact your instructor. This directory must be empty before configuring IPS. If there are no files in it you may proceed to configure IPS.
Step 2: Access CCP and discover R3 (if required).
Specify Admin01 as the username and Admin01pa55 as the password.
Step 3: Use the CCP IPS wizard to configure IPS.
Launch the IPS wizard and apply the IPS rule in the inbound direction for Serial0/0/1.
Specify the signature file with a URL and use TFTP to retrieve the file from PC-C.
Name the public key file realm-cisco.pub.
Copy the text from the public key file to the CCP IPS wizard.
Specify the flash:/ipsdir/ directory name as the location to store the signature information.
Choose the basic category.
Complete the wizard.
5. Secure Network Switches
Task 1: Configure Passwords and a Login Banner on S1.
Step 1: Configure the enable secret password of ciscoenapa55.
Step 2: Encrypt plaintext passwords.
Step 3: Configure the console and VTY lines.
Configure a console password of ciscoconpa55 and set the exec-timeout to log out after 5 minutes of inactivity. Prevent console messages from interrupting command entry.
Configure a vty lines password of ciscovtypa55 and set the exec-timeout to log out after 5 minutes of inactivity.
Step 4: Configure a login warning banner.
Configure a warning to unauthorized users with a message-of-the-day (MOTD) banner that says “Unauthorized access strictly prohibited and prosecuted to the full extent of the law!”.
Step 5: Disable HTTP access.
Task 2: Secure Trunk and Access Ports on S1 and S2.
Step 1: Configure trunk ports on S1 and S2.
Step 2: Change the native VLAN to 99 for the trunk ports on S1 and S2.
Step 3: Prevent the use of DTP on S1 and S2 trunk ports.
Step 4: Verify the trunking configuration on S1 and S2.
Step 5: Enable storm control for broadcasts on S1 and S2 trunk ports.
Step 6: Disable trunking on S1 access ports that are in use.
Step 7: Enable PortFast on S1 access ports that are in use.
Step 8: Enable BPDU guard on S1 access ports that are in use.
Task 3: Configure Port Security and Disable Unused Ports.
Step 1: Configure basic port security for the S1 access port.
Use the default port security options (set maximum MAC addresses to 1 and violation action to shutdown). Allow the secure MAC address that is dynamically learned on a port be added to the switch running configuration.
Step 2: Disable unused ports on S1.
As a further security measure, disable any ports not being used.
6. Configure ASA Basic Settings and Firewall
Task 1: Prepare the ASA for ASDM access.
Step 1: Clear the previous ASA configuration settings.
Step 2: Bypass Setup Mode and configure the VLAN/routed interfaces using CLI.
The VLAN 1 logical interface will be used by PC-B to access ASDM on ASA physical interface E0/1. Configure interface VLAN 1 and name it “inside”. Specify IP address 192.168.10.1 and subnet mask 255.255.255.0. Verify that the security level is set to 100.
Pre-configure interface VLAN 2 and name it “outside”, and add physical interface E0/0 to VLAN 2. You will assign the IP address using ASDM. Verify that the security level is set to 0.
Test Connectivity to the ASA by pinging from PC-B to ASA interface VLAN 1 IP address 192.168.10.1. The pings should be successful.
Step 3: Configure and verify access to the ASA from the inside network.
Configure the ASA to accept HTTPS connections and to allow access to ASDM from any host on the inside network 192.168.10.0/24.
Open a browser on PC-B and test the HTTPS access to the ASA ASDM GUI.
Task 2: Configure basic ASA settings using the ASDM Startup Wizard.
Step 1: Access the Configuration menu and launch the Startup wizard.
Step 2: Configure hostname, domain name, and enable password.
Configure the ASA host name CCNAS-ASA and domain name of ccnasecurity.com. Change the enable mode password to ciscoenapa55.
Step 3: Configure the outside VLAN interface.
Enter an outside IP address of 209.165.200.234 and mask 255.255.255.248.
Step 4: Configure DHCP, address translation and administrative access.
Enable the DHCP server on the Inside Interface and specify a starting IP address of 192.168.10.5 and ending IP address of 192.168.10.30. Enter the DNS server 1 address of 10.3.3.3 and domain name ccnasecurity.com.
Configure the ASA to use port address translation (PAT) using the IP address of the outside interface.
Add Telnet access to the ASA for the inside network 192.168.10.0 with a subnet mask of 255.255.255.0. Add SSH access to the ASA from host 172.30.3.3 on the outside network.
Step 5: Test Telnet access to the ASA.
From a command prompt or GUI Telnet client on PC-B, Telnet to the ASA inside interface at IP address 192.168.10.1.
Task 3: Configuring ASA Settings from the ASDM Configuration Menu.
Step 1: Set the ASA Date and Time.
Set the time zone, current date and time and apply the commands to the ASA.
Step 2: Configure a static default route for the ASA.
Require authentication for HTTP/ASDM, SSH and Telnet connections and specify the “LOCAL” server group for each connection type.
From PC-C, open an SSH client such as PuTTY and attempt to access the ASA outside interface at 209.165.200.234. You should be able to establish the connection.
7. Configure ASA AnyConnect SSL VPN Remote Access
Step 1: Configure the SSL VPN user interface.
Configure VPN-Con-Prof as the Connection Profile Name, and specify outside as the interface to which outside users will connect.
Step 2: Configure AAA user authentication.
Use the local user database to authenticate remote access users and create a new user named VPNuser with a password of remote.
Step 3: Configure the VPN group policy.
Create a new group policy named VPN-Grp-Pol.
Step 4: Configure the bookmark list.
Add a bookmark list and name it WebServer-XX (where XX is your initials).
Add a new Bookmark with Web Mail as the Bookmark Title. Specify the server destination IP address of PC-B 192.168.10.3 (simulating a web server).
Step 5: Verify VPN access from the remote host.
Open the browser on PC-C and enter the login URL for the SSL VPN into the address field (https://209.165.200.234). The Logon window should appear. Enter the previously configured user name VPNuser and password remote and click Logon to continue. The Web Portal window should display.