The contents of this publication may not be reproduced in any part or as a whole, transcribed, stored in a
retrieval system, translated into any language, or transmitted in any form or by any means, electronic,
mechanical, magnetic, optical, chemical, photocopying, manual, or otherwise, without the prior written
permission of ZyXEL Communications Corporation.
Published by ZyXEL Communications Corporation. All rights reserved.
Disclaimer
ZyXEL does not assume any liability arising out of the application or use of any products, or software
described herein. Neither does it convey any license under its patent rights nor the patent rights of others.
ZyXEL further reserves the right to make changes in any products described herein without notice. This
publication is subject to change without notice.
Trademarks
ZyNOS (ZyXEL Network Operating System) is a registered trademark of ZyXEL Communications, Inc.
Other trademarks mentioned in this publication are used for identification purposes only and may be
properties of their respective owners.
ii Copyright
ZyWALL 50 Internet Security Gateway
Federal Communications Commission
(FCC) Interference Statement
This device complies with Part 15 of FCC rules. Operation is subject to the following two conditions:
• This device may not cause harmful interference.
• This device must accept any interference received, including interference that may cause undesired
operations.
This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to
Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful
interference in a commercial environment. This equipment generates, uses, and can radiate radio frequency
energy, and if not installed and used in accordance with the instructions, may cause harmful interference to
radio communications.
If this equipment does cause harmful interference to radio/television reception, which can be determined by
turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of
the following measures:
1. Reorient or relocate the receiving antenna.
2. Increase the separation between the equipment and the receiver.
3. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
4. Consult the dealer or an experienced radio/TV technician for help.
Notice 1
Changes or modifications not expressly approved by the party responsible for compliance could void the
user's authority to operate the equipment.
FCC iii
ZyWALL 50 Internet Security Gateway
Information for Canadian Users
The Industry Canada label identifies certified equipment. This certification means that the equipment meets
certain telecommunications network protective operation and safety requirements. The Industry Canada
label does not guarantee that the equipment will operate to a user's satisfaction.
Before installing this equipment, users should ensure that it is permissible to be connected to the facilities
of the local telecommunications company. The equipment must also be installed using an acceptable
method of connection. In some cases, the company's inside wiring associated with a single line individual
service may be extended by means of a certified connector assembly. The customer should be aware that
compliance with the above conditions may not prevent degradation of service in some situations.
Repairs to certified equipment should be made by an authorized Canadian maintenance facility designated
by the supplier. Any repairs or alterations made by the user to this equipment, or equipment malfunctions,
may give the telecommunications company cause to request the user to disconnect the equipment.
For their own protection, users should ensure that the electrical ground connections of the power utility,
telephone lines, and internal metallic water pipe system, if present, are connected together. This precaution
may be particularly important in rural areas.
Caution
Users should not attempt to make such connections themselves, but should contact the appropriate electrical
inspection authority, or electrician, as appropriate.
Note
This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus
set out in the radio interference regulations of Industry Canada.
iv Information for Canadian Users
Standard
• EN 55022
• EN 61000-3-2
• EN 61000-3-3
• EN 61000-4-2
• EN 61000-4-3
• EN 61000-4-4
• EN 61000-4-5
• EN 61000-4-6
• EN 61000-4-8
• EN 61000-4-11
ZyWALL 50 Internet Security Gateway
Declaration of Conformity
We, the Manufacturer/Importer,
ZyXEL Communications Corp.
No. 6, Innovation Rd. II,
Science-Based Industrial Park,
Hsinchu, Taiwan, 300 R.O.C
declare that the product
ZyWALL 50
is in conformity with
(reference to the specification under which conformity is declared)
Standard Item
Radio disturbance characteristics — Limits and method of
measurement.
Disturbance in supply system caused by household appliances
and similar electrical equipment “Harmonics”.
Disturbance in supply system caused by household appliances
and similar electrical equipment “Voltage fluctuations”.
Electrostatic discharge immunity test — Basic EMC Publication 1995
Radiated, radio-frequency, electromagnetic field immunity test 1996
Electrical fast transient / burst immunity test - Basic EMC
Publication
Surge immunity test 1995
Immunity to conducted disturbances, induced by radio-frequency
fields
1993
Voltage dips, short interruptions and voltage variations immunity
tests
Version
1994
1995
1995
1995
1996
1994
Certifications
Refer to the product page at www.zyxel.com
.
Declaration of Conformity v
ZyWALL 50 Internet Security Gateway
ZyXEL Limited Warranty
ZyXEL warrants to the original end user (purchaser) that this product is free from any defects in materials or
workmanship for a period of up to two years from the date of purchase. During the warranty period, and upon
proof of purchase, should the product have indications of failure due to faulty workmanship and/or materials,
ZyXEL will, at its discretion, repair or replace the defective products or components without charge for
either parts or labor, and to whatever extent it shall deem necessary to restore the product or components to
proper operating condition. Any replacement will consist of a new or re-manufactured functionally
equivalent product of equal value, and will be solely at the discretion of ZyXEL. This warranty shall not
apply if the product is modified, misused, tampered with, damaged by an act of God, or subjected to
abnormal working conditions.
Note
Repair or replacement, as provided under this warranty, is the exclusive remedy of the purchaser. This
warranty is in lieu of all other warranties, express or implied, including any implied warranty of
merchantability or fitness for a particular use or purpose. ZyXEL shall in no event be held liable for indirect
or consequential damages of any kind of character to the purchaser.
To obtain the services of this warranty, contact ZyXEL's Service Center for your Return Material
Authorization number (RMA). Products must be returned Postage Prepaid. It is recommended that the unit be
insured when shipped. Any returned products without proof of purchase or those with an out-dated warranty
will be repaired or replaced (at the discretion of ZyXEL) and the customer will be billed for parts and labor.
All repaired or replaced products will be shipped by ZyXEL to the corresponding return address, Postage
Paid. This warranty gives you specific legal rights, and you may also have other rights that vary from country
to country.
Online Registration
Don’t forget to register your ZyXEL product (fast, easy online registration at www.zyxel.com
product updates and information.
vi ZyXEL Limited Warranty
) for free future
ZyWALL 50 Internet Security Gateway
A
Customer Support
Please have the following information ready when you contact customer support.
• Product model and serial number.
• Information in Menu 24.2.1 – System Information.
• Warranty Information.
• Date that you received your device.
• Brief description of the problem and the steps you took to solve it.
ZyXEL Communications
Services GmbH. Thaliastrasse
125a/2/2/4 A-1160 Vienna,
Austria
ZyXEL Deutschland GmbH.
Adenauerstr. 20/A4 D-52146
Wuerselen, Germany
Lot B2-06, PJ Industrial Park,
Section 13, Jalan Kemajuan,
46200 Petaling Jaya Selangor
Darul Ehasn, Malaysia
Customer Support vii
P312 Broadband Security Gateway
Table of Contents
Copyright..................................................................................................................................................... ii
Federal Communications Commission (FCC) Interference Statement ................................................. iii
Information for Canadian Users............................................................................................................... iv
ZyXEL Limited Warranty......................................................................................................................... vi
Customer Support..................................................................................................................................... vii
List of Figures........................................................................................................................................... xix
List Of Tables ......................................................................................................................................... xxvi
GETTING STARTED...................................................................................................................................... I
Chapter 1 Getting to Know Your ZyWALL...........................................................................................1-1
1.1The ZyWALL 50 Internet Security Gateway ............................................................................. 1-1
1.2Features of The ZyWALL 50 ..................................................................................................... 1-1
1.3Applications for the ZyWALL 50 .............................................................................................. 1-4
1.3.1Secure Broadband Internet Access via Cable or DSL Modem ........................................... 1-4
26.1Problems Starting Up the ZyWALL..................................................................................... 26-1
26.2Problems with the LAN Interface......................................................................................... 26-2
26.3Problems with the WAN interface........................................................................................ 26-2
26.4Problems with Internet Access ............................................................................................. 26-3
26.5Problems with the Password................................................................................................. 26-3
26.6Problems with Remote Management.................................................................................... 26-3
Appendix A The Big Picture.......................................................................................................................A
Appendix B PPPoE .....................................................................................................................................C
Appendix C PPTP ....................................................................................................................................... E
Appendix D Hardware Specifications ...................................................................................................... H
Appendix E Important Safety Instructions ...............................................................................................I
Appendix F Boot Commands .................................................................................................................... K
Appendix G Firewall CLI Commands .....................................................................................................M
Appendix H Power Adapter Specifications...............................................................................................R
Figure 2-1 Front Panel.................................................................................................................................... 2-1
Figure 2-2 ZyWALL 50 Rear Panel and Connections .................................................................................... 2-3
Figure 4-7 Menu 11.5 — Remote Node Filter (PPPoE or PPTP Encapsulation) ..........................................4-11
Figure 5-1 Example of Static Routing Topology............................................................................................ 5-1
Figure 5-2 Menu 12 — IP Static Route Setup................................................................................................ 5-2
Figure 5-3 Menu 12. 1 — Edit IP Static Route .............................................................................................. 5-2
Figure 6-1 How NAT Works .......................................................................................................................... 6-3
Figure 6-2 NAT Application With IP Alias .................................................................................................... 6-4
Figure 6-3 Menu 4 — Applying NAT for Internet Access ............................................................................. 6-6
Figure 6-4 Menu 11.3 — Applying NAT to the Remote Node....................................................................... 6-7
Figure 6-5 Menu 15 — NAT Setup................................................................................................................ 6-8
Figure 6-6 Menu 15.1 — Address Mapping Sets ........................................................................................... 6-8
Figure 6-7 Menu 15.1.255 — SUA Address Mapping Rules......................................................................... 6-9
Figure 6-8 Menu 15.1.1 — First Set ............................................................................................................ 6-10
Figure 6-9 Menu 15.1.1.1 — Editing/Configuring an Individual Rule in a Set ........................................... 6-12
Figure 6-10 Menu 15.2 — NAT Server Setup.............................................................................................. 6-15
Figure 6-11 Multiple Servers Behind NAT Example ................................................................................... 6-15
Figure 6-12 NAT Example 1 ........................................................................................................................ 6-16
Figure 6-13 Menu 4 — Internet Access & NAT Example ........................................................................... 6-16
Figure 6-14 NAT Example 2 ........................................................................................................................ 6-17
Figure 6-15 Menu 15.2 — Specifying an Inside Server............................................................................... 6-18
Figure 6-16 NAT Example 3 ........................................................................................................................ 6-19
Figure 6-17 Example 3: Menu 11.3.............................................................................................................. 6-20
Figure 6-18 Example 3: Menu 15.1.1.1........................................................................................................ 6-20
List Of Figures xx
ZyWALL 50 Internet Security Gateway
Figure 6-19 Example 3: Final Menu 15.1.1.................................................................................................. 6-21
Figure 6-20 Example 3: Menu 15.2.............................................................................................................. 6-21
Figure 6-21 NAT Example 4 ........................................................................................................................6-22
Figure 6-22 Example 4: Menu 15.1.1.1 — Address Mapping Rule ............................................................. 6-23
Figure 6-23 Example 4: Menu 15.1.1 — Address Mapping Rules............................................................... 6-23
Figure 7-3 SYN Flood.................................................................................................................................... 7-5
Figure 8-1 Menu 21 — Filter and Firewall Setup .......................................................................................... 8-1
Figure 8-2 Menu 21.2 — Firewall Setup........................................................................................................ 8-2
Figure 8-3 Example Firewall Log ..................................................................................................................8-2
Figure 9-1 Main Menu ................................................................................................................................... 9-2
Figure 9-2 Enabling the Firewall.................................................................................................................... 9-3
Figure 17-10 Menu 24.4 — System Maintenance — Diagnostic............................................................... 17-12
Figure 17-11 WAN & LAN DHCP.............................................................................................................17-13
Figure 18-1 Telnet in Menu 24.5 .................................................................................................................. 18-3
Figure 18-2 FTP Session Example ............................................................................................................... 18-4
Figure 18-3 System Maintenance — Backup Configuration........................................................................ 18-6
Figure 23-6 Menu 27.1 — IPSec Summary ................................................................................................. 23-5
Figure 23-7 Menu 27.1.1 — IPSec Setup..................................................................................................... 23-8
Figure 23-8 Two Phases to set up the IPSec SA......................................................................................... 23-11
Figure 23-9 Menu 27.1.1.1 — IKE Setup....................................................................................................... 23-13
Figure 23-10 Menu 27.1.1.2 — Manual Setup........................................................................................... 23-16
Figure 24-1 Menu 27.2 — SA Monitor ........................................................................................................ 24-1
Figure 25-1 Example VPN Initiator IPSec Log............................................................................................ 25-1
Figure 25-2 Example VPN Responder IPSec Log........................................................................................25-1
List Of Figures xxv
ZyWALL 50 Internet Security Gateway
List Of Tables
Table 2-1 LED Descriptions ........................................................................................................................... 2-1
Table 3-1 Main Menu Commands .................................................................................................................. 3-2
Table 3-2 Main Menu Summary.....................................................................................................................3-3
Table 4-1 Configure Dynamic DNS Menu Fields .......................................................................................... 4-2
Table 4-2 WAN Setup Menu Fields................................................................................................................4-4
Table 5-1 Example of Network Properties for LAN Servers with Fixed IP Addresses .................................. 5-2
Table 5-2 Private IP Address Ranges.............................................................................................................. 5-3
Table 5-3 DHCP Ethernet Setup Menu Fields................................................................................................ 5-6
Table 5-4 LAN TCP/IP Setup Menu Fields.................................................................................................... 5-7
Table 5-5 IP Alias Setup Menu Fields ............................................................................................................5-8
Table 6-1 Internet Access Setup Menu Fields ................................................................................................6-1
Table 6-2 New Fields in Menu 4 (PPTP) screen ............................................................................................6-3
Table 6-3 New Fields in Menu 4 (PPPoE) screen ..........................................................................................6-4
Table 4-1 Fields in Menu 11.1........................................................................................................................4-2
Table 4-2 Fields in Menu 11.1 (PPPoE Encapsulation Specific)....................................................................4-5
Table 4-3 Fields in Menu 11.1 (PPTP Encapsulation)....................................................................................4-6
Table 6-4 SUA Address Mapping Rules ........................................................................................................ 6-9
Table 6-5 Fields in Menu 15.1.1 ...................................................................................................................6-11
Table 6-6 Menu 15.1.1.1 — Editing/Configuring an Individual Rule in a Set ............................................ 6-12
Table 6-7 Services & Port Numbers ............................................................................................................ 6-13
Table 7-1 Common IP Ports........................................................................................................................... 7-4
Table 7-2 ICMP Commands That Trigger Alerts........................................................................................... 7-6
Table 19-2 Call History Fields .....................................................................................................................19-4
Table 19-3 Time and Date Setting Fields ..................................................................................................... 19-6
Table 20-1 Menu 24.11 – Remote Management Control .............................................................................20-3
Table 21-1 Schedule Set Setup Fields ..........................................................................................................21-2
Table 22-1 VPN and NAT ............................................................................................................................22-6
Table 23-1 AH and ESP................................................................................................................................23-3
Table 23-2 Telecommuter and HQ Configuration Example .........................................................................23-4
Table 23-3 Menu 27.1 — IPSec Summary...................................................................................................23-6
Table 23-4 Menu 27.1.1 — IPSec Setup ......................................................................................................23-8
Table 23-5 Menu 27.1.1.1 — IKE Setup ........................................................................................................ 23-13
xxviii List of Tables
ZyWALL 50 Internet Security Gateway
Table 23-6 Active Protocol — Encapsulation and Security Protocol ........................................................ 23-15
Table 23-7 Menu 27.1.1.2 — Manual Setup.............................................................................................. 23-16
Table 24-1 Menu 27.2 — SA Monitor......................................................................................................... 24-1
Table 25-1 Sample IKE Key Exchange Logs .............................................................................................. 25-2
Table 25-2 Sample IPSec Logs During Packet Transmission...................................................................... 25-3