This chapter provides information you need before configuring PIX Firewall.
The topics include:
Refer to Appendix B, "Acronyms and Abbreviations" for information on acronyms used in this chapter.
The PIX Firewall, when properly configured, helps prevent unauthorized connections between two or more networks. The PIX Firewall can protect one or more networks from an outer, unprotected network. The PIX Firewall optionally supports multiple outside or perimeter networks (also known as demilitarized zones (DMZs)). Connections between the networks can all be controlled by the PIX Firewall.
To effectively use a firewall in your organization, you need a security policy to ensure that all traffic from the protected networks passes only through the firewall to the unprotected network. (Refer to "Creating a Security Policy" in this chapter for more information.) You can then control who may access the networks with which services, and how to implement your security policy using the features PIX Firewall provides.
Figure 1-1 shows how a PIX Firewall protects a network while providing outbound connections secure access to the Internet.
Within this architecture, the PIX Firewall forms the boundary between the protected networks and the unprotected networks. All traffic between the protected and unprotected networks must flow through the firewall to maintain security. The unprotected network is typically accessible to the Internet. PIX Firewall lets you locate servers such as those for web access, SNMP, electronic mail (SMTP) in the protected network and control who on the outside can access these servers.
Alternatively, server systems can be located on a perimeter network as shown in Figure 1-1, and access to the server systems can be controlled and monitored by the PIX Firewall. The PIX Firewall also lets you implement your security policies for connection to and from the inside network.
Typically, the inside network is an organization's own internal network, or intranet, and the outside network is the Internet, but the PIX Firewall can also be used within an intranet to isolate or protect one group of internal computing systems and users from another.
The perimeter network can be configured as secure as the inside network or with varying security levels from the most secure inside network to the least secure outside network. Both the inside and perimeter networks are protected with the PIX Firewall's Adaptive Security algorithm described later in this chapter. The inside, perimeter, and outside interfaces can listen to RIP routing updates, and all interfaces can broadcast a RIP default route if required.
The Adaptive Security algorithm is a very stateful approach to security. Every inbound packet is checked against the Adaptive Security algorithm and against connection state information in memory. This stateful approach to security is regarded in the industry as being far more secure than a stateless packet screening approach.
Adaptive Security follows these rules:
PIX Firewall handles UDP data transfers in a manner similar to TCP. Special handling allows DNS, archie, StreamWorks, H.323 and RealAudio to work securely. The PIX Firewall creates UDP "connection" state information when a UDP packet is sent from the inside network. Response packets resulting from this traffic are accepted if they match the connection state information. The connection state information is deleted after a short period of inactivity.
When an outbound packet arrives at a PIX Firewall higher security level interface (security levels are set with the nameif command), the PIX Firewall checks to see if the packet is valid based on the Adaptive Security Algorithm, and then whether or not previous packets have come from that host. If not, then the packet is for a new connection, and PIX Firewall creates a translation slot in its state table for the connection. The information that PIX Firewall stores in the translation slot includes the inside IP address and a globally unique IP address assigned by Network Address Translation (NAT), Port Address Translation (PAT), or Identity (which uses the inside address as the outside address). The PIX Firewall then changes the packet's source IP address to the globally unique address, modifies the checksum and other fields as required, and forwards the packet to the lower security level interface.
When an inbound packet arrives at an unprotected interface, it must first pass the PIX Firewall Adaptive Security criteria. If the packet passes the security tests, the PIX Firewall removes the destination IP address, and the internal IP address is inserted in its place. The packet is forwarded to the protected interface.
Dynamic translation slots are useful for desktop machines that do not need constant addresses on the Internet. Inside network hosts with IP addresses not registered with the NIC (Network Information Center) can directly access the Internet with standard TCP/IP software on the desktop by enabling address translation within the PIX Firewall. No special client software is needed. The PIX Firewall supports Network Address Translation (NAT) which provides a globally unique address for each inside host, and Port Address Translation (PAT) which shares a single globally unique address for up to 64K simultaneously accessing inside hosts.
Another class of address translation on the PIX Firewall is static translation. Static translation effectively moves an internal, unregistered host into the virtual network in the PIX Firewall. This is useful for internal machines that need to be addressed from the outside Internet gateways; for example, an SMTP server.
After you create the basic configuration, described in Chapter 2, "Configuring the PIX Firewall," the PIX Firewall permits all outbound connections from the protected networks to the unprotected networks, and rejects any connections inbound from the unprotected network. This default policy can be modified to match the policy requirements of your organization using the features described in Table 1-1.
The PIX Firewall provides options you can purchase from Cisco Sales that let you increase the number of simultaneous TCP connections (also known as sessions) the firewall can handle. The options are sold for 128, 1024, and unrestricted connections. The number of unrestricted connections varies by the amount of RAM in the PIX Firewall.
Installed RAM | Maximum Number of Connections |
---|---|
8 MB | 16,384 connections |
16 MB | 32,768 connections |
32 MB | 65,536 connections |
64 MB | 131,072 connections (available in 1999) |
The use of Telnet or PIX Firewall Manager to access the PIX Firewall console does not count in the number of TCP connections. In version 4.2(2), you can see how many TCP connections are in use on the firewall with the show conn command. In version 4.2(3), use the show conn count command.
For example, if a user is running FTP, Telnet, and Netscape Navigator, the user can be using from three to seven simultaneous TCP connections depending on whether Netscape Navigator is loading a page or is done. Telnet takes a single connection, FTP takes two connections, and Netscape Navigator can open up to four connections by default while loading information.
After you purchase new connection licenses, you are given an activation key that you enter during bootup by rebooting the firewall from diskette.
If you are configuring a second firewall for use with failover, ensure both units have the same connection licenses.
For more information on firewalls, refer to:
.
The PIX Firewall separates the details of implementing a security policy from providing network services such as Web, FTP, Telnet, and SMTP.
A security policy provides:
The following sections describe many of the issues associated with security policies; refer also to RFC 2196 "Site Security Handbook" for more information.
To effectively use a firewall in your organization, you need a security policy to protect your data resources from intrusion. By creating or improving a security policy, you can protect against malicious attack by outsiders and control the effects of errors and equipment failures.
Your security policy needs to ensure that users can only perform tasks they are authorized to do, only obtain information they are authorized to have, and not cause damage to the data, applications, or operating environment of a system.
Before creating a security policy, follow these guidelines:
Step 1 Draw a map of your complete network detailing which systems connect to the Internet, which are servers, and identify which IP addresses occur on each subnetwork. When your map is complete, disseminate it to appropriate network administrators, update it regularly, and have paper copies available for troubleshooting problems.
Step 2 Identify which systems you need to protect from Internet access and which must be visible on the outside network, such as NIC-registered IP addresses. The Network Address Translation (NAT) feature of the PIX Firewall lets you specify that NIC-registered IP addresses are visible on the outside of the firewall or that the inside network IP addresses depend solely on the global pool for translation.
Step 3 Identify which inside servers need to be visible on the outside and perimeter networks and what type of authentication and authorization you require before users can access the servers.
Step 4 Identify which router features you will need to set to accommodate the PIX Firewall in your network.
Security measures keep people honest in the same way that locks do. The following sections provide specific actions you can take to improve the security of your network:
Consider who might want to circumvent your security measures and identify their motivations. Determine what they might want to do and the damage that they could cause to your network.
Security measures can never make it impossible for a user to perform unauthorized tasks with a computer system. They can only make it harder.
The goal is to make sure the network security controls are beyond the attacker's ability or motivation.
Security measures almost always reduce convenience, especially for sophisticated users. Security can delay work and create expensive administrative and educational overhead. It can use significant computing resources and require dedicated hardware.
When you design your security measures, understand their costs and weigh those costs against the potential benefits. To do that, you must understand the costs of the measures themselves and the costs and likelihoods of security breaches. If you incur security costs out of proportion to the actual dangers, you have done yourself a disservice.
Every security system has underlying assumptions. For example, you might assume that your network is not tapped, or that attackers know less than you do, that they are using standard software, or that a locked room is safe. Be sure to examine and justify your assumptions. Any hidden assumption is a potential security hole.
Most security is based on secrets. Passwords and encryption keys, for example, are secrets. Too often, though, the secrets are not really all that secret. The most important part of keeping secrets is knowing the areas you need to protect. What knowledge would enable someone to circumvent your system? You should jealously guard that knowledge and assume that everything else is known to your adversaries. The more secrets you have, the harder it will be to keep all of them. Security systems should be designed so that only a limited number of secrets need to be kept.
Many security procedures fail because their designers do not consider how users will react to them. For example, because they can be difficult to remember, automatically generated nonsense passwords are often found written on the undersides of keyboards. For convenience, a secure door that leads to the system's only tape drive is sometimes propped open. For expediency, unauthorized modems are often connected to a network to avoid onerous dial-in security measures.
If your security measures interfere with essential use of the system, those measures will be resisted and perhaps circumvented. To get compliance, you must make sure that users can get their work done, and you must sell your security measures to users. Users must understand and accept the need for security.
Any user can compromise system security, at least to some degree. Passwords, for instance, can often be found simply by calling legitimate users on the telephone, claiming to be a system administrator, and asking for them. If your users understand security issues, and if they understand the reasons for your security measures, they are far less likely to make an intruder's life easier.
At a minimum, users should be taught never to release passwords or other secrets over unsecured telephone lines (especially cellular telephones) or electronic mail (e-mail). Users should be wary of questions asked by people who call them on the telephone. Some companies have implemented formalized network security training for their employees; that is, employees are not allowed access to the Internet until they have completed a formal training program.
Every security system has vulnerabilities. You should understand your system's weak points and know how they could be exploited. You should also know the areas that present the largest danger and prevent access to them immediately. Understanding the weak points is the first step toward turning them into secure areas.
You should create appropriate barriers inside your system so that if intruders access one part of the system, they do not automatically have access to the rest of the system. The security of a system is only as good as the weakest security level of any single host in the system.
Understanding how your system normally functions, knowing what is expected and what is unexpected, and being familiar with how devices are usually used, will help you to detect security problems. Noticing unusual events can help you to catch intruders before they can damage the system. Auditing tools can help you to detect those unusual events.
You should know exactly which software you rely on, and your security system should not have to rely upon the assumption that all software is bug-free or that your firewall can prevent all attacks.
Physical access to a computer, router, or your firewall usually gives a sufficiently sophisticated user total control over that device. Physical access to a network link usually allows a person to tap that link, jam it, or inject traffic into it. It makes no sense to install complicated software security measures when access to the hardware is not controlled.
Almost any change you make in your system may have security effects. This is especially true when new services are created. Administrators, programmers, and users should consider the security implications of every change they make. Understanding the security implications of a change is something that takes practice. It requires lateral thinking and a willingness to explore every way in which a service could potentially be manipulated.
The PIX Firewall provides full firewall protection that completely conceals the architecture of an internal network from the outside world. The PIX Firewall allows secure access to the Internet from within existing private networks and the ability to expand and reconfigure TCP/IP networks without being concerned about a shortage of IP addresses.
The PIX Firewall has the features described in Table 1-2.
Feature | Description | Benefit | Security Implication |
---|---|---|---|
Controls which inside systems can establish connections to the outside network. | The default security policy can be modified to be consistent with the site security policy by limiting outgoing connections based on inside source address, outside destination address, or protocol. | Configure access lists carefully if your security policy limits outgoing connections. | |
Implements stateful connection control through the firewall. | Allows one way (inside to outside) connections without an explicit configuration for each internal system and application. | Always in operation monitoring return packets to ensure they are valid. Actively randomizes TCP sequence numbers to minimize the risk of TCP sequence number attack. | |
Cisco IOS-like Configuration | Supports a command line interface similar to Cisco IOS. | Administrators familiar with the Cisco IOS router interface will be comfortable with the PIX Firewall. | --- |
Conduits allows connections from the outside network to the inside network. | For some applications or business requirements, it is desirable to establish connections to the inside or perimeter networks. This may be to allow access from certain remote systems, or to provide access to applications hosted on inside systems. | Each conduit is a potential hole through the PIX Firewall and hence their use should be limited as your security policy and business needs require. Make conduits as specific as possible, by specifying a remote source address, local destination address, and protocol. | |
User-based authentication of inbound or outbound connections. Unlike a proxy server that analyzes every packet at layer seven of the OSI model, a time- and processing-intensive function, the PIX Firewall first queries an authentication server, and when the connection is approved, establishes a data flow. All traffic thereafter flows directly and quickly between the two parties. | Allows security policies to be enforced on a per user ID basis. Connections must be authenticated with a user ID and password before they can be established. Supports authentication and authorization. The user ID and password are entered via an initial HTTP, Telnet, or FTP connection. | Allows much finer level of administrative control over connections compared to checking source IP addresses. When providing inbound authentication, appropriate controls need to be applied to the user ID and passwords used by external users (one-time passwords are recommended in this instance). | |
DC Power on PIX Firewall 520 | The PIX Firewall 520 now comes in a DC power model. | Able to work in 48-volt DC environments. | --- |
DNS Guard | Identifies an outbound DNS resolve request, and only allows a single DNS response. | A host may query several servers for a response (in the case that the first server is slow in responding), but only the first answer to the specific question will be allowed. All the additional answers from other servers will be dropped. | Always enabled. |
Failover | PIX Firewall failover allows you to configure two PIX Firewall units in a fully redundant topology. | Fault tolerant networks are an increasingly important requirement, which PIX Firewall failover provides. | Both PIX Firewall units must be configured identically; failover does not provide stateful redundancy. |
Flood Defender | Protects inside systems from TCP SYN flood attacks. Enable by setting the maximum embryonic connections option to the nat and static commands. | Allows servers within the inside network to be protected from one style of denial of service attack. (This is not the floodguard feature.) | Protects inside systems from SYN attacks. |
Flood Guard | Controls the AAA service's tolerance for unanswered login attempts, to prevent a Denial of Service attack on AAA services in particular. | Optimizes AAA system use. Enabled with the floodguard 1 command. | Enabled by default. |
Graphical User Interface with | Provides a management interface from Windows NT, Windows 95, or Solaris web browsers. | Lets you configure the PIX Firewall via GUI interface rather than the command line interface. | Limits access of the HTML interface to specified client systems within the inside network (based on source address) and is password protected. |
Identity | Allows address translation to be disabled. | If existing internal systems have valid globally unique addresses, the Identity feature allows NAT and PAT to be selectively disabled for these systems. | Makes internal network addresses visible to the outside network.
|
IP Frag Guard | Protects PIX Firewall from IP fragmentation attacks. | Protects PIX Firewall from IP fragmentation attacks. | Also blocks normal IP fragmentation. Enabled by default. |
Java Filtering | Lets an administrator prevent Java applets from being downloaded by an inside system. | Java applets are executable programs that are banned within some security policies. | Java programs can provide a vehicle through which an inside system can be invaded. |
Provides a safe conduit for Simple Mail Transfer Protocol (SMTP) connections from the outside to an inside electronic mail server. | Allows a single mail server to be deployed within the internal network without it being exposed to known security problems with some SMTP server implementations. Avoids the need for an external mail relay (or bastion host) system. | Enforces a safe minimal set of SMTP commands to avoid an SMTP server system being compromised. Also logs all SMTP connections. | |
Multiple Interfaces | Additional network interfaces can be added to the PIX Firewall. | Takes the place of multiple PIX Firewall units in a single chassis. | Provides Adaptive Security for perimeter interfaces. |
Multimedia Support | The PIX Firewall supports multimedia applications including RealAudio, Streamworks, CuSeeMe, Internet Phone, IRC, H.323, Vxtreme and VDO Live. | Users increasingly make use of a wide range of multimedia applications, many of which require special handling in a firewall environment. The PIX Firewall handles these without requiring client reconfiguration and without becoming a performance bottleneck. | Support for protocols can be disabled using access-lists if required. |
Supports NETBIOS over IP connections from the inside network to the outside network. | Allows Microsoft client systems, such as Windows 95, within the inside network, possibly using NAT, to access servers, such as Windows NT, located within the outside network. This enables security policies to encompass Microsoft environments across the Internet and inside an intranet. | Allows access controls native to the Microsoft environment. | |
For inside systems, translates the source IP address of outgoing packets per RFC 1631. Supports both dynamic and static translation. | Allows inside systems to be assigned private addresses (defined in RFC 1918), or to retain existing invalid addresses. | Hides the real network identity of internal systems from the outside network. | |
Port Address Translation (PAT) | By using port remapping, a single valid IP address can support source | PAT minimizes the number of globally valid IP addresses required to support private or invalid internal addressing schemes. Will not work with multimedia applications that have an inbound data stream different from the outgoing control path. | Hides the real network identity of internal systems from the outside network. |
Private Link is an optional feature that allows Virtual Private Networks (VPN) to be established between PIX Firewall sites connected to the same public (or outside) network. | Sites connected using Private Link appear as a single contiguous network. Use Private Link to augment or replace traditional dedicated communications circuits. | Data sent between Private Link systems is encrypted using the DES algorithm (with 56-bit keys) and encapsulated using the IETF IPSEC AH/ESP standard. | |
Simplified Installation with Setup Wizard | PIX Firewall Setup Wizard works with a Windows 95 or Windows NT system to simplify the initial configuration. | Speeds the initial setup by guiding you through the process with both on-screen descriptions and associated help files with more detailed information. | --- |
SNMP MIB-II Support | Support for network monitoring via SNMP (Simple Network Management Protocol). | With its SNMP interface, the PIX Firewall integrates into traditional network management environments. | Only supports SNMP GET (read-only) access. |
Provides the standard Cisco IOS-like command line interface management interface via Telnet. | Enables remote configuration and management. | Limits access of the Telnet interface to specified client systems within the inside network (based on source address) and is password protected. If the inside network is not secure and sessions on the LAN can be snooped, you should limit use of the Telnet interface. | |
TFTP Configuration Server | Provides PIX Firewall configuration via TFTP. | Allows one or more firewalls access to configurations from a central source. | Insecure. Do not use if your security policy prevents sharing privileged information in clear text. |
URL Filtering | The PIX Firewall URL filtering is provided in partnership with the NetPartners WebSENSE product. PIX Firewall checks outgoing URL requests with the policy defined on the WebSENSE server, which runs either on Windows NT or UNIX. | Based on the response from the NetPartners WebSENSE server, which matches a request against a list of 17 Web site characteristics deemed inappropriate for business use, PIX Firewall either permits or denies the connection. | Because URL filtering is handled on a separate platform, no additional performance burden is placed on the PIX Firewall. Check http://www.websense.com for more information. |
The information that follows provides valuable information you need before starting to configure PIX Firewall with respect to its command line conventions.
The PIX Firewall contains a command set based on Cisco IOS technologies, which provides three administrative access modes:
You can abbreviate most commands down to the fewest unique characters for a command; for example, you can enter write t to view the configuration instead of entering the full command write terminal, or you can enter en to start privileged mode and co t to start configuration mode.
In addition, you can enter 0 to represent 0.0.0.0.
You should back up your configuration to both Flash memory and diskette after making changes to the configuration. Use the write memory command to store your configuration in Flash memory. You can enter this command from configuration mode. Flash memory is a special type of memory card that stores images without the need for a battery or power source to maintain the image.
Use the write floppy command to store the configuration on diskette. If you are using Windows, make sure the diskette is IBM formatted. If you are formatting a disk, access the MS-DOS command prompt and use the format command. Do not back up your configuration to the PIX Firewall boot disk.
Each image you store overwrites the last stored image in either Flash memory or diskette.
Should the need arise, you can restore your configuration from Flash memory with the configure memory command, or from diskette with the configure floppy command.
Table 1-3 lists commands that must be used together:.
If You Use This Command: | You Need to Use This Command Next: |
---|---|
link | linkpath and age |
outbound | apply |
radius-server or tacacs-server | aaa authentication |
url-server | filter |
PIX Firewall uses the same command line editing conventions as Cisco IOS. You can view all previously entered commands with the show history command or individually with the up arrow or ^p command. Once you have examined a previously entered command, you can move forward in the list with the down arrow or ^n command. When you reach a command you wish to reuse, you can edit it or press the Enter key to start it. You can also delete the word to the left of the cursor with ^w, or erase the line with ^u.
PIX Firewall permits up to 512 characters in a command; additional characters are ignored.
On commands such as help or ?, show, show xlate, or other commands that provide long listings, you can determine if the information displays a screenful and pauses, or lets the command run to completion. The pager command lets you choose the number of lines to display before the More prompt appears.
When paging is enabled, the following prompt appears:
<--- More --->
The More prompt uses syntax similar to the UNIX more command:
To return to the command line, press the q key.
You can precede a line with a colon (:) to create a comment. However, the comment only appears in the command history buffer and not in the configuration. Therefore, you can view the comment with the show history command or by pressing an arrow key to retrieve a previous command, but because the comment is not in the configuration, the write terminal command does not display it.
The maximum size for a configuration in the older 512 KB Flash memory units is 100 KB
(102,400 characters).
The maximum size of the configuration in a 2 MB Flash is 400 KB (409,600 characters). Use the UNIX wc command or a Windows word processing program, such as Microsoft Word, to view the number of characters in the configuration.
To determine what type of Flash memory board is in your firewall, use the show version command. The 2 MB board contains this statement in the display:
Flash atmel @ base 0x300
PIX Firewall provides a default configuration on the bootable system disk that automatically provides the commands described in this section. After you start the PIX Firewall as described in later steps, you can view the default configuration with the write terminal command. The default configuration commands are:
The number of commands listed when you use the question mark or help command differs by access mode so that unprivileged mode offers the least commands and configuration mode offers the greatest number of commands.
In addition, you can enter any command by itself on the command line and then press Enter to view the command syntax.
The following literal names can be used instead of a numerical port value in command lines:
PIX Firewall permits the following TCP literal names: bgp, chargen, cmd, daytime, discard, domain, echo, exec, finger, ftp, ftp-data, gopher, h323, hostname, http, ident, irc, klogin, kshell, lpd, nntp, pop2, pop3, pptp, rpc, smtp, sqlnet, sunrpc, tacacs, talk, telnet, time, uucp, whois, and www.
Permitted UDP literal names are: biff, bootpc, bootps, discard, dnsix, echo, mobile-ip, nameserver, netbios-dgm, netbios-ns, ntp, rip, snmp, snmptrap, sunrpc, syslog, tacacs, talk, tftp, time, who, and xdmcp.
Port numbers can be viewed online at the IANA site:
Table 1-4 lists the literal values.
Literal | Value | Description |
---|---|---|
bgp | 179 | Border Gateway Protocol, RFC 1163 |
biff | 512 | Used by mail system to notify users that new mail is received |
bootpc | 68 | Bootstrap Protocol Client |
bootps | 67 | Bootstrap Protocol Server |
chargen | 19 | Character Generator |
cmd | 514 | Similar to exec except that cmd has automatic authentication |
daytime | 13 | Day time, RFC 867 |
discard | 9 | Discard |
domain | 53 | DNS (Domain Name System) |
dnsix | 195 | DNSIX Session Management Module Audit Redirector |
echo | 7 | Echo |
exec | 512 | Remote process execution |
finger | 79 | Finger |
ftp | 21 | File Transfer Protocol (control port) |
ftp-data | 20 | File Transfer Protocol (data port) |
gopher | 70 | Gopher |
hostname | 101 | NIC Host Name Server |
nameserver | 42 | Host Name Server |
ident | 113 | Ident authentication service |
irc | 194 | Internet Relay Chat protocol |
isakmp | 500 | ISAKMP |
klogin | 543 | KLOGIN |
kshell | 544 | Korn Shell |
lpd | 515 | Line Printer Daemon - printer spooler |
login | 513 | Remote login |
mobile-ip | 434 | MobileIP-Agent |
netbios-ns | 137 | NETBIOS Name Service |
netbios-dgm | 138 | NETBIOS Datagram Service |
nntp | 119 | Network News Transfer Protocol |
ntp | 123 | Network Time Protocol |
pim-auto-rp | 496 | Protocol Independent Multicast, reverse path flooding, dense mode |
pop2 | 109 | Post Office Protocol - Version 2 |
pop3 | 110 | Post Office Protocol - Version 3 |
rip | 520 | Routing Information Protocol |
smtp | 25 | Simple Mail Transport Protocol |
snmp | 161 | Simple Network Management Protocol |
snmptrap | 162 | Simple Network Management Protocol - Trap |
sunrpc | 111 | Sun RPC (Remote Procedure Call) |
syslog | 514 | System Log |
tacacs | 49 | TACACS (Terminal Access Controller Access Control System |
talk | 517 | Talk |
telnet | 23 | Telnet, RFC 854 |
tftp | 69 | Trivial File Transfer Protocol |
time | 37 | Time |
uucp | 540 | UNIX-to-UNIX Copy Program |
who | 513 | Who |
whois | 43 | Who Is |
www | 80 | World Wide Web |
xdmcp | 177 | X Display Manager Control Protocol, used to communicate between X terminals and workstations running UNIX |
Possible literal values are ahp, eigrp, esp, gre, icmp, igmp, igrp, ip, ipinip, ipsec, nos, ospf, pcp, tcp, and udp. You can also specify any protocol by number. The esp and ahp protocols only work in conjunction with Private Link.
To pass protocols across the PIX Firewall in a tunnel, use the static and conduit commands as shown in the following example where the outside router is at 204.31.17.2, a static is at 204.31.17.3, and the inside router is at 10.1.1.2:
static (inside,outside) 204.31.17.3 10.1.1.2 netmask 255.255.255.255 conduit permit ip host 204.31.17.3 host 204.31.17.2
Table 1-5 lists the numeric values for the protocol literals.
Literal | Value | Description |
---|---|---|
ahp | 51 | Authentication Header for IPv6, RFC 1826 |
eigrp | 88 | Enhanced Interior Gateway Routing Protocol |
esp | 50 | Encapsulated Security Payload for IPv6, RFC 1827 |
gre | 47 | General Routing Encapsulation |
icmp | 1 | Internet Control Message Protocol, RFC 792 |
igmp | 2 | Internet Group Management Protocol, RFC 1112 |
igrp | 9 | Interior Gateway Routing Protocol |
ip | 0 | Internet Protocol |
ipinip | 4 | IP-in-IP encapsulation |
ipsec |
| IP Security efforts in the IETF (Internet Engineering Task Force) |
nos | 94 | Network Operating System (Novell's NetWare) |
ospf | 89 | Open Shortest Path First routing protocol, RFC 1247 |
pcp | 108 | Payload Compression Protocol |
tcp | 6 | Transmission Control Protocol, RFC 793 |
udp | 17 | User Datagram Protocol, RFC 768 |
Protocol numbers can be viewed online at the IANA site:
If after reading the documentation, a problem still exists, view the PIX Firewall tips at:
http://www.cisco.com/warp/public/110/index.shtml
If you need additional help, you can place a call to Cisco's Technical Assistance Center (TAC).
Before doing so:
If the problem is with pinging, ensure that you have included the conduit permit icmp any any command in your configuration.
Describing how a firewall interacts with your network requires a different set of terms than may be used in other types of computing or than in other networking applications. This guide uses these terms: