Configuration Basics
This section provides a lot of information to help you configure the ZyWALL effectively.
Granular Configuration
ZyWALL configuration is granular. When you configure a feature, you may have to configure other screens first before you can finish configuring the feature. When you configure these other screens, you are configuring objects.
For example, when you set up a policy route, each criterion is an object. You should configure each criterion in a different screen before you configure the policy route itself. A policy route can have up to six criteria, so you might have to configure several screens before you finish the policy route.
Fortunately, when you finish, you can reuse the objects--without configuring them again--in other policy routes or in other features such as firewall rules or remote management.
For a list of common objects, see Objects.
Terminology in the ZyWALL
This section highlights some differences in terminology or organization between the ZyWALL and other routers, particularly ZyNOS routers.
ZyWALL Terminology That Might Be Different Than Other Products
Feature / Term ZyWALL Feature / Term Hub-and-spoke VPN (VPN) concentrator
Physical Ports, Interfaces, and Zones
If you want to configure the ZyWALL effectively, you should understand the differences between physical ports, interfaces, and zones. The following illustration provides an overview of the relationship between physical ports, interfaces, and zones in the ZyWALL. It also identifies the types of features you can configure with each one.
A physical port is the place to which you connect the cable. As shown above, you do not usually configure physical ports to use various features. You configure interfaces and zones. The ZyWALL supports 1:1, 1:M, M:1, and M:N relationships between physical ports and interfaces.
There are many types of interfaces in the ZyWALL. In addition to being used in various features, interfaces also describe the network that is directly connected to the ZyWALL.
- Port groups create a hardware connection between physical ports at the layer-2 (MAC address) level.
- Ethernet interfaces are the foundation for defining other interfaces and network policies. You also configure RIP and OSPF in these interfaces.
- VLAN interfaces recognize tagged frames. The ZyWALL automatically adds or removes the tags as needed. Each VLAN can only be associated with one Ethernet interface.
- Bridge interfaces create a software connection between Ethernet or VLAN interfaces at the layer-2 (data link, MAC address) level. Then, you can configure the IP address and subnet mask of the bridge. It is also possible to configure zone-level security between the member interfaces in the bridge.
- PPPoE/PPTP interfaces support Point-to-Point Protocols (PPP). ISP accounts are required for PPPoE/PPTP interfaces.
- Virtual interfaces increase the amount of routing information in the ZyWALL. There are three types: virtual Ethernet interfaces (also known as IP alias), virtual VLAN interfaces, and virtual bridge interfaces.
- The auxiliary interface, along with an external modem, provides an interface the ZyWALL can use to dial out. This interface can be used as a backup WAN interface, for example. The auxiliary interface controls the DIAL BACKUP port.
Zones are used for security policies. A zone is simply a group of interfaces and/or VPN tunnels; by default, the ZyWALL has LAN, WAN and DMZ zones. Each interface and VPN tunnel can be assigned to one and only one zone. You can add, change, or remove the interfaces and VPN tunnels in each zone without affecting the settings that are based on zones.
Feature Configuration Overview
This section provides information about configuring the main features in the ZyWALL. The features are listed in the same sequence as the menu item(s) in the web configurator. Each feature is organized as shown below.
Feature
This provides a brief description. See the appropriate chapter(s) in this User's Guide for more information about any feature.
Note: If there are no prerequisites or if there are no references in other features to this one, then the entry has been removed. For example, there are no references to DDNS entries, so there is no Where Used entry.
Interface
See Physical Ports, Interfaces, and Zones for background information.
Note: You have to assign interfaces to zones manually after you create an interface.
Most of the features that use interfaces support Ethernet, VLAN, bridge, and PPPoE/PPTP interfaces. You can only use virtual interfaces in IPSec VPN and device HA.
Trunks
Use trunks to set up load balancing using two or more interfaces.
IPSec VPN
Use VPN to provide secure communication between two sites over the Internet or any insecure network that uses TCP/IP for communication. The ZyWALL also offers hub-and-spoke VPN.
Zones
Zones are used in security policies, such as firewall rules, IDP profiles, and remote management. You should assign each interface and VPN connection to a zone.
When you create a zone, the ZyWALL does not create any firewall rules, assign an IDP profile, or configure remote management for the new zone.
Menu Item(s) Network > Zone Prerequisites Interfaces, IPSec VPN Where Used Firewall, IDP, remote management
Device HA
Use device HA to create redundant backup gateways. This is the ZyWALL's implementation of Virtual Router Redundancy Protocol (VRRP), defined in RFC 2338.
Menu Item(s) Network > Device HA Prerequisites Interfaces (with a static IP address), to-ZyWALL firewall
DDNS
Dynamic DNS maps a domain name to a dynamic IP address. The ZyWALL helps maintain this mapping.
Policy Routes
Use policy routes to control the routing of packets through the ZyWALL's interfaces, trunks, and VPN connections. You also use policy routes for bandwidth management (out of the ZyWALL), port triggering, and general NAT on the source address. You have to set up the criteria, next-hops, and NAT settings in other screens first, and you should make sure the firewall rules support NAT .
Static Routes
Use static routes to tell the ZyWALL about networks not directly connected to the ZyWALL.
Firewall
The firewall allows you to control traffic between or within zones. You might also configure the firewall to control traffic for virtual server (port forwarding), HTTP redirect, and policy routes (NAT).
You can configure firewall rules based on schedules, specific users (or user groups), source or destination addresses (or address groups) and services (or service groups). Each of these must be configured in a different screen first.
Menu Item(s) Policy > Firewall Prerequisites Zones, schedules, users, user groups, addresses (source, destination), address groups (source, destination), services, service groups
Note: The ZyWALL checks the firewall rules in order. Make sure this rule is in the correct place in the sequence.
Application Patrol
Use application patrol to control which individuals can use which services through the ZyWALL (and when they can do so). You can also specify allowed amounts of bandwidth.
IDP
Use IDP to detect and take action on malicious or suspicious packets and traffic flows. You must subscribe to use IDP. You can subscribe using the menu item or using one of the wizards.
Content Filter
Use content filtering to block or allow access to specific categories of web site content, individual web sites and web features (such as cookies). You can define which user accounts (or groups) can access what content and at what times. You must have a subscription in order to use the category-based content filtering. You can subscribe using the menu item or using one of the wizards.
Menu Item(s) Policy > Content Filter Prerequisites Registration, addresses (source), schedules, users, user groups
Virtual Server (Port Forwarding)
Use this to change the address and/or port number of packets coming in from a specified interface. This is also known as port forwarding.
The ZyWALL does not check to-ZyWALL firewall rules for packets that are redirected by virtual server. It does check regular (through-ZyWALL) firewall rules.
HTTP Redirect
Configure this feature to have the ZyWALL transparently forward HTTP (web) traffic to a proxy server. This can speed up web browsing because the proxy server keeps copies of the web pages that have been accessed so they are readily available the next time one of your users needs to access that page.
The ZyWALL does not check to-ZyWALL firewall rules for packets that are redirected by HTTP redirect. It does check regular (through-ZyWALL) firewall rules.
VoIP PassThru
The ZyWALL can function as an Application Layer Gateway (ALG) to allow certain NAT un-friendly applications (such as SIP) to operate properly through the ZyWALL.
User/Group
Use these screens to configure the ZyWALL's administrator and user accounts. The ZyWALL provides the following user types.
If you want to force users to log in to the ZyWALL before the ZyWALL routes traffic for them, you might have to configure prerequisites first.
User accounts and user groups can also be used in a lot of features..
Menu Item(s) User/Group Prerequisites Addresses, address groups, schedules. The prerequisites are only used in policies to force user authentication
Objects
Objects are used to set up the features in the previous section. Objects store information and are referenced by other features. Later, when you need to update this information in response to changes, you can simply update the information in the object. The ZyWALL automatically propagates the change through the features that use the object.
The following table introduces the objects. You can find most of these objects in the Object menu. There are a couple menu items from Network (ISP Account, Routing Protocol) and User/Group as well. You can also use this table when you want to delete an object because you have to delete references to the object first.
System Management
This section introduces some of the management and maintenance features in the ZyWALL.
To-ZyWALL Firewall
Set up security policies to control access to the ZyWALL. By default, the firewall allows any computer from the LAN zone to access or manage the ZyWALL. The ZyWALL drops packets from the WAN or DMZ zone to the ZyWALL itself, except for Device HA and VPN traffic. You could configure policies for remote management.
Menu Item(s) Policy > Firewall Prerequisites Zones, schedules, users, user groups, addresses (source, destination), address groups (source, destination), services, service groups
Remote Management (ICMP, DNS, WWW, SSH, TELNET, FTP, SNMP)
Use these screens to set which services or protocols can be used to access the ZyWALL through which zone and from which addresses (address objects) the access can come.
Menu Item(s) System > ICMP, DNS, WWW, SSH, TELNET, FTP, SNMP Prerequisites To-ZyWALL firewall, zones, addresses, address groups, certificates (WWW, SSH, FTP, SNMP), authentication methods (WWW)
File Manager
Use these screens to upload, download, delete, or run scripts of CLI commands. You can manage
- Configuration files. Use configuration files to back up and restore the complete configuration of the ZyWALL. You can store multiple configuration files in the ZyWALL and switch between them without restarting.
- Shell scripts. Use shell scripts to run a series of CLI commands. These are useful for large, repetitive configuration changes (for example, creating a lot of VPN tunnels) and for troubleshooting.
You can edit configuration files and shell scripts in any text editor.
Registration
Use these screens to register your ZyWALL or to subscribe to the IDP or content filtering services. You must have Internet access to myZyXEL.com.
Logs and Reports
The ZyWALL provides a system log, offers two e-mail profiles to which to send log messages, and sends information to four syslog servers. It also provides three types of statistical reports to track user activity and web site hits.