Prestige 312
Broadband Security Gateway
User’s Guide
Version 3.20
November 2000
P312 Broadband Security Gateway
Prestige 312
Broadband Security Gateway
Copyright
Copyright © 2000 by ZyXEL Communications Corporation.
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
Trademarks mentioned in this publication are used for identification purposes only and may be properties of
their respective owners.
ii Copyright
P312 Broadband 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:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and the receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
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.
Notice 2
Shielded RS-232 cables are required to be used to ensure compliance with FCC Part 15, and it is the
responsibility of the user to provide and use shielded RS-232 cables.
FCC Statement iii
P312 Broadband Security Gateway
Information for Canadian Users
The Industry Canada label identifies certifi ed equi pme nt. This certification means that the equipment meet s
certain telecommunications network protective, operation, and safety requirements. The Industry Canada
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 the
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 connectio ns themselves, but should contact the appropri ate
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
Canadian Users
P312 Broadband 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
Prestige 312
(reference to the specification under which conformity is declared)
is in conformity with
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
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
Voltage dips, short interruptions and voltage variations immunity
tests
Version
1994
1995
1995
1995
1996
1993
1994
Warranty
v
P312 Broadband Security Gateway
vi
CE Doc
P312 Broadband 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; refer to the separate Warranty Card
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 (USA and territories only). If the customer desires some other
return destination beyond the U.S. borders, the customer shall bear the cost of the return shipment. This
warranty gives you specific legal rights, and you may also have other rights that vary from state to state.
Please register your Prestig e (fast , eas y online reg ist rat io n at www.zyxel.com) for free
product updates and information.
Warranty
vii
P312 Broadband Security Gateway
Customer Support
When you contact your customer support representative please have the following information ready:
♦
Prestige Model and serial number.
♦ Information in Menu 24.2.1 –System Information.
♦ Warranty Information.
♦ Date you received your Prestige.
♦ Brief description of the problem and the steps you took to solve it
Method
Region
Worldwide
North
America
EMAIL – Support Telephone Web Site
EMAIL – Sales Fax FTP Site
support@zyxel.com.tw
support@europe.zyxel.com
sales@zyxel.com.tw +886-3-578-2439 ftp.europe.zyxel.com
support@zyxel.com +1-714-632-0882
sales@zyxel.com +1-714-632-0858 ftp.zyxel.com
+886-3-578-3942 www.zyxel.com
www.europe.zyxel.com
www.zyxel.com
800-255-4101
Regular Mail
ZyXEL Communications
Corp., 6 Innovation Road II,
Science-Based Industrial
Park, HsinChu, Taiwan.
ZyXEL Communications Inc.,
1650 Miraloma Avenue,
Placentia, CA 92870, U.S.A.
Scandinavia
Austria
Germany
viii
support@zyxel.dk +45-3955-0700 www.zyxel.dk
sales@zyxel.dk +45-3955-0707 ftp.zyxel.dk
support@zyxel.at +43-1-4948677-0
sales@zyxel.at
support@zyxel.de
sales@zyxel.de +49-2405-6909-99 ftp.europe.zyxel.com
0810-1-ZyXEL
0810-1-99935
+43-1-4948678
+49-2405-6909-0
0180-5213247
Tech Support hotline
0180-5099935
RMA/Repair hotline
www.zyxel.at
ftp.zyxel.at
Note: for Austrian users with *.at
domain only!
www.zyxel.de
ZyXEL Communications A/S,
Columbusvej 5, 2860
Soeborg, Denmark.
ZyXEL Communications
Services GmbH.,
Thaliastrasse 125a/ 2/2/ 4,
A-1160 Vienna, Austria
ZyXEL Deutschland GmbH.,
Adenauerstr. 20/A4, D-5 214 6
Wuerselen, German y.
Customer Support
P312 Broadband Security Gateway
Table of Contents
Table of Contents........................................................................................................................... ix
List of Figures ...............................................................................................................................xvi
List Of Tables..............................................................................................................................xxiii
Customer Support.........................................................................................................................viii
Preface.......................................................................................................................................xxvii
Getting Started...................................................................................................................................I
Chapter 1 Getting to Know Your Prestige......................................................................................1-1
1.1 The Prestige 312 Broadband Security Gateway......................................................................... 1-1
1.2 Features of The Prestige 312...................................................................................................... 1-1
1.3 Applications for Prestige 312..................................................................................................... 1-3
1.3.1 Broadband Internet Access via Cable or xDSL Modem.....................................................1-3
Chapter 2 Hardware Installation & Initial Setup.............................................................................2-1
2.1 Front Panel LEDs and Back Panel Ports.................................................................................... 2-1
2.1.1 Front Panel LEDs............................................................................................................... 2-1
2.2 Prestige 312 Rear Panel and Connections .................................................................................. 2-2
2.3 Additional Installation Requirements.........................................................................................2-3
2.4 Housing ...................................................................................................................................... 2-4
2.5 Power Up Your Prestige............................................................................................................. 2-4
2.6 Navigating the SMT Interface.................................................................................................... 2-5
2.6.1 Main Menu......................................................................................................................... 2-6
2.6.2 System Management Terminal Interface Summary ........................................................... 2-6
2.7 Changing the System Password..................................................................................................2-7
2.7.1 Resetting the Prestige......................................................................................................... 2-7
2.8 General Setup............................................................................................................................. 2-8
2.8.1 Dynamic DNS .................................................................................................................... 2-8
2.8.2 Configuring Dynamic DNS................................................................................................ 2-9
2.9 WAN Setup .............................................................................................................................. 2-10
2.10 LAN Setup................................................................................................................................ 2-11
Table Of Contents ix
P312 Broadband Security Gateway
2.10.1 LAN Port Filter Setup.......................................................................................................2-12
Chapter 3 Internet Access.............................................................................................................3-1
3.1 TCP/IP and DHCP for LAN .......................................................................................................3-1
3.1.1 Factory LAN Defaults......................................................................................................... 3-1
3.1.2 IP Address and Subnet Mask ..............................................................................................3-1
3.1.3 Private IP Addresses ...........................................................................................................3-2
3.1.4 RIP Setup ............................................................................................................................3-2
3.1.5 DHCP Configuration...........................................................................................................3-3
3.1.6 IP Multicast.........................................................................................................................3-3
3.1.7 IP Alias................................................................................................................................3-4
3.2 TCP/IP and DHCP Ethernet Setup..............................................................................................3-4
3.2.1 IP Alias Setup......................................................................................................................3-7
3.3 Internet Access Setup..................................................................................................................3-8
3.3.1 Ethernet Encapsulation........................................................................................................3-8
3.3.2 PPTP Encapsulation............................................................................................................3-9
3.3.3 Configuring the PPTP Client.............................................................................................3-10
3.3.4 PPPoE Encapsulation........................................................................................................3-10
3.4 Basic Setup Complete...............................................................................................................3-12
Advanced Applications ....................................................................................................................II
Chapter 4 Remote Node Setup .....................................................................................................4-1
4.1 Remote Node Profile...................................................................................................................4-1
4.1.1 Ethernet Encapsulation........................................................................................................4-1
4.1.2 PPPoE Encapsulation..........................................................................................................4-3
4.1.3 PPTP Encapsulation............................................................................................................4-4
4.2 Editing TCP/IP Options (with Ethernet Encapsulation)..............................................................4-6
4.2.1 Editing TCP/IP Options (with PPTP Encapsulation)..........................................................4-7
4.2.2 Editing TCP/IP Options (with PPPoE Encapsulation)........................................................4-9
4.3 Remote Node Filter.....................................................................................................................4-9
Chapter 5 IP Static Route Setup ...................................................................................................5-1
5.1 IP Static Route Setup ..................................................................................................................5-2
Chapter 6
x
Network Address Translation (NAT).............................................................................6-1
6.1 Introduction.................................................................................................................................6-1
6.1.1 NAT Definitions..................................................................................................................6-1
6.1.2 What NAT Does..................................................................................................................6-1
6.1.3 How NAT works.................................................................................................................6-2
Table Of Contents
P312 Broadband Security Gateway
6.1.4 NAT Mapping Types..........................................................................................................6-2
6.1.5 SUA (Single User Account) Versus NAT.......................................................................... 6-3
6.1.6 NAT Application................................................................................................................ 6-4
6.2 SMT Menus ................................................................................................................... ............. 6-4
6.2.1 Applying NAT in the SMT Menus..................................................................................... 6-4
6.2.2 Configuring NAT............................................................................................................... 6-6
Address Mapping Sets and NAT Server Sets:.................................................................................... 6-6
6.3 NAT Server Sets....................................................................................................................... 6-11
6.3.1 Multiple Servers behind NAT .......................................................................................... 6-11
6.3.2 Configuring a Server behind NAT ................................................................................... 6-12
6.4 Examples.................................................................................................................................. 6-13
6.4.1 Internet Access Only........................................................................................................ 6-13
6.4.2 Example 2 – Internet Access with an Inside Server......................................................... 6-15
6.4.3 Example 3 – General Case................................................................................................6-15
6.4.4 Example 4 –NAT Unfriendly Application Programs....................................................... 6-19
Advanced Management...................................................................................................................III
Chapter 7 Filter Configuration .......................................................................................................7-1
7.1 About Filtering........................................................................................................................... 7-1
7.1.1 The Filter Structure of the Prestige..................................................................................... 7-2
7.2 Configuring a Filter Set.............................................................................................................. 7-4
7.2.1 Filter Rules Summary Menu............................................................................................... 7-6
7.2.2 Configuring a Filter Rule....................................................................................................7-7
7.2.3 TCP/IP Filter Rule.............................................................................................................. 7-7
7.2.4 Generic Filter Rule........................................................................................................... 7-12
7.3 Example Filter..........................................................................................................................7-14
7.4 Filter Types and NAT............................................................................................................... 7-16
7.5 Firewall.....................................................................................................................................7-17
7.6 Applying a Filter and Factory Defaults.................................................................................... 7-17
7.6.1 LAN traffic....................................................................................................................... 7-17
7.6.2 Remote Node Filters......................................................................................................... 7-18
Chapter 8
Chapter 9
Table Of Contents xi
SNMP Configuration.....................................................................................................8-1
8.1 About SNMP.............................................................................................................................. 8-1
8.2 Configuring SNMP.....................................................................................................................8-1
System Information & Diagnosis ..................................................................................9-1
P312 Broadband Security Gateway
9.1 System Status..............................................................................................................................9-2
9.2 System Information and Console Port Speed..............................................................................9-4
9.2.1 System Information.............................................................................................................9-4
9.2.2 Console Port Speed.............................................................................................................9-5
9.3 Log and Trace.............................................................................................................................9-5
9.3.1 Viewing Error Log..............................................................................................................9-6
9.3.2 UNIX Syslog............................................................................................................... ........9-6
9.3.3 Call-Triggering Packet......................................................................................................9-10
9.4 Diagnostic.................................................................................................................................9-10
9.4.1 WAN DHCP .....................................................................................................................9-11
Chapter 10 Transferring Files ......................................................................................................10-1
10.1 Filename conventions................................................................................................................10-1
10.1.1 Firmware Development.....................................................................................................10-2
10.2 Backup Configuration...............................................................................................................10-2
10.3 Restore Configuration...............................................................................................................10-3
10.4 Upload Firmware ......................................................................................................................10-3
10.4.1 Uploading the Router Firmware........................................................................................10-3
10.4.2 Uploading Router Configuration File................................................................................10-4
10.5 TFTP File Transfer....................................................................................................................10-5
10.5.1 Example TFTP Command.................................................................................................10-6
10.6 FTP File Transfer......................................................................................................................10-7
10.6.1 Using the FTP command from the DOS Prompt...............................................................10-8
Chapter 11 System Maintenance & Information..........................................................................11-1
11.1 Command Interpreter Mode......................................................................................................11-1
11.2 Call Control Support.................................................................................................................11-2
11.2.1 Budget Management .........................................................................................................11-2
11.2.2 Call History.......................................................................................................................11-3
11.3 Time and Date Setting...............................................................................................................11-4
11.3.1 How often does the Prestige update the time?...................................................................11-4
11.4 Remote Management Setup ......................................................................................................11-6
11.5 Boot Commands........................................................................................................................11-7
Chapter 12 Telnet Configuration and Capabilities .......................................................................12-1
12.1 About Telnet Configuration...................................................................................................... 12-1
xii
Table Of Contents
P312 Broadband Security Gateway
12.2 Telnet Under NAT.................................................................................................................... 12-1
12.3 Telnet Capabilities.................................................................................................................... 12-1
12.3.1 Single Administrator ........................................................................................................ 12-1
12.3.2 System Timeout................................................................................................................ 12-2
12.4 Telnet Under the Firewall......................................................................................................... 12-2
Firewall and Content Filters............................................................................................................IV
Chapter 13 What is a Firewall......................................................................................................13-1
13.1 Types of Firewalls.................................................................................................................... 13-1
13.1.1 Packet Filtering Firewalls.................................................................................................13-1
13.1.2 Application-level Firewalls .............................................................................................. 13-1
13.1.3 Stateful Inspection firewalls............................................................................................. 13-2
13.2 Introduction to ZyXEL’s Firewall............................................................................................ 13-2
13.3 Denial of Service...................................................................................................................... 13-3
13.3.1 Basics................................................................................................................................13-3
13.3.2 Types of DoS attacks........................................................................................................ 13-4
13.4 Stateful Inspection.................................................................................................................... 13-6
13.4.1 Stateful Inspection Process............................................................................................... 13-7
13.4.2 Stateful Inspection & the Prestige.................................................................................... 13-8
13.4.3 TCP Security ....................................................................................................................13-8
13.4.4 UDP/ICMP Security......................................................................................................... 13-9
13.4.5 Upper Layer Protocols...................................................................................................... 13-9
13.5 Guidelines For Enhancing Security With Your Firewall..........................................................13-9
13.5.1 Security In General......................................................................................................... 13-10
Chapter 14
Introducing the Prestige Firewall ..............................................................................14-1
14.1 SMT Menus .................................................................................................................. ............ 14-1
14.1.1 View Firewall Log............................................................................................................ 14-2
14.1.2 Attack Types..................................................................................................................... 14-2
14.2 The Big Picture – Filtering, Firewall and NAT........................................................................ 14-5
14.3 Packet Filtering Vs Firewall..................................................................................................... 14-6
14.3.1 Packet Filtering:................................................................................................................14-6
14.3.2 Firewall:............................................................................................................................14-7
Chapter 15
15.1 Web Configurator Login and Welcome Screens...................................................................... 15-1
15.2 Enabling the Firewall ............................................................................................................... 15-2
Table Of Contents xiii
Introducing the Prestige Web Configurator...............................................................15-1
P312 Broadband Security Gateway
15.3 E-Mail.......................................................................................................................................15-3
15.3.1 What are Alerts?................................................................................................................15-3
15.3.2 What are Logs? .................................................................................................................15-4
15.3.3 SMTP Error Messages ......................................................................................................15-6
15.3.4 Example E-Mail Log......................................................................................................... 15-6
15.4 Attack Alert...............................................................................................................................15-7
15.4.1 Threshold Values: .............................................................................................................15-8
15.4.2 Half-Open Sessions ...........................................................................................................15-8
Chapter 16
16.1 Rules Overview.........................................................................................................................16-1
16.2 Rule Logic Overview................................................................................................................16-1
16.3 Connection Direction................................................................................................................16-3
16.4 Services Supported....................................................................................................................16-4
16.5 Rule Summary...........................................................................................................................16-6
16.6 Timeout...................................................................................................................................16-12
Chapter 17
Creating Custom Rules.............................................................................................16-1
16.2.1 Rule Checklist...................................................................................................................16-1
16.2.2 Security Ramifications......................................................................................................16-2
16.2.3 Key Fields For Configuring Rules....................................................................................16-2
16.3.1 LAN to WAN Rules..........................................................................................................16-3
16.3.2 WAN to LAN Rules..........................................................................................................16-3
16.5.1 Creating/Editing Firewall Rules........................................................................................16-8
16.5.2 Source & Destination Addresses.....................................................................................16-10
16.6.1 Factors Influencing Choices for Timeout Values:...........................................................16-12
Custom Ports ............................................................................................................17-1
17.1 Introduction...............................................................................................................................17-1
17.2 Creating/Editing A Custom Port...............................................................................................17-2
Chapter 18
18.1 Log Screen................................................................................................................................18-1
Chapter 19 Example Firewall Rules ............................................................................................19-1
19.1 Examples...................................................................................................................................19-1
Chapter 20
xiv
Logs ..........................................................................................................................18-1
19.1.1 Example 1 - Firewall Rule To Allow Web Service From The Internet.............................19-1
19.1.2 Example 2 – Small Office With Mail, FTP and Web Servers...........................................19-6
19.1.3 Example 3: DHCP Negotiation and Syslog Connection from the Internet .....................19-11
Content Filtering........................................................................................................20-1
Table Of Contents
P312 Broadband Security Gateway
20.1 Restrict Web Features...............................................................................................................20-1
20.1.1 ActiveX ............................................................................................................................20-1
20.1.2 Java................................................................................................................................... 20-1
20.1.3 Cookies............................................................................................................................. 20-2
20.1.4 Web Proxy........................................................................................................................ 20-2
20.2 Blocking URLs......................................................................................................................... 20-2
20.3 Content Filtering Using the PWC............................................................................................. 20-2
Troubleshooting, Appendices, Glossary and Index......................................................................V
Chapter 21 Troubleshooting ........................................................................................................21-1
21.1 Problems Starting Up the Prestige............................................................................................ 21-1
21.2 Problems with the LAN Interface............................................................................................. 21-2
21.3 Problems with the WAN interface............................................................................................21-2
21.4 Problems with Internet Access................................................................................................. 21-3
21.5 Problems with the Firewall....................................................................................................... 21-3
Appendix A PPPoE ......................................................................................................................E
Appendix B PPTP ......................................................................................................................G
Appendix C Hardware Specifications............................................................................................I
Appendix D Important Safety Instructions....................................................................................J
Appendix E Firewall CLI Commands...........................................................................................K
Appendix F Power Adapter Specs...............................................................................................P
Glossary of Terms.......................................................................................................................... R
Index............................................................................................................................................CC
Table Of Contents xv
P312 Broadband Security Gateway
List of Figures
Figure 1-1 Secure Internet Access via Cable............................................................................................1-3
Figure 1-2 Secure Internet Access via DSL..............................................................................................1-4
Figure 2-1 Front Panel.............................................................................................................................2-1
Figure 2-2 Prestige 312 Rear Panel and Connections...............................................................................2-2
Figure 2-3 Initial Screen ...........................................................................................................................2-4
Figure 2-4 P assword Screen .....................................................................................................................2-5
Figure 2-5 Prestige 312 Main Menu........................................................................................................2-6
Figure 2-6 Menu 23 - System Security.....................................................................................................2-7
Figure 2-7 Menu 1 – General Setup..........................................................................................................2-8
Figure 2-8 Configure Dynamic DNS........................................................................................................2-9
Figure 2-9 Menu 2 – WAN Setup...........................................................................................................2-11
Figure 2-10 Menu 3 - LAN Setup.............................................................................................................2-12
Figure 2-11 Menu 3.1 – LAN Port Filter Setup........................................................................................2-12
Figure 3-1 Physical Network....................................................................................................................3-4
Figure 3-2 Partitioned Logical Networks .................................................................................................3-4
Figure 3-3 Menu 3 - LAN Setup (10/100 Mbps Ethernet) .......................................................................3-5
Figure 3-4 Menu 3.2 – TCP/IP and DHCP Ethernet Setup ......................................................................3-5
Figure 3-5 Menu 3.2.1 - IP Alias Setup....................................................................................................3-7
Figure 3-6 Menu 4 – Internet Access Setup (Ethernet) ............................................................................3-8
Figure 3-7 Internet Access Setup (PPTP)...............................................................................................3-10
Figure 3-8 Internet Access Setup (PPPoE).............................................................................................3-11
Figure 4-1 Menu 11.1 Remote Node Profile for Ethernet Encapsulation.................................................4-1
Figure 4-2 Menu 11.1 Remote Node Profile for PPPoE Encapsulation ...................................................4-3
Figure 4-3 Remote Node Profile for PPTP Encapsulation .......................................................................4-5
Figure 4-4 Remote Node Network Layer Options...................................................................................4-6
xvi List Of Figures
P312 Broadband Security Gateway
Figure 4-5 Remote Node Network Layer Options.................................................................................. 4-8
Figure 4-6 Remote Node Filter (Ethernet Encapsulation)...................................................................... 4-10
Figure 4-7 Remote Node Filter (PPPoE or PPTP Encapsulation).......................................................... 4-10
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-2
Figure 6-2 NAT Application .................................................................................................................... 6-4
Figure 6-3 Applying NAT for Internet Access......................................................................................... 6-5
Figure 6-4 Applying NAT to the Remote Node.......................................................................................6-5
Figure 6-5 Menu 15 NAT Setup............................................................................................................... 6-6
Figure 6-6 Menu 15.1 Address Mapping Sets ......................................................................................... 6-7
Figure 6-7 SUA Address Mapping Rules................................................................................................ 6-7
Figure 6-8 First Set in Menu 15.1.1......................................................................................................... 6-9
Figure 6-9 Editing an Individual Rule in a Set...................................................................................... 6-10
Figure 6-10 Multiple Servers Behind NAT.............................................................................................. 6-12
Figure 6-11 Menu 15.2 – NAT Server Setup ........................................................................................... 6-13
Figure 6-12 NAT Example 1................................................................................................................... 6-14
Figure 6-13 Internet Access & NAT Example........................................................................................ 6-14
Figure 6-14 NAT Example 2................................................................................................................... 6-15
Figure 6-15 Specifying an Inside Sever.................................................................................................. 6-15
Figure 6-16 NAT - Example 3 ................................................................................................................ 6-16
Figure 6-17 Example 3 – Menu 11.3 ...................................................................................................... 6-17
Figure 6-18 Example 3 – Menu 15.1.1.1................................................................................................ 6-17
Figure 6-19 Example 3 Final Menu 15.1.1............................................................................................. 6-18
Figure 6-20 Example 3 – Menu 15.2...................................................................................................... 6-18
Figure 6-21 NAT Example 4.................................................................................................................... 6-19
List Of Figures xvii
P312 Broadband Security Gateway
Figure 6-22 Example 4- Menu 15.1.1.1 - Address Mapping Rule............................................................6-20
Figure 6-23 Example 4 - Menu 15.1.1 - Address Mapping Rules............................................................6-20
Figure 7-1 Outgoing Packet Filtering Process..........................................................................................7-1
Figure 7-2 Filter Rule Process..................................................................................................................7-3
Figure 7-4 Menu 21 – Filter and Firewall Setup.......................................................................................7-4
Figure 7-5 Menu 21.1 - Filter Set Configuration......................................................................................7-4
Figure 7-6 NetB IOS_WAN Filter Rules Summary...................................................................................7-5
Figure 7-7 NetBIOS _LAN Filter Rules Summary ..................................................................................7-5
Figure 7-8 TEL_FTP_WEB_WAN Filter Rules Summary ......................................................................7-5
Figure 7-9 Menu 21.1.1.1 - TCP/IP Filter Rule........................................................................................7-8
Figure 7-10 Executing an IP Filter ...........................................................................................................7-11
Figure 7-11 Menu 21.4.1.1 - Generic Filter Rule.....................................................................................7-12
Figure 7-12 Telnet Filter Example............................................................................................................7-14
Figure 7-13 Example Filter – Menu 21.1.1.1 ...........................................................................................7-15
Figure 7-14 Example Filter Rules Summary – Menu 21.1.3....................................................................7-16
Figure 7-15 Protocol and Device Filter Sets.............................................................................................7-17
Figure 7-16 Filtering LAN Traffic............................................................................................................7-18
Figure 7-17 Filtering Remote Node Traffic..............................................................................................7-18
Figure 8-1 Menu 22 - SNMP Configuration.............................................................................................8-1
Figure 9-1 Menu 24 - System Maintenance..............................................................................................9-1
Figure 9-2 Menu 24.1 - System Maintenance – Status.............................................................................9-2
Figure 9-3 Menu 24.2 – System Information and Console Port Speed....................................................9-4
Figure 9-4 Menu 24.2.1 System Maintenance - Information....................................................................9-4
Figure 9-5 Menu 24.2.2 – System Maintenance – Change Console Port Speed.....................................9-5
Figure 9-6 Examples of Error and Information Messages........................................................................9-6
Figure 9-7 Examples of Error and Information Messages........................................................................9-6
Figure 9-8 Menu 24.3.2 - System Maintenance – UNIX Syslog..............................................................9-7
xviii List Of Figures
P312 Broadband Security Gateway
Figure 9-9 Call-Triggering Packet Example.......................................................................................... 9-10
Figure 9-10 Menu 24.4 - System Maintenance - Diagnostic....................................................................9-11
Figure 9-11 WAN & LAN DHCP............................................................................................................ 9-12
Figure 10-1 Menu 24.5 - System Maintenance - Backup Configuration ................................................. 10-2
Figure 10-2 Menu 24.6 - System Maintenance - Restore Configuration................................................. 10-3
Figure 10-3 Menu 24.7 - System Maintenance - Upload Firmware......................................................... 10-3
Figure 10-4 Menu 24.7.1 - System Maintenance - Upload Router Firmware.......................................... 10-4
Figure 10-5 Menu 24.7.2 - System Maintenance - Upload Router Configuration File............................ 10-5
Figure 10-6 Telnet into Menu 24.7.1 ....................................................................................................... 10-7
Figure 10-7 Telnet into Menu 24.7.2 - System Maintenance................................................................... 10-8
Figure 10-8 FTP Session Example........................................................................................................... 10-9
Figure 11-1 Command Mode in Menu 24.................................................................................................11-1
Figure 11-2 Valid Commands ...................................................................................................................11-1
Figure 11-3 Call Control...........................................................................................................................11-2
Figure 11-4 Budget Management ............................................................................................................11-2
Figure 11-5 Call History..........................................................................................................................11-3
Figure 11-6 System Maintenance – Time and Date Setting.....................................................................11-5
Figure 11-7 Menu 24.11 - Remote Management Control.........................................................................11-6
Figure 11-8 Option to Enter Debug Mode................................................................................................11-7
Figure 11-9 Boot Module Commands ......................................................................................................11-8
Figure 12-1 Telnet Configuration on a TCP/IP Network......................................................................... 12-1
Figure 13-1 Prestige Firewall Application............................................................................................... 13-3
Figure 13-2 Three-Way Handshake......................................................................................................... 13-4
Figure 13-3 SYN Flood ........................................................................................................................... 13-5
Figure 13-4 Smurf Attack........................................................................................................................ 13-6
Figure 13-5 Stateful Inspection................................................................................................................ 13-7
Figure 14-1 SMT Main Menu.................................................................................................................. 14-1
List Of Figures xix
P312 Broadband Security Gateway
Figure 14-2 Menu 21 - Filter and Firewall Setup.....................................................................................14-1
Figure 14-3 Menu 21.2 – Firewall Setup..................................................................................................14-2
Figure 14-4 View Firewall Log ................................................................................................................14-4
Figure 14-5 Big Picture - Filtering, Firewall and NAT.............................................................................14-6
Figure 15-1 Login screen as seen in Netscape.......................................................................................... 15-1
Figure 15-2 Prestige Web Configurator Welcome Screen ........................................................................15-2
Figure 15-3 Enabling the Firewall............................................................................................................15-3
Figure 15-4 E-Mail Screen .......................................................................................................................15-4
Figure 15-5 E-Mail Log............................................................................................................................15-7
Figure 15-6 Attack Alert...........................................................................................................................15-9
Figure 16-1 LAN to WAN Traffic............................................................................................................ 16-3
Figure 16-2 WAN to LAN Traffic............................................................................................................ 16-4
Figure 16-3 Firewall Rules Summary – First Screen................................................................................16-6
Figure 16-4 Creating/Editing A Firewall Rule.........................................................................................16-9
Figure 16-5 Adding/Editing Source & Destination Addresses...............................................................16-11
Figure 16-6 Timeout Screen...................................................................................................................16-13
Figure 17-1 Custom Ports.........................................................................................................................17-1
Figure 17-2 Creating/Editing A Custom Port........................................................................................... 17-3
Figure 18-1 Log Screen............................................................................................................................18-1
Figure 19-1 Activate The Firewall............................................................................................................19-2
Figure 19-2 Example 1 – E-Mail Screen..................................................................................................19-3
Figure 19-3 Example 1 – Configuring A Rule.......................................................................................... 19-4
Figure 19-4 Example 1: Destination Address for Traffic Originating From The Internet........................19-5
Figure 19-5 Example 1 - Rule Summary Screen......................................................................................19-6
Figure 19-6 Send Alerts When Attacked..................................................................................................19-7
Figure 19-7 Configuring A POP Custom Port..........................................................................................19-8
Figure 19-8 Example 2 - Local Network Rule 1 Configuration...............................................................19-9
xx List Of Figures
P312 Broadband Security Gateway
Figure 19-9 Example 2 - Local Network Rule Summary.................................................................. 19-10
Figure 19-10 Example 2 - Internet to Local Network Rule Summary..................................................19-11
Figure 19-11 Custom Port for Syslog.................................................................................................. 19-12
Figure 19-12 Syslog Rule Configuration............................................................................................. 19-13
Figure 19-13 Example 3 Rule Summary.............................................................................................. 19-14
Figure 20-1 Content Filtering Screen.................................................................................................... 20-3
List Of Figures xxi
P312 Broadband Security Gateway
List Of Tables
Table 2- 1 LED functions ........................................................................................................................2-1
Table 2- 2 Main Menu Commands.......................................................................................................... 2-5
Table 2-3 Main Menu Summary............................................................................................................. 2-6
Table 2-4 General Setup Menu Field...................................................................................................... 2-9
Table 2-5 Configure Dynamic DNS Menu Fields ................................................................................2-10
Table 2-6 WAN Setup Menu Fields...................................................................................................... 2-11
Table 3-1 LAN DHCP Setup Menu Fields.............................................................................................. 3-6
Table 3-2 LAN TCP/IP Setup Menu Fields............................................................................................ 3-6
Table 3-3 IP Alias Setup Menu Fields.................................................................................................... 3-7
Table 3-4 Internet Access Setup Menu Fields ........................................................................................3-9
Table 3-5 New Fields in Menu 4 (PPTP) screen .................................................................................... 3-10
Table 3-6 New Fields in Menu 4 (PPPoE) screen ..................................................................................3-12
Table 4-1 Fields in Menu 11.1.................................................................................................................. 4-2
Table 4-2 Fields in Menu 11.1 (PPPoE Encapsulation Specific).............................................................. 4-4
Table 4-3 Fields in Menu 11.1 (PPTP Encapsulation)............................................................................. 4-5
Table 4-4 Remote Node Network Layer Options Menu Fields............................................................... 4-6
Table 4-5 Remote Node Network Layer Options Menu Fields............................................................... 4-8
Table 5-1 IP Static Route Menu Fields................................................................................................... 5-3
Table 6-1 NAT Definitions...................................................................................................................... 6-1
Table 6-2 NAT Mapping Types ............................................................................................................... 6-3
Table 6-3 Applying NAT in Menus 4 & 11.3 ..........................................................................................6-6
Table 6-4 SUA Address Mapping Rules..................................................................................................6-8
Table 6-5 Menu 15.1.1............................................................................................................................. 6-9
Table 6-6 Menu 15.1.1.1 – configuring an individual rule.................................................................... 6-10
Table 6-7 Services & Port numbers...................................................................................................... 6-13
Table 7-1 Abbreviations Used in the Filter Rules Summary Menu........................................................ 7-6
List of Tables xxiii
P312 Broadband Security Gateway
Table 7-2 Abbreviations Used If Filter Type Is IP..................................................................................7-7
Table 7-3 Abbreviations Used If Filter Type Is GEN..............................................................................7-7
Table 7-4 TCP/IP Filter Rule Menu Fields..............................................................................................7-8
Table 7-5 Generic Filter Rule Menu Fields...........................................................................................7-13
Table 8-1 SNMP Configuration Menu Fields .........................................................................................8-2
Table 9-1 System Maintenance - Status Menu Fields .............................................................................9-3
Table 9-2 Fields in System Maintenance.................................................................................................9-5
Table 9-3 System Maintenance Menu Syslog Parameters.......................................................................9-7
Table 9-4 System Maintenance Menu Diagnostic.................................................................................9-12
Table 10- 1 Filename Conventions...........................................................................................................10-2
Table 10-2 Third Party TFTP Clients –General fields.............................................................................10-6
Table 10-3 Third Party FTP Clients –General fields...............................................................................10-9
Table 11-1 Budget Management .............................................................................................................11-3
Table 11-2 Call History Fields ................................................................................................................11-4
Table 11-3 Time and Date Setting Fields................................................................................................11-5
Table 11-4 Menu 24.11 - Remote Management Control.........................................................................11-7
Table 13-1 Common IP Ports..................................................................................................................13-4
Table 14-1 ICMP Commands That Trigger Alerts..................................................................................14-3
Table 14-2 Legal NetBIOS Commands...................................................................................................14-3
Table 14-3 Legal SMTP Commands.......................................................................................................14-3
Table 14-4 View Firewall Log.................................................................................................................14-5
Table 15- 1 E-Mail...................................................................................................................................15-5
Table 15- 2 SMTP Error Messages ..........................................................................................................15-6
Table 15- 3 Attack Alert.........................................................................................................................15-10
Table 16- 1 Services Supported................................................................................................................16-5
Table 16-2 Firewall Rules Summary – First Screen................................................................................16-7
Table 16-3 Creating/Editing A Firewall Rule..........................................................................................16-9
Table 16-4 Adding/Editing Source & Destination Addresses...............................................................16-11
xxiv List of Tables
P312 Broadband Security Gateway
Table 16- 5 Timeout Menu.................................................................................................................... 16-14
Table 17- 1 Custom Ports ........................................................................................................................ 17-2
Table 17-2 Creating/Editing A Custom Port........................................................................................... 17-4
Table 18- 1 Log Screen............................................................................................................................ 18-2
Table 20-1 Content Filtering Fields........................................................................................................ 20-3
Table 21-1 Troubleshooting the Start-Up of your Prestige..................................................................... 21-1
Table 21-2 Troubleshooting the LAN Interface...................................................................................... 21-2
Table 21-3 Troubleshooting the WAN interface.....................................................................................21-2
Table 21- 4 Troubleshooting Internet Access.......................................................................................... 21-3
List of Tables xxv
P312 Broadband Security Gateway
Preface
About Your Router
Congratulations on your purchase of the Prestige 312 Broadband Security Gateway.
Don’t forget to register your Prestige (fast, easy online registration at www.zyxel.com ) for
free future product updates and information.
The Prestige 312 is a dual Ethernet Broadband Security Gateway integrated with robust firewall solutions
and network management features that allows access to the Internet via Cable/ADSL modem or broadband
router. It is designed for:
!
Home offices and small businesses with Cable, xDSL and wireless modem via Ethernet port as Internet
access media.
!
Multiple office/department connections via access devices.
!
E-commerce/EDI applications.
Your Prestige 312 is easy to install and to configure.
The Prestige Web Configurator (PWC) is a web-based utility that allows you to access the Prestige’s
manageme nt settings and configur e the firewa ll. Most functions of the Prestige 312 are also software
configurable via the SMT (System Management Terminal) interface. The SMT is a menu-driven interface
that you can access from a terminal emulator through the console port or over a telnet connection.
Note: You can configure most features of the P312 via SMT but we recommend you
configure the firewall using the Prestige Web Configurator.
About This User's Manual
This manual is designed to guide you through the SMT configuration of your Prestige 312 for its various
applications.
Structure of this Manual
This manual is structured as follows:
Part I. Getting Started (Chapters 1-3) is structured as a step-by-step guide to help you connect, install
and setup your Prestige to operate on your network and access the Internet.
Part II. Advanced Applications (Chapters 4 - 6) describe the advanced applications of your Prestige,
such as Remote Node Setup IP Static routes and NAT.
Part III. Advanced Management (Chapters 7 - 12) provides information on Prestige Filtering, System
Information and Diagnosis, Transferring Files and Telnet.
Part IV. Firewall (Chapters 13 - 20) describes types of firewalls, how to configure your Prestige firewall
using the Prestige Web Configurator, as well as types of Denial of Services (DoS) attacks and Content
Filtering.
Part V. Troubleshooting (Chapter 21) provides information about solving common problems as well as
some Appendices, a Glossary and an Index.
Preface xxvii
P312 Broadband Security Gateway
Regardless of your particular application, it is important that you follow the steps outlined in Chapters 1-2 to
connect your Prestige to your LAN. You can then refer to the appropriate chapters of the manual, depending
on your applications.
Related Documentation
"
Supporting CD
More detailed information about the Prestige and examples of its use can be found in our included
disk (as well as on the zyxel.com web site). This CD contains information on config urin g your
Prestige for Internet Access, a General FAQ, an Advanced FAQ, Applications Notes,
Troubleshooting, Reference CI Commands as well as bundled software.
" Read Me First
Our Read Me Fir s t is designed to help you get your Pr estige up and running rig ht away. It contains a
detailed easy to follow connection diagram, Prestige default settings, handy checklists, information
on setting up your PC, and information on configuring your Prestige for Internet access.
"
Packing List Card
Finally, you should have a Packing List Card, which lists all items that should have come with your
Prestige.
" ZyXEL Web and FTP Server Sites
You can access release notes for firmware upgrades and other information at ZyXEL web and FTP
server sites. Refer to the Customer Support page in this User’s Guide for more information.
Syntax Conventions
• “Enter” means for you to type one or more characters and press the carriage return. “Select” or
“Choose” means for you to select one from the predefined choices.
• The SMT menu titles and labels are in Bold Times font. The choices of a menu item are in Bold Arial
font. A single keystroke is in Arial font and enclosed in square brackets, for instance, [ENTER ] means
the Enter, or carriage return, key; [ESC] means the Escape key.
• For brevity’s sake, we will use “e.g.” as a shorthand for “for instance” and “i.e.” for “that is” or “in other
words” throughout this manual.
xxviii Preface
Getting Started
Part I:
Getting Started
Chapters 1-3 are structured as a step-by-step guide to help you connect, install and setup your
Prestige to operate on your network and access the Internet.
I