| |
Set Up Internet Security on a Cisco Router
|
|
|
|
Introduction
This document explains how to set up Internet Security on your router.
The instructions demonstrate how to set up these security measures:
-
Dynamic firewall inspection rules for multimedia
applications
-
Access Control List (ACL) rules
-
Network Address Translation (NAT)
Back to Top
Requirements
Back to Top
Configure Firewall Inspection Rules
To configure firewall inspection rules, follow these
steps:
-
Open a web browser and type
http://router-IP-address in the Address field. Use the IP
address that you entered in the LAN Addressing Worksheet (field L6A). Press
Enter to launch SDM.
Note: For further information about how to launch SDM, refer to
Configure
Your Router with Security Device Manager.
-
Click Configure.
-
Click the Firewall and ACL
tab.
-
Choose Advanced Firewall and click Launch
the Selected Task.
-
Click Next at the Advanced Firewall
Configuration Wizard screen.
-
Select your inside (trusted) and outside (untrusted) interfaces.
The outside (untrusted) interface is your Internet connection, and the inside
(trusted) interface is your LAN interface. Do not select a DMZ
interface.
Note: The Firewall Wizard automatically creates access control list
(ACL) rules to block incoming traffic from IP non-public IP addresses such as
192.168.0.0, 172.0.0.0, and 10.0.0.0. If your Internet Service Provider (ISP)
uses non-public IP address inside its network, you need to modify the router
ACL rules to allow incoming traffic from private IP address ranges.
Note: To determine if your ISP uses non-public IP addresses, review the
addresses in the ISP Address Assignments section of the Internet Worksheet or
contact your ISP.
-
Click OK to confirm the SDM firewall warning
message.
-
Click Next to use the default Firewall Inspection
Rules.
-
Review the summary of the Firewall inspection rules and click
Finish to complete the Wizard. Click OK to
confirm the Commands Delivery Status. Click OK again to exit
the Wizard.
Back to Top
Add Access Control List Rules
To add Access Control List (ACL) rules to the router for additional
security, follow these steps:
Apply an ACL Rule to the Outgoing WAN Interface
To apply an Access Control List (ACL) rule to the outgoing WAN
interface, follow these steps:
-
Click Edit Firewall
Policy/ACL.
-
In the From interface, select your LAN interface
and click Go. In the To interface select your
WAN interface.
-
Click Originating Traffic.
-
Create an ACL rule to block outbound traffic that does not
originate from the router WAN IP address.
-
Click Edit Firewall
Policy/ACL.
-
Next to Services, click Add > Insert
After.
-
Next to Select an action, choose
Permit.
-
Next to Source Host/Network, choose A
Host Name or IP Address.
-
Next to Hostname/IP, enter the Router IP address
you entered in the Internet Worksheet (B46).
-
Next to Destination Host/Network, choose
Any IP Address.
-
Next to Protocol and Service, choose
IP.
-
In IP Protocol, click the details button
(...) and select any. Click
OK to select the service, and click OK to
confirm the rule.
Apply an ACL Rule to the Incoming LAN Interface
To apply an Access Control List (ACL) rule to the incoming WAN
interface, follow these steps:
-
In the From interface, select your LAN interface
and click Go. In the To interface select your
WAN interface.
-
Click Returning Traffic.
-
Create an ACL rule to block traffic from LAN that does not have a
valid LAN IP address.
-
Next to Services, click Add > Insert
After.
-
Next to Select an action, choose
Permit.
-
Under Source Host/Network, choose A
Network.
-
Next to IP Address, enter the subnet that you
entered in the LAN Addressing Worksheet (L1A), and next to Wildcard
Mask choose 0.0.0.255.
-
In Destination Host/Network, choose Any
IP Address.
-
In Protocol and Service, choose
IP.
-
Next to IP Protocol, click the details button
(...) and select any. Click
OK to select the service, and click OK to
confirm the rule.
-
Create an ACL rule to allow broadcast traffic from LAN in order to
allow DHCP.
-
Next to Services, click Add > Insert
After.
-
Next to Select an action, choose
Permit.
-
In Source Host/Network, choose A
Network.
-
Next to IP Address, enter the subnet that you
entered in the LAN Addressing Worksheet (L1A). Next to Wildcard Mask select
0.0.0.255.
-
Next to Destination Host/Network, choose
Any IP Address and enter
255.255.255.255.
-
In Protocol and Service, choose
IP.
-
Under IP Protocol, click the details button
(...) and select any. Click
OK to select the service, and click OK to
confirm the rule.
-
Click Apply Firewall.
Back to Top
Configure Network Address Translation
Network Address Translation (NAT) uses an internal address scheme to
provide additional security for your network. In order to set up NAT, you need
to know whether your WAN connection uses a static or dynamic IP address. Refer
to the Internet Worksheet (B45, B46) for more information.
Set Up NAT with Dynamic WAN IP Address
To set up NAT with a dynamic WAN IP address, follow these
steps:
-
Click the NAT tab.
-
Click Edit NAT Configuration tab.
Note: If you use the old version of SDM you are unable to view the EDIT
NAT Configuration screen. Instead you can see the screen as shown in step
3.
-
Click Designate NAT Interface
tab.
-
Check the Inside (Trusted) and Outside(Untrusted) interfaces and
click OK.
Note: Designate your WAN interface as the outside/untrusted
interface.
-
Click Add to add a new translation
rule.
-
At the Add Address Translation Rule screen, choose
Dynamic. Next to Direction, choose
From inside to outside.
-
Click the ACL Rule details button and click
Select an existing rule (ACL)....
-
In the Rules Category box, choose Access
Rules.
-
Select the Access Rule that is used by your FastEthernet or
Ethernet interface and click OK.
-
Go to the Translate to interface area and next to
Type choose Interface. Next to
Interface choose your WAN interface. Click OK
to confirm.
-
Click File > Write to Startup Config to save
your configuration.
Set Up NAT with Static WAN IP Address
To set up NAT with a static WAN IP address, follow these
steps:
-
Click the NAT tab.
-
Click Edit NAT Configuration tab.
Note: If you use the old version of SDM you are unable to view the EDIT
NAT Configuration screen. Instead you can view the screen as shown in step
3.
-
Click Designate NAT Interfaces
tab.
-
Check the Inside (Trusted) and Outside(Untrusted) interfaces and
click OK.
Designate WAN interface you just set up as the outside/untrusted
interface.
-
Click Add to add a new translation
rule.
-
At the Add Address Translation Rule screen, choose
Static. Next to Direction, choose
From inside to outside.
-
Under Inside Interface(s), enter the Router IP
Address that you entered in the LAN Addressing Worksheet (L6A). Leave the
Network Mask blank.
-
Under Outside Interface(s), enter the Router IP
Address you entered in the Internet Worksheet (B46).
-
Click OK to confirm.
-
Click File > Write to Startup Config to save
your configuration.
Back to Top
Next Step
You have now configured a firewall on your router.
To make further changes to your router, refer to the
Router
Support Page.
To configure other devices in your network, refer to the
Configuration
Overview Page.
Back to Top
Troubleshoot the Procedure
This section provides information about common problems that you may
encounter. If this information does not solve your problem, contact the
SMB
Technical Assistance Center (SMB TAC) for assistance.
Back to Top
Related Information
|
|