Home
ZyWALL 2X/2XW
Contents
1. Drop Drop packet Drop packet packet if line not up if line notup _ Or Or Send packet Send packet but do not reset but do not reset Idle Timer Idle Timer Figure 19 1 Outgoing Packet Filtering Process For incoming packets your ZyWALL applies data filters only Packets are processed depending upon whether a match is found The following sections describe how to configure filter sets 19 1 1 The Filter Structure of the ZyWALL A filter set consists of one or more filter rules Usually you would group related rules e g all the rules for NetBIOS into a single set and give it a descriptive name The ZyWALL allows you to configure up to twelve filter sets with six rules in each set for a total of 72 filter rules in the system You cannot mix device filter rules and protocol filter rules within the same set You can apply up to four filter sets to a particular port to block multiple types of packets With each filter set having up to six rules you can have a maximum of 24 rules active for a single port Sets of factory default filter rules have been configured in menu 21 to prevent NetBIOS traffic from triggering calls and to prevent incoming telnet sessions A summary of their filter rules is shown in the figures that follow The following figure illustrates the logic flow when executing a filter rule See also Figure 19 6 for the logic flow when executing an IP filter 19 2 Filter Con
2. FIELD DESCRIPTION OPTIONS Service Name Enter a unique name for your custom port Service Type Choose the IP port TCP UDP or Both that defines your TCP customized port from the drop down list box UDP Both Port Configuration Type Click Single to specify one port only or Range to specify a span of Single ports that define your customized service Range Port Number Enter a single port number or the range of port numbers that define your customized service When you have finished click Apply to save your customized settings and exit this screen Cancel to exit this screen without saving or Help for online HTML help on fields in this screen 16 8 Example Firewall Rule The following Internet firewall rule example allows a hypothetical MyService connection from the Internet Step 1 Click the Firewall link and then the Summary tab Step 2 In the Summary screen type the index number for where you want to put the rule For example if you type 6 your new rule becomes number 6 and the previous rule 6 if there is one becomes rule 7 Creating Custom Rules 16 15 ZyWALL 2X and ZyWALL 2XW Step 3 Click Insert to display the firewall rule configuration screen Select WAN to LAN from the EA m drop down list box Iv Active Packet Direction WAN to LAN j Source Address Destination Address BH Source IP Address 888 Destination IP Address NINE Any Any SrcAdd SrcEdit SrcDel
3. cce eeeee scene eren ee eene eene tnnt tn stunts netus sinu 14 1 14 1 Introduction to the ZyWALL Frewall sess 14 1 14 2 Remote Management and the Firewall essere ens 14 1 14 3 Access Methods oed ARUOAR DER ORI OS ION ROI D ORI dd 14 1 14 4 Hamme ZyWALL SME Menus etas eei ee e editus 14 1 Chapter 15 Firewall Configuration 4 eeeeeeee ecce eerte ee eene eren nete etes tnnt tasto assets s sees sense sena 15 1 15 1 Introduction to Firewall Configuration esee 15 1 15 2 Enabling the Firewall hne nante m Re a A C Ro tei 15 1 15 3 Attack ATert anoo sedis b dude iut ud biu en adeoque attis 15 3 Chapter 16 Creating Custom Rules ires reet eire so vtt bet ert eph t er hee AE ve He ve sb Poe io EU eub eU pF be Pup ssis 16 1 16 1 Introduction to Custom Rules esee eene eere eere 16 1 16 2 Rule Logic OvetylIew tad uoo RUDI nde PR ie 16 2 16 3 Connection Direction Examples enne 16 3 16 4 Rule Summary e see Rea daa eT o ro E dues 16 5 16 5 Pr defined Services ces ete e ei ee eget b rae ENEE 16 7 16 6 Custom POFts eelere dese geen Rb e eene dee 16 14 Table of Contents ZyWALL 2X and ZyWALL 2XW 16 7 Creating Editing A Custom Port 16 14 16 8 Example Firewall Rule eee e RO re ebe 16 15 Chapter 17 Content Filtering eese eee eee eee eee eene tn ntn setas ttn sensns sins en netu setas tasto sense tassa sena 17 1 17 1 Introduction to Co
4. 6 1 Customer SUppOTt i cei te tete vi COM port See Connecting the Console Port D COMI See Connecting the Console Port data collision sese 7 11 Command Interpreter Mode 23 1 Data encryption ccceeeesecesecssecseeneeeeeeeeenes 8 2 Command Line ee RR RIDERS 22 3 DDNS COMMUNITY e ence epi ec 20 3 Configuration sess 5 3 Computer s IP Address 1 DDNS Typ EE 5 4 Configuration File Default Policy Log 16 6 Back p c ondas ede ha aere datee d 22 2 Denial of Service 13 2 13 3 14 2 15 3 15 4 Maintenance 22 1 Denial of Services Connection ID Name eee 10 7 Thresholds 4 deett 15 5 Connections aede ees 2 3 Destination Address 16 3 16 12 Additional Requirements for 802 1x 2 5 DHCP a occa Bees 7 2 7 7 Console Port 2 4 21 3 21 4 21 5 33 Configuration essere 7 2 Configuration File Upload 22 17 DHCP Dynamic Host Configuration Protocol 1 File Backup eere 22 6 T4 E UTI RR RETE 22 15 E m Diagnostic 21 11 B Index ZyWALL 2X and ZyWALL 2XW DEA BACK UP ganera nan An De E 33 Enable Wireless LAN see 8 3 Direct Sequence Spread Spectrum 21 Encapsulation sss 9 2 10 2 10 6 Disclaimer eee tree ii PPP over Erhermet sess 27 Distribution System sss 22 Enter usns See Syntax
5. Filter Configuration 19 7 ZyWALL 2X and ZyWALL 2XW Table 19 3 TCP IP Filter Rule Menu Fields FIELD DESCRIPTION OPTIONS IP Mask Enter the IP mask to apply to the Destination IP Addr 0 0 0 0 Port Enter the destination port of the packets that you wish to filter 0 65535 The range of this field is 0 to 65535 This field is ignored if it is 0 Port Comp Press SPACE BAR and then ENTER to select the None comparison to apply to the destination port in the packet Less against the value given in Destination Port Greater Equal Not Equal Source IP Address Enter the source IP Address of the packet you wish to filter 0 0 0 0 This field is ignored if it is 0 0 0 0 IP Mask Enter the IP mask to apply to the Source IP Addr 0 0 0 0 Port Enter the source port of the packets that you wish to filter The 0 65535 range of this field is 0 to 65535 This field is ignored if it is 0 Port Comp Press SPACE BAR and then ENTER to select the None comparison to apply to the source port in the packet against Less the value given in Source Port Greater Equal Not Equal TCP Estab This field is applicable only when the IP Protocol field is 6 Yes TCP Press SPACE BAR and then ENTER to select Yes to No have the rule match packets that want to establish a TCP connection SYN 1 and ACK 0 if No it is ignored More Press SPACE BAR and then ENTER to select Yes or No I
6. sess 12 17 Figure 12 4 NAT Exart ple 2 niente to cB ER ERU de DU EE 12 18 Figure 12 15 Menu 15 2 Specifying an Inside Server esseeseeeeeeen enne 12 19 Figure 12 16 NAT Example 3 epe tec uo ele cp eee ee En 12 20 Figure 12 17 Example 3 Menu 11 3 NEE 12 21 Figure 12 18 Example 3 Menu 15 1 1 1 iiie tede nente fere eere Hee deese da 12 21 Figure 12 19 Example 3 Final Menu 15 1 1 enne entente nennen 12 22 Figure 12 20 Example 3 Menu 15 2 EE 12 22 Figure 12 21 NAT Example 4 iode E reete ee 12 23 Figure 12 22 Example 4 Menu 15 1 1 1 Address Mapping Rule 12 24 Figure 12 23 Example 4 Menu 15 1 1 Address Mapping Rule 12 24 Figure 12 24 Trigger Port Forwarding Process Example esee eene 12 25 Figure 12 25 Menu 15 3 Trigger Port Setup 12 26 Figure 13 1 ZyWALL Firewall Application esee eene enne enne ener etre te nennen 13 3 Figure 13 2 Three Way Handshake mettere teet eee ee tee ee be ted tons 13 5 xviii List of Figures ZyWALL 2X and ZyWALL 2XW Figure ts SYN EIO00 no ditto ek natin iu debent b diat dem bene eoe ans 13 5 Figure 13 4 Smurf Attack oce eme e Een tutes ERE eerte ote Eee pee de reped eoe span 13 6 Figure 13 5 Stateful Inspection uote EENS 13 8 Figure 14 1 Menu 21 Filter and Firewall Setup 14 1 Figure 14 2 Menu 21 2 Firewall Setup 14 2 Figure 15 1 Enabling the Firewall nnne oto ae Seechen 15 2 Fi ute 15 2 Attack Alert i coepere dene Bache eat 15 5 Figur
7. ce Route No 0 0 There are no more rules to Select Equal here check as you are looking for packets going to port 23 only Select Drop here so that the packet will be dropped if its destination is the telnet port Select Forward here so that the packet will be forwarded if its destination is not the telnet port Figure 19 9 Example Filter Menu 21 1 3 1 When you press ENTER to confirm you will see the following screen Note that there is only one filter rule in this set 19 14 Filter Configuration ZyWALL 2X and ZyWALL 2XW Menu 21 1 3 Filter Rules Summary Filter Rules SA 0 0 0 0 DA 0 0 0 0 This shows you that you have configured and activated A Y a TCP IP filter rule Type IP Pr 6 for destination telnet ports DP 23 M N means an action can be taken immediately The action is to drop the packet m D if the action is matched and to forward the packet immediately n F if the action is not matched no matter whether there are more rules to be checked there aren t in this example Figure 19 10 Example Filter Rules Summary Menu 21 1 3 After you ve created the filter set you must apply it Step 1 Enter 11 from the main menu to go to menu 11 Step 2 Go to the Edit Filter Sets field press SPACE BAR to select Yes and press ENTER Step 3 This brings you to menu 11 5 Apply a filter set our example filter set 3 as shown in Step 4 Figure 19
8. ae a IPSec IKE Key r Management Manual gt Figure 26 3 IPSec Architecture 26 2 1 IPSec Algorithms The ESP Encapsulating Security Payload Protocol RFC 2406 and AH Authentication Header protocol RFC 2402 describe the packet formats and the default standards for packet structure including implementation algorithms The Encryption Algorithm describes the use of encryption techniques such as DES Data Encryption Standard and Triple DES algorithms The Authentication Algorithms HMAC MDS RFC 2403 and HMAC SHA 1 RFC 2404 provide an authentication mechanism for the AH and ESP protocols Please see section 27 2 for more information 26 2 2 Key Management Key management allows you to determine whether to use IKE ISAKMP or manual key configuration in order to set up a VPN 26 4 Introduction to IPSec ZyWALL 2X and ZyWALL 2XW 26 3 Encapsulation The two modes of operation for IPSec VPNs are Transport mode and Tunnel mode Original IP TCP zo IP Packet Header Header Transport Mode IP IPSec TCP Data Protected Packet Header Header Header Tunnel Mode IP IPSec IP TCP Data Protected Packet Header Header Header Header Figure 26 4 Transport and Tunnel Mode IPSec Encapsulation 26 3 1 Transport Mode Transport mode is used to protect upper layer protocols and only affects the data in the IP packet In Transport mode the IP packet contains the security prot
9. Key Enter a password up to 31 alphanumeric characters as the key to be shared between the external accounting server and the access points The key is not sent over the network This key must be the same on the external accounting server and ZyWALL Click Apply to save these settings back to the ZyWALL Click Reset to start this screen afresh 8 5 Local User Authentication By storing user profiles locally your ZyWALL is able to authenticate wireless users without interacting with a network RADIUS server Click Wireless and the Local User Database tab to the display the following screen some of the screen s blank rows are not shown 8 8 Wireless LAN Security Setup ZyWALL 2X and ZyWALL 2XW Wireless MAC Filter 802 1X pacer RADIUS atabase Local User Database Active User Name Password e S z E E E E E E E Apply Reset Figure 8 6 Local User Database Wireless LAN Security Setup 8 9 ZyWALL 2X and ZyWALL 2XW The following table describes the fields in this screen Table 8 4 Local User Database FIELD DESCRIPTION Active Select this check box to enable the user profile User Name Enter the user name of the user profile Password Enter a password up to 31 characters long for this user profile Click Apply to save these settings back to the ZyWA
10. 34 Hardware Specifications ZyWALL 2X and ZyWALL 2XW Chart l 5 European Union AC Power Adaptor Specifications Safety standards TUV CE EN 60950 Chart l 6 UK AC Power Adaptor Specifications AC Power Adapter model AD 1201200DK Input power AC230Volts 50Hz 0 2A Output power DC12Volts 1 2A Power consumption 10 W Plug United Kingdom standards Safety standards TUV CE EN 60950 BS7002 Chart l 7 Japan AC Power Adaptor Specifications AC Power Adapter model JOD 48 1124 Input power AC100Volts 50 60Hz 27VA Output power DC12Volts 1 2A Power consumption 10 W Plug Japan standards Safety standards T Mark Chart I 8 Australia and New Zealand AC Power Adaptor Specifications AC Power Adapter model AD 1201200Ds or AD 121200DS Input power AC240Volts 50Hz 0 2A Output power DC12Volts 1 2A Power consumption 10 W Plug Australia and New Zealand standards Safety standards NATA AS 3260 Hardware Specifications 35 ZyWALL 2X and ZyWALL 2XW Appendix J Universal Plug and Play What is Universal Plug and Play Universal Plug and Play UPnP is a distributed open networking standard that uses TCP IP for simple peer to peer network connectivity between devices A UPnP device can dynamically join a network obtain an IP address convey its capabilities and learn about other devices on the network In turn a device can leave a network smoothly and automatic
11. Start Phase 2 Quick Mode Phase 2 negotiation is beginning using Quick Mode IKE Negotiation is in process The ZyWALL has begun negotiation with the peer for the connection already but the IKE key exchange has not finished yet Duplicate requests with the same cookie The ZyWALL has received multiple requests from the same peer but it is still processing the first IKE packet from that peer No proposal chosen The parameters configured for Phase 1 or Phase 2 negotiations don t match Please check all protocols and settings for these phases For example one party may be using 3DES encryption but the other party is using DES encryption so the connection will fail Verifying Local ID failed Verifying Remote ID failed During IKE Phase 2 negotiation both parties exchange policy details including local and remote IP address ranges If these ranges differ then the connection fails Local remote IPs of incoming request conflict with rule dd If the security gateway is 0 0 0 0 the ZyWALL will use the peer s Local Addr as its Remote Addr If this IP range conflicts with a previously configured rule then the connection is not allowed 82 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 10 Sample IKE Key Exchange Logs LOG MESSAGE DESCRIPTION Invalid IP IP start gt lt IP end The peer s Local IP Addr range is
12. IP Pool Setup The ZyWALL is pre configured with a pool of 32 IP addresses ranging from 192 168 1 33 to 192 168 1 64 This configuration leaves 31 IP addresses excluding the ZyWALL itself in the lower range for other server machines e g server for mail FTP Telnet web etc that you may have DNS Server Address Use DNS to map a domain name to its corresponding IP address and vice versa for example the IP address of www zyxel com is 204 217 0 2 The DNS server is extremely important because without it you must know the IP address of a machine before you can access it 7 2 LAN Setup ZyWALL 2X and ZyWALL 2XW There are two ways that an ISP disseminates the DNS server addresses The first is for an ISP to tell a customer the DNS server addresses usually in the form of an information sheet when you sign up If your ISP gives you DNS server addresses enter them in the DNS Server fields in DHCP Setup The second is to leave this field blank i e 0 0 0 0 in this case the ZyWALL acts as a DNS proxy Table 7 1 Example Of Network Properties For LAN Servers With Fixed IP Addresses Choose an IP address 192 168 1 2 192 168 1 32 192 168 1 65 192 168 1 254 Subnet mask 255 255 255 0 Gateway or default route 192 168 1 1 ZyWALL LAN IP Address 7 4 3 IP Address and Subnet Mask Similar to the way houses on a street share a common street name so too do machines on a LAN share one common network number Where you
13. Step 6 Use get to transfer files from the ZyWALL to the computer for example get rom 0 config rom transfers the configuration file on the ZyWALL to your computer and renames it config rom See earlier in this chapter for more information on filename conventions Step 7 Enter quit to exit the ftp prompt 22 2 3 Example of FTP Commands from the Command Line Firmware and Configuration File Maintenance 22 3 ZyWALL 2X and ZyWALL 2XW 331 Enter PASS command Password 230 Logged in ftp bin 200 Type I OK ftp get rom 0 zyxel rom 200 Port command okay 150 Opening data connection for STOR ras 226 File received OK ftp 16384 bytes sent in 1 10Seconds 297 89Kbytes sec ftp quit Figure 22 2 FTP Session Example 22 2 4 GUI based FTP Clients The following table describes some of the commands that you may see in GUI based FTP clients Table 22 2 General Commands for GUI based FTP Clients COMMAND DESCRIPTION Host Address Enter the address of the host server Login Type Anonymous This is when a user I D and password is automatically supplied to the server for anonymous access Anonymous logins will work only if your ISP or service administrator has enabled this option Normal The server requires a unique User ID and Password to login Transfer Type Transfer files in either ASCII plain text format or in binary mode Initial Remote Directory Specify the
14. 10 10 Figure 10 9 Traffic Redirect LAN Setup ssssssessessesee eene ener en rennen eren nennen 10 11 Figure 10 10 Menu 11 1 Remote Node Profile 10 11 Figure 10 11 Menu 11 6 Traffic Redirect Setup 10 12 Figure 11 1 Example of Static Routing Topology sss 11 1 Figure 11 2 Menu 12 IP Static Route Sep 11 2 Figure 11 3 Menu 12 1 Edit IP Static Route 11 3 List of Figures xvii ZyWALL 2X and ZyWALL 2XW Fisure 12 D How NAR WOKS mon dub has entem teer tet db tette pibe 12 3 Figure 12 2 NAT Application With IP Als 12 4 Figure 12 3 Menu 4 Applying NAT for Internet Access 12 7 Figure 12 4 Menu 11 3 Applying NAT to the Remote Node 12 8 Figure 12 5 Menu 15 NAT Setup ccccesscoesenseserenenencneevenescueesonebensessnenanncuoesssevercepsnavsvenenetedvansuesensenes 12 9 Figure 12 6 Menu 15 1 Address Mapping Sets ccccccscessseesceesceesceeeceseeesecaecaeeeaeeeneeeaeeseeeseeseesneeeerenseens 12 9 Figure 12 7 Menu 15 1 255 SUA Address Mapping Rules sss 12 10 Figure 12 8 Menu 15 1 1 Fitst Set ics mette eet ieri eie reiecit ede 12 11 Figure 12 9 Menu 15 1 1 1 Editing Configuring an Individual Rule in a Set 12 13 Figure 12 10 Menu 15 2 NAT Server Setup 12 16 Figure 12 11 Multiple Servers Behind NAT Example eese enne enne 12 16 Figure 12 12 NAT Example 1 3 eee tert ese tete ie ar tede eem tte 12 17 Figure 12 13 Menu 4 Internet Access amp NAT Example
15. 36 UPnP ZyWALL 2X and ZyWALL 2XW Are there any cautions about UPnP The automated nature of NAT Traversal applications in establishing their own services and opening firewall ports may present network security issues Network information and configuration may also be obtained and modified by users in some network environments All UPnP enabled devices may communicate freely with each other without additional configuration Disable UPnP if this is not your intention Opening UPnP In the web configurator click UPnP UPnP C Allow users to make configuration changes through UPnP Allow UPnP to pass through Firewall UPNP Name ZyXEL ZYWALL 10W Internet Security Gateway Diagram J 1 UPnP UPnP 37 ZyWALL 2X and ZyWALL 2XW Chart J 1 UPnP LABEL DESCRIPTION Enable the Universal Plug and Play UPnP feature Select this checkbox to activate UPnP Be aware that anyone could use a UPnP application to open the web configurator s login screen without entering the ZyWALL s IP address although you must still enter the password to access the web configurator Allow users to make configuration changes through UPnP Select this check box to allow UPnP enabled applications to automatically configure the ZyWALL so that they can communicate through the ZyWALL for example by using NAT Traversal UPnP applications automatically reserve a SUA NAT forwarding port in order to communicate with anoth
16. A and class B addresses the subnet mask also determines which bits are part of the network number and which are part of the host ID A class B address has two host ID octets available for subnetting and a class A address has three host ID octets see Chart K available for subnetting The following table is a summary for class B subnet planning Chart K 13 Class B Subnet Planning NO BORROWED HOST BITS SUBNET MASK NO SUBNETS NO HOSTS PER SUBNET 1 255 255 128 0 17 2 32766 2 255 255 192 0 18 4 16382 3 255 255 224 0 19 8 8190 IP Subnetting 51 ZyWALL 2X and ZyWALL 2XW Chart K 13 Class B Subnet Planning NO BORROWED HOST BITS SUBNETMASK NO SUBNETS NO HOSTS PER SUBNET 4 255 255 240 0 20 16 4094 5 255 255 248 0 21 32 2046 6 255 255 252 0 22 64 1022 7 255 255 254 0 23 128 510 8 255 255 255 0 24 256 254 9 255 255 255 128 512 126 25 10 255 255 255 192 1024 62 26 11 255 255 255 224 2048 30 27 12 255 255 255 240 4096 14 28 13 255 255 255 248 8192 6 29 14 255 255 255 252 16384 2 30 15 255 255 255 254 32768 1 31 52 IP Subnetting ZyWALL 2X and ZyWALL 2XW 11 Appendix L Safety Warnings and Instructions Be sure to read and follow all warning notices and instructions The maximum recommended ambient temperature for the ZyWALL is 40
17. Radiation Pattern A radiation pattern is a diagram that allows you to visualize the shape of the antenna s coverage area Antenna Gain Antenna gain measured in dB decibel is the increase in coverage within the RF beam width Higher antenna gain improves the range of the signal for better communications For an indoor site each 1 dB increase in antenna gain results in a range increase of approximately 2 5 For an unobstructed outdoor site each 1dB increase in gain results in a range increase of approximately 5 Actual results may vary depending on the network environment Antenna gain is sometimes specified in dBi which is how much the antenna increases the signal power compared to using an isotropic antenna An isotropic antenna is a theoretical perfect antenna that sends out radio signals equally well in all directions dBi represents the true gain that the antenna provides Types of Antennas For WLAN There are two types of antennas used for wireless LAN applications e Omni directional antennas send the RF signal out in all directions on a horizontal plane The coverage area is torus shaped like a donut which makes these antennas ideal for a room environment With a wide coverage area it is possible to make circular overlapping coverage areas with multiple access points 14 Antennas ZyWALL 2X and ZyWALL 2XW e Directional antennas concentrate the RF signal in a beam like a flashlight The angle of the beam width
18. Traffic Redirect Traffic Redirect forwards WAN traffic to a backup gateway when the ZyWALL cannot connect to the Internet thus acting as an auxiliary backup when your regular WAN connection fails Port Forwarding Use this feature to forward incoming service requests to a server on your local network You may enter a single port number or a range of port numbers to be forwarded and the local IP address of the desired server 1 4 Getting to Know Your ZyWALL ZyWALL 2X and ZyWALL 2XW DHCP Dynamic Host Configuration Protocol DHCP Dynamic Host Configuration Protocol allows the individual client computers to obtain the TCP IP configuration at start up from a centralized DHCP server The ZyWALL has built in DHCP server capability enabled by default which means it can assign IP addresses an IP default gateway and DNS servers to all systems that support the DHCP client The ZyWALL can also act as a surrogate DHCP server DHCP Relay where it relays IP address assignment from another DHCP server to the clients Full Network Management The embedded web configurator is an all platform web based utility that allows you to easily access the ZyWALL s management settings and configure the firewall The ZyWALL also provides 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 RoadRunner Support In addition to
19. Windows 2000 NT XP 1 2 In Windows XP click start Control Panel In Windows 2000 NT click Start Settings Control Panel In Windows XP click Network Connections In Windows 2000 NT click Network and Dial up Connections amp Control Panel File Edit view Favorites Q ck o H B yo Search Folders Ob Address Tools Help G Control Panel A H Control Panel k Add Hardware D Switch to Category view Conne s See Also e Fonts Game Controllers Windows Update 3 Internet Explorer My Documents Outlook Express V Paint n CA My Pictures Files and Settings Transfer W A E Command Prompt LJ My Music El Acrobat Reader 4 0 A My Computer Tour Windows xP Control Panel Wh Windows Movie Maker Va Printers and Faxes Help and Support Search 377 Run All Programs E untitled Paint Right click Local Area Connection and then click Properties Network Connections File Edit View Tools Advanced Help Qe E o Ki E Search lg Folders EJ Favorites 3 My Recent Documents Log Off fo Turn Off Comp e Network Connections LANor High Speed Internet Network Tasks E Create anew connection alla Sii PCI Fast Ethernet Adapter Set up a home or small Disable office network dn WW Disable this network bois device Repair KN Repair this connection Bridge Connections si Rename
20. lt ID gt lt HASH gt lt ID gt lt HASH gt Phase 1 IKE SA process done Recv lt HASH gt lt SA gt lt NONCE gt lt ID gt lt ID gt Start Phase 2 Quick Mode Send lt HASH gt lt SA gt lt NONCE gt lt ID gt lt ID gt 0 208 Recv HASH Clear IPSec Log y n OO OO OO OO OO CH Diagram Q 2 Example VPN Responder IPSec Log This menu is useful for troubleshooting A log index number the date and time the log was created and a log message are displayed Double exclamation marks denote an error or warning message The following table shows sample log messages during IKE key exchange Log Descriptions 81 ZyWALL 2X and ZyWALL 2XW A PYLD MALFORMED packet usually means that the two ends of the VPN tunnel are not using the same pre shared key Chart Q 10 Sample IKE Key Exchange Logs LOG MESSAGE DESCRIPTION Send Symbol Mode request to IP Send Symbol Mode request to IP The ZyWALL has started negotiation with the peer Recv Symbol Mode request from lt IP gt Recv lt Symbol gt Mode request from lt IP gt The ZyWALL has received an IKE negotiation request from the peer Recv lt Symbol gt IKE uses the ISAKMP protocol refer to RFC2408 ISAKMP to transmit data Each ISAKMP packet contains payloads of different types that show in the log see Chart Q 12 Phase 1 IKE SA process done Phase 1 negotiation is finished
21. 64 bit WEP Enter 5 characters or 10 digit 0 9 amp F for each Key 1 4 128 bit WEP Enter 13 characters or 26 digit 0 9 AF for each Key 1 4 Select one WER key as an active key to encrypt wireless data transmission C Key1 C Key2 C Key3 C Key4 Reset Figure 8 2 Wireless LAN 8 2 Wireless LAN Security Setup ZyWALL 2X and ZyWALL 2XW The following table describes the WEP related fields in this screen For wireless LAN field descriptions refer to section 7 7 Table 8 1 Wireless LAN FIELD DESCRIPTION EXAMPLE Enable Before you enable the wireless LAN you should configure some security by setting No MAC filters and or 802 1x security otherwise your wireless LAN will be vulnerable Wireless San LAN upon enabling it Select Yes from the drop down list box to enable the wireless LAN WEP Wired Equivalent Privacy provides data encryption to prevent unauthorized Disable wireless stations from accessing data transmitted over the wireless network WEP Select Disable to allow wireless clients to communicate with the access points without any data encryption Select 64 bit WEP or 128 bit WEP to enable data encryption If you chose 64 bit WEP in the WEP Encryption field then enter any 5 characters ASCII string or 10 hexadecimal digits 0 9 A F preceded by Ox for each key If you chose 128 bit WEP in the WEP Encryption field then enter 13 characters Key 1 to ASCII string or 26 hexa
22. Diagram P 2 Boot Module Commands Boot Commands 69 ZyWALL 2X and ZyWALL 2XW Appendix Q Log Descriptions Chart Q 1 System Error Logs LOG MESSAGE DESCRIPTION s exceeds the max This attempt to create a SUA NAT session exceeds the maximum number of session per number of SUA NAT session table entries allowed to be created per host host Chart Q 2 System Maintenance Logs LOG MESSAGE DESCRIPTION Time calibration is The router has adjusted its time based on information from the time successful server Time calibration The router failed to get information from the time server failed DHCP client gets s A DHCP client got a new IP address from the DHCP server DHCP client IP A DHCP client s IP address has expired expired DHCP server assigns The DHCP server assigned an IP address to a client MT Login Someone has logged on to the router s SMT interface uccessfully MT Login Fail Someone has failed to log on to the router s SMT interface S S S WEB Login Someone has logged on to the router s web configurator interface Successfully W T S EB Login Fail Someone has failed to log on to the router s web configurator interface ELNET Login Someone has logged on to the router via telnet uccessfully 70 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 2 System Maintenance Logs TELNET Login Fail
23. The auxiliary port function was not available at the time of writing 1 2 Getting to Know Your ZyWALL ZyWALL 2X and ZyWALL 2XW RADIUS RFC2138 2139 The ZyWALL 2XW uses RADIUS Remote Authentication Dial In User Service to have a server handle authentication authorization and accounting for your wireless network IEEE 802 1x for Network Security The ZyWALL 2XW supports the IEEE 802 1x standard that works with the IEEE 802 11 to enhance user authentication With the local user profile the ZyWALL allows you to configure up to 32 user profiles without a network authentication server In addition centralized user and accounting management is possible on an optional network authentication server Wireless LAN MAC Address Filtering The ZyWALL 2XW allows you to use MAC Address Filtering together with ESSID Extended Service Set IDentifier and WEP Wired Equivalent Privacy to provide security for your wireless LAN Brute Force Password Guessing Protection The ZyWALL has a special protection mechanism to discourage brute force password guessing attacks on the ZyWALL s management interfaces You can specify a wait time that must expire before entering a fourth password after three incorrect passwords have been entered Please see the appendices for details about this feature Content Filtering The ZyWALL can block web features such as ActiveX controls Java applets and cookies as well as disable web proxies The ZyWALL can bl
24. The firewall allowed a triangle route session to pass through Firewall sent TCP packet in response to DoS attack The firewall detected a DoS attack and sent a TCP packet s in response Log Descriptions 77 ZyWALL 2X and ZyWALL 2XW Chart Q 6 Access Logs LOG MESSAGE DESCRIPTION Firewall sent TCP reset packets The firewall sent out TCP reset packets Packet without a NAT table entry blocked The router blocked a packet that did not have a corresponding SUA NAT table entry Out of order TCP handshake packet blocked The router blocked a TCP handshake packet that came out of the proper order Drop unsupported out of order ICMP The ZyWALL generates this log after it drops an ICMP packet due to one of the following two reasons 1 The ZyWALL does not support the ICMP packet s protocol 2 The ICMP packet is an echo reply for which there was no corresponding echo request Router sent ICMP The router sent an ICMP response packet This packet automatically response packet bypasses the firewall See the section on ICMP messages for type type d code d and code details Chart Q 7 ACL Setting Notes ACL SET DIRECTION DESCRIPTION NUMBER i LAN to WAN ACL set 1 for packets traveling from the LAN to the WAN 2 WAN to LAN ACL set 2 for packets traveling from the WAN to the LAN 7 LAN to ACL set 7 for packets trave
25. The ordering of your rules is very important as rules are applied in turn Summary Attack Alert The firewall protects against Denial of Service DoS attacks when it is enabled M Enable Firewall Total Configured Rules 1 MW Bypass Triangle Route Vacant Rules 9 Packet Direction LAN to LAN Zy WALL j Configured rules for this packet direction are displayed in the summary table below What action do you want to take for packets NOT matching these Firewall rules C Block Forward Do you want to log packets that don t match these rules Log Status Source Address Duinstan Service Action Log Alert Address Type el Empty Insert New Rule Before m Number Move Rute select an Index Number To fi Rule Number Apply Ecit Delete Figure 16 3 Firewall Rules Summary First Screen The following table describes the fields in the firewall summary screen Table 16 1 Firewall Rules Summary First Screen FIELD DESCRIPTION Enable Firewall Select this check box to activate the firewall The ZyWALL performs access control and protects against Denial of Service DoS attacks when the firewall is activated Creating Custom Rules 16 5 ZyWALL 2X and ZyWALL 2XW Table 16 1 Firewall Rules Summary First Screen FIELD DESCRIPTION Bypass Triangle Select this check box to have the ZyWALL firewall ignore the use of triangle route Route topology on the network See the appe
26. ZyWALL 2X and ZyWALL 2XW S SNMP Simple Network Management Protocol EE DEN 1 4 Saving the State 13 7 E Eeer ES Schedule Sets Source Address 16 3 16 12 D r tion a0 sedere PR 25 2 BEE e ee EE 10 5 10 7 ee 13 8 EE 16 2 LW EE 13 9 Select ise See Syntax Conventions PEDIS CSOUBCHOHID Gat ees EES RE Serial Port E the Console Por SUA Only sagerne ieh See NAT Server7 2 7 3 9 2 10 3 12 5 12 6 12 9 12 10 Subnet Mask 7 3 7 7 9 2 10 8 11 3 16 14 12 13 12 14 12 15 12 16 12 18 12 19 23 6 Subnet Maske 46 Server E 10 3 el E 46 emie iine saos nde v 16 3 Support Disk esee ed XXVil Service Names ne deed 10 3 SYN Flood aineenaan 13 4 13 5 SELVICE E e eet ee 7 12 SYN ACK Ui iiem dei di dech 13 5 Service Type suss 9 2 10 3 16 15 28 2 Syntax Conventons sree xxvil Set Up a Schedule sss 25 2 Syslog IP Address 21 8 SMT 4 2 See System Management Terminal System Information 21 1 21 3 21 4 SMT Menus at a Olance sess 4 4 System Maintenance 18 2 21 1 21 2 21 3 21 4 SMET eer uos eden eU a eiim 13 6 EE 22 2 22 5 22 14 22 16 23 1 23 2 23 3 23 SNMD intet re ig e SER 1 4 24 2 4 23 5 Community redes 20 3 System Management Terminal 4 2 Configuration ssssseeeeneen 20 3 System Name teet eevee 5 1 5 2 Get iussione E E tes 20 2 System Status 21 1 Maha get cise ee aU D
27. ZyWALL 2X and ZyWALL 2XW Appendix O NetBIOS Filter Commands The following describes the NetBIOS packet filter commands See the Command Interpreter appendix for information on the command structure Introduction NetBIOS Network Basic Input Output System are TCP or UDP broadcast packets that enable a computer to connect to and communicate with a LAN For some dial up services such as PPPoE or PPTP NetBIOS packets cause unwanted calls You can configure NetBIOS filters to do the following e Allow or disallow the sending of NetBIOS packets from the LAN to the WAN e Allow or disallow the sending of NetBIOS packets from the WAN to the LAN e Allow or disallow the sending of NetBIOS packets through VPN connections e Allow or disallow NetBIOS packets to initiate calls Display NetBIOS Filter Settings Syntax sys filter netbios disp This command gives a read only list of the current NetBIOS filter modes NetBIOS Filter Status LAN to WAN Forward WAN to LAN Forward IPSec Packets Forward Trigger Dial Disabled Diagram O 1 NetBIOS Display Filter Settings Command Example Syntax sys filter netbios disp The filter types and their default settings are as follows NetBIOS Filter Commands 65 ZyWALL 2X and Z yWALL 2XW Chart O 1 NetBIOS Filter Default Settings calls Disabled means that NetBIOS packets are blocked from initiating calls N
28. how much traffic has been sent to and or from those IP addresses Computers take turns using dynamically assigned LAN IP addresses The ZyWALL continues recording the bytes sent to or from a LAN IP address when it is assigned to a different computer Type LAN IP Address Stop Collection IP Address Figure 18 6 LAN IP Address Report Example Table 18 6 Protocol Port Report LABEL DESCRIPTION IP Address This column lists the LAN IP addresses to and or from which the most traffic has been sent The LAN IP addresses are listed in descending order with the LAN IP address to and or from which the most traffic was sent listed first Amount This column displays how much traffic has gone to and from the listed LAN IP addresses The measurement unit shown bytes Kbytes Mbytes or Gbytes varies with the amount of traffic sent to and from the LAN IP address The count starts over at O if the total traffic sent to and from a LAN IP passes the bytes count limit see Table 18 7 Centralized Logs 18 11 ZyWALL 2X and ZyWALL 2XW 18 4 4 Reports Specifications The following table lists detailed specifications on the reports feature Table 18 7 Reports Specifications LABEL DESCRIPTION Number of web 20 sites protocols or ports IP addresses listed Hit count limit Up to 277 hits can be counted per web site The count starts over at O if it passes four billion Bytes co
29. i Games 10 1 MB 1 Qi Muttlanguage Support 00MB v Space used by installed components 424 MB Space required 0 0MB Space available on disk 866 3 MB Description Includes accessories to help you connect to other computers and online services 5 of 10 components selected Details and Play check box in the Components selection box Click OK to go back to the Add Remove Programs Properties window and click Next Restart the computer when prompted To install a component select the check box next to the component name or clear the check box if you do not want to install it A shaded box means that only part of the component will be installed To see what s included in a component click Details Components M di NetMeeting M amp Phone Dialer 0 2 MB Universal Plug and Da 0 4 MB O GA Virtual Private Networking 0 0 MB E Space used by installed components 424 MB Space required 0 0 MB Space available on disk 866 3 MB Description Universal Plug and Play enables seamless connectivity and communication between Windows and intelligent appliances Details J Conc Installing UPnP in Windows XP Follow the steps below to install the UPnP in Windows ME Click start and Control Panel Double click Network Connections In the Network Connections window click Advanced in the main menu and select Optional Networking Components The Windows Optional Networking Components
30. 27 19 ZyWALL 2X and ZyWALL 2XW Table 27 8 Advanced IKE VPN Rule Setup LABEL DESCRIPTION You must choose a key group for phase 1 IKE setup DH1 default refers to Diffie Key Group Hellman Group 1 a 768 bit random number DH2 refers to Diffie Hellman Group 2 a 1024 bit 1Kb random number Type your pre shared key in this field A pre shared key identifies a communicating party during a phase 1 IKE negotiation It is called pre shared because you have to share it with another party before you can communicate with them over a secure connection Pre Shared Key Use up to 31 case sensitive ASCII characters or 62 case insensitive hexadecimal 0 9 A F characters preceded by Ox for example 0x123456789ABCDEF Both ends of the VPN tunnel must use the same pre shared key You will receive a PYLD_MALFORMED payload malformed packet if the same pre shared key is not used on both ends A phase 2 exchange uses the IKE SA established in phase 1 to negotiate the SA for Select Tunnel mode or Transport mode from the drop down list box The ZyWALL s Encapsulation Mode encapsulation mode should be identical to the secure remote gateway Select ESP or AH from the drop down list box The ZyWALL s IPSec Protocol should be identical to the secure remote gateway The ESP Encapsulation Security Payload protocol RFC 2406 provides encryption as well as the authentication offered by AH If you select ESP here you must select
31. Celsius 104 Fahrenheit Care must be taken to allow sufficient air circulation or space between units when the ZyWALL is installed inside a closed rack assembly The operating ambient temperature of the rack environment might be greater than room temperature Installation in a rack without sufficient airflow can be unsafe Racks should safely support the combined weight of all equipment The connections and equipment that supply power to the ZyWALL should be capable of operating safely with the maximum power requirements of the ZyWALL In case of a power overload the supply circuits and supply wiring should not become hazardous The input rating of the ZyWALL is printed on the nameplate The power cord or power adaptor must plug in to the right supply voltage 1 e 110VAC for North America and 230VAC for Europe Make sure that the supplied AC voltage is correct and stable Installation in restricted access areas must comply with Articles 110 16 110 17 and 110 18 of the National Electrical Code ANSI NFPA 70 Do not allow anything to rest on the power cord and do not locate the product where anyone can walk on the power cord Do not service the product by yourself Opening or removing covers can expose you to dangerous high voltage points or other risks Refer all servicing to qualified service personnel Generally when installed after the final configuration the product must comply with the applicable safety standards and regulat
32. Domain Name Servers Optional IP Address 192 168 11 12 168 95 1 1 Provided by DHCP Server Subnet Mask 255 255 254 0 Router 192 168 10 11 Search Domains Optional DHCP Client ID Optional Example apple com earthlink net Ethernet Address 00 05 02 43 93 ff d Click the lock to prevent further changes 3 For dynamically assigned settings select Using DHCP from the Configure list 4 For statically assigned settings do the following From the Configure box select Manually Type your IP address in the IP Address box Type your subnet mask in the Subnet mask box Type the IP address of your ZyWALL in the Router address box Click Apply Now and close the window 6 Turn on your ZyWALL and restart your computer if prompted Verifying Your Computer s IP Address Check your TCP IP properties in the Network window Setting Up Your Computer s IP Address 13 ZyWALL 2X and ZyWALL 2XW Appendix B Antennas This appendix provides information about antenna selection and positioning The access points in a wireless LAN send a radio frequency RF signal to the antennas which propagate and capture the RF signal Choosing the right antennas and positioning them properly increases the range and coverage area of a wireless LAN Antenna Characteristics Frequency An antenna in the frequency of 2 4GHz IEEE 802 11b or SGHz IEEE 802 11a is needed to communicate efficiently in a wireless LAN
33. ESSID Extended Service Set IDentification The ESSID identifies the Service Set Wireless the station is to connect to Wireless clients associating to the Access Point must have the same ESSID Enter a descriptive name up to 32 characters for the wireless LAN 7 12 LAN Setup ZyWALL 2X and ZyWALL 2XW Table 7 6 Wireless LAN Setup Menu Fields FIELD DESCRIPTION EXAMPLE Hide ESSID Press SPACE BAR to select Yes to hide the ESSID in the outgoing No beacon frame so a station cannot obtain the ESSID through passive default scanning Channel ID This allows you to set the operating frequency channel depending on your CH01 2412 particular region Use the SPACE BAR to select a channel MHz e CH01 2412 MHz CHO2 2417 MHz CH11 2462 MHz North America FCC e CH01 2412 MHz CHO2 2417 MHz CH13 2472 MHz Europe CE ETSI e CH01 2412 MHz CHO2 2417 MHz Ch14 2484 MHz Japan e CH10 2457 MHz CH11 2462 MHz Spain CH10 2457 MHz CH11 2462 MHz CH13 2472 MHz France RTS Ee To Send The threshold number of bytes for enabling RTS CTS 2432 Threshold handshake Data with its frame size larger than this value will perform the default RTS CTS handshake Setting this attribute to be larger than the maximum MSDU MAC service data unit size turns off the RTS CTS handshake Setting this attribute to zero turns on the RTS CTS handshake Enter a value between 0 and 2432 Frag The threshold number of
34. End Enter the ending local IP address ILA If the rule is for all local IPs then N A put the Start IP as 0 0 0 0 and the End IP as 255 255 255 255 This field is N A for One to One and Server types Global IP Start Enter the starting global IP address IGA If you have a dynamic IP enter 0 0 0 0 0 0 0 0 as the Global IP Start Note that Global IP Start can be set to 0 0 0 0 only if the types are Many to One or Server End Enter the ending global IP address IGA This field is N A for One to N A One Many to One and Server types Once you have finished configuring a rule in this menu press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC to cancel NAT 12 13 ZyWALL 2X and ZyWALL 2XW 12 4 NAT Server Sets Port Forwarding A NAT server set is a list of inside behind NAT on the LAN servers for example web or FTP that you can make accessible to the outside world even though NAT makes your whole inside network appear as a single machine to the outside world Use Menu 15 NAT Setup to forward incoming service requests to the server s on your local network You may enter a single port number or a range of port numbers to be forwarded and the local IP address of the desired server The port number identifies a service for example web service is on port 80 and FTP on port 21 In some cases such as for unknown services or where one server can suppo
35. Figure 27 8 VPN SA Monitor Table 27 10 VPN SA Monitor DESCRIPTION This is the security association index number Name This field displays the identification name for this VPN policy Encapsulation This field displays Tunnel or Transport mode 27 26 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Table 27 10 VPN SA Monitor This field displays the security protocols used for an SA IPSec Algorithm Both AH and ESP increase ZyWALL processing requirements and communications latency delay Click Refresh to display the current active VPN connection s This button is available Refresh 8 A when you have active VPN connections Select a security association index number that you want to disconnect and then click Disconnect This button is available when you have active VPN connections Next Page Click Next Page to view more items in the summary if you have a summary list that if applicable exceeds this page 27 15Global Settings In the web configurator click VPN on the navigation panel and the Global Setting tab Use this screen to allow or block NetBIOS packets in the IPSec tunnels Disconnect Figure 27 9 VPN Global Setting Table 27 11 VPN Global Setting LABEL DESCRIPTION Windows Networking NetBIOS over TCP IP NetBIOS Network Rasic Input Outnut Svstem are TCP or UDP broadcast packets that enable a comnuter VPN IPSec Setup 27 27 ZyWALL 2X and ZyWALL 2XW Table 27
36. IP Address Default Default 80 80 25 25 o QOO DOO OD XO OE EO ooooooooo v o ooooooooolro ooooooooo l oo 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Press ENTER to Confirm or ESC to Cancel Figure 12 20 Example 3 Menu 15 2 12 22 NAT ZyWALL 2X and ZyWALL 2XW 12 5 4 Example 4 NAT Unfriendly Application Programs Some applications do not support NAT Mapping using TCP or UDP port address translation In this case it is better to use Many One to One mapping as port numbers do not change for Many One to One and One to One NAT mapping types The following figure illustrates this Game Player 1 192 168 1 10 Mapping Rules 1 Game Players 1to 3 gt IGAs 1 to 3 Type Many One to One Game Player 2 192 168 1 11 ZyWALL 31GAs 10 132 50 1 IGA 1 10 132 50 2 IGA 2 10 132 50 3 2 IGA 3 Game Player 3 192 168 1 12 Figure 12 21 NAT Example 4 Other applications such as some gaming programs are NAT unfriendly because they embed addressing information in the data stream These applications won t work through NAT even when using One to One and Many One to One mapping types Follow the steps outlined in example 3 above to configure these two menus as follows NAT 12 23 ZyWALL 2X and ZyWALL 2XW Menu 15 1 1 1 Address Mapping Rule Type Many One to One Local IP Start 192 168 1 10 End 192 168 1 12 Global IP Start 10 132 50 1 End 10 132 50 3 Press ENT
37. If a hacker chooses to spoof the source IP address of the ICMP echo request packet the resulting ICMP traffic will not only clog up the intermediary network but will also congest the network of the spoofed source IP address known as the victim network This flood of broadcast traffic consumes all available bandwidth making communications impossible Ping Responses Every host on the Intermediary network responds by sending responses to every host on the victim network Attacker broadcasts ping packets with a spoofed source address to every host on the intermediary network Figure 13 4 Smurf Attack Q ICMP Vulnerability ICMP is an error reporting protocol that works in concert with IP The following ICMP types trigger an alert Table 13 2 ICMP Commands That Trigger Alerts TIMESTAMP_REQUEST TIMESTAMP_REPLY ADDRESS_MASK_REQUEST ADDRESS_MASK_REPLY 13 6 Firewalls ZyWALL 2X and ZyWALL 2XW Q Illegal Commands NetBIOS and SMTP The only legal NetBIOS commands are the following all others are illegal Table 13 3 Legal NetBIOS Commands MESSAGE REQUEST POSITIVE NEGATIVE RETARGET KEEPALIVE All SMTP commands are illegal except for those displayed in the following tables Table 13 4 Legal SMTP Commands jour mr ser Jon seno sow ume vary Q Traceroute Traceroute is a utility used to determine the path a packet takes between two endpoints Sometimes when a packet filter firewall
38. If the LAN and ISP s are in the same subnet the triangle route problem may occur The steps below describe the triangle route problem Step 1 A computer on the LAN initiates a connection by sending out a SYN packet to a receiving server on the WAN Step 2 The ZyWALL reroutes the SYN packet through Gateway B on the LAN to the WAN Step 3 The reply from the WAN goes directly to the computer on the LAN without going through the ZyWALL As a result the ZyWALL resets the connection as the connection has not been acknowledged 16 Triangle Route ZyWALL 2X and ZyWALL 2XW LAN WAN 4 Computer ISP 2 i i 3 SYN ACK d i U B ISP 1 Diagram C 2 Triangle Route Problem The Triangle Route Solutions This section presents you two solutions to the triangle route problem IP Aliasing IP alias allows you to partition your network into logical sections over the same Ethernet interface Your ZyWALL supports up to three logical LAN interfaces with the ZyWALL being the gateway for each logical network By putting your LAN and Gateway B in different subnets all returning network traffic must pass through the ZyWALL to your LAN The following steps describe such a scenario Step 1 A computer on the LAN initiates a connection by sending a SYN packet to a receiving server on the WAN Step 2 The ZyWALL reroutes the packet to Gateway B which is in Subnet 2 Step 3 The reply from WAN goes thr
39. Ifan application needs a continuous data stream that port range will be tied up so that another computer on the LAN can t trigger it Only one LAN computer can use a trigger port range at a time Enter 3 in menu 15 to display Menu 15 3 Trigger Port Setup shown next Menu 15 3 Trigger Port Setup Incoming Trigger Start Port End Port Start Port End Port 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OO Oo O Xu eue ou Press ENTER to Confirm or ESC to Cancel Figure 12 25 Menu 15 3 Trigger Port Setup 12 26 NAT ZyWALL 2X and ZyWALL 2XW Table 12 8 Menu 15 3 Trigger Port Setup Description FIELD DESCRIPTION EXAMPLE Rule This is the rule index number 1 Name Enter a unique name for identification purposes You may enter up to 15 Real Audio characters in this field All characters are permitted including spaces Incoming Incoming is a port or a range of ports that a server on the WAN uses when it sends out a particular service The ZyWALL forwards the traffic with this port or range of ports to the client computer on the LAN that requested the service Start Port Enter a port number or the starting port number in a range of port numbers 6970 End Port Enter a port number or the ending port number in a range of port numbers 7170 Trigger The trigger port is a port or a range of ports that causes or triggers the ZyWALL to record the IP address of
40. See section 8 3 for instructions on WEP and section 8 6 for instructions on configuring the MAC address filter If you are configuring the ZyWALL from a computer connected to the wireless LAN and you change the ZyWALL s ESSID or WEP settings you will lose your wireless connection when you press ENTER to confirm You must then change the wireless settings of your computer to match the ZyWALL s new settings From the main menu enter 3 to open Menu 3 LAN Setup to configure the Wireless LAN setup To edit the wireless LAN configuration enter 5 to open Menu 3 5 Wireless LAN Setup as shown next Menu 3 5 Wireless LAN Setup Enable Wireless LAN No ESSID Wireless Hide ESSID No Channel ID CHO1 2412MHz RTS Threshold 2432 Frag Threshold 2432 WEP Disable Default Key N A Keyl N A Key2 N A Key3 N A Key4 N A Edit MAC Address Filter No Figure 7 9 Menu 3 5 Wireless LAN Setup The settings of all client stations on the wireless LAN must match those of the ZyWALL Follow the instructions in the next table on how to configure the wireless LAN parameters Table 7 6 Wireless LAN Setup Menu Fields FIELD DESCRIPTION EXAMPLE Enable Press SPACE BAR to select Yes to turn on the wireless LAN The No Wireless LAN wireless LAN is off by default Configure wireless LAN security features default such as Mac filters and 802 1X before you turn on the wireless LAN see Chapter 8
41. System Maintenance Step 3 Enter command sys stdio 0 to disable the SMT timeout so the TFTP transfer will not be interrupted Enter command sys stdio 5 to restore the five minute SMT timeout default when the file transfer is complete Step 4 Launch the TFTP client on your computer and connect to the ZyWALL Set the transfer mode to binary before starting data transfer Step 5 Use the TFTP client see the example below to transfer files between the ZyWALL and the computer The file name for the configuration file is rom 0 rom zero not capital o Note that the telnet connection must be active and the SMT in CI mode before and during the TFTP transfer For details on TFTP commands see following example please consult the documentation of your TFTP chent program For UNIX use get to transfer from the ZyWALL to the computer and binary to set binary transfer mode Firmware and Configuration File Maintenance 22 5 ZyWALL 2X and ZyWALL 2XW 22 2 7 TFTP Command Example The following is an example TFTP command tftp i host get rom 0 config rom Where i specifies binary image transfer mode use this mode when transferring binary files host is the ZyWALL IP address get transfers the file source on the ZyWALL rom 0 name of the configuration file on the ZyWALL to the file destination on the computer and renames it config rom 22 2 8 GUI based TFTP Clients The following table de
42. System Maintenance and Information and Remote Management Part VII System Maintenance and Information and Remote Management This part provides information on the system maintenance and information functions and how to i configure remote management VII ZyWALL 2X and ZyWALL 2XW Chapter 23 oystem Maintenance amp Information This chapter leads you through SMT menus 24 8 to 24 10 23 1 Command Interpreter Mode The Command Interpreter CI is a part of the main router firmware The CI provides much of the same functionality as the SMT while adding some low level setup and diagnostic functions Enter the CI from the SMT by selecting menu 24 8 Access can be by Telnet or by a serial connection to the console port although some commands are only available with a serial connection See the included disk or zyxel com for more detailed information on CI commands Enter 8 from Menu 24 System Maintenance Type exit to return to the SMT main menu when finished Use of undocumented commands or misconfiguration can damage the unit and possibly render it unusable Menu 24 System Maintenance System Status System Information and Console Port Speed Log and Trace Diagnostic Backup Configuration Restore Configuration 8 Command Interpreter Mode 9 Ca Ontro 10 Time and Date Setting 11 Remote Management Setup Enter Menu Selection Number Figure 23 1 Command Mode in Menu 24
43. You can apply up to four schedule sets separated by commas for one remote node Change the schedule set numbers to your preference s 25 4 Call Scheduling ZyWALL 2X and ZyWALL 2XW Menu 11 1 Remote Node Profile Rem Node Name ChangeMe Active Yes Encapsulation PPTP Service Type Standard Service Name N A Outgoing My Login My Password x Retype to Confirm Authen CHAP PAP PPTP My IP Addr My IP Mask Server IP Addr Connection ID Name Route IP Edit IP No Telco Option Allocated Budget min 0 Period hr 0 Schedules 1 2 3 4 Nailed up Connedtions Session Options Edit Filter Sets No Idle Timeout sech 100 Edit Traffic Redired Apply your schedule sets here Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 25 4 Applying Schedule Set s to a Remote Node PPTP Call Scheduling 25 5 ZyWALL 2X and ZyWALL 2XW Chapter 26 Introduction to IPSec This chapter introduces the basics of IPSec VPNs 26 1 VPN Overview A VPN Virtual Private Network provides secure communications between sites without the expense of leased site to site lines A secure VPN is a combination of tunneling encryption authentication access control and auditing technologies services used to transport traffic over the Internet or any insecure network that uses the TCP IP protocol suite for communication 26 1 1 IPSec Internet Protocol Security IPSe
44. as opposed to all the way to the ISP However the PPP negotiation is between the PC and the ISP ZyWALL as a PPPoE Client When using the ZyWALL as a PPPoE client the PCs on the LAN see only Ethernet and are not aware of PPPoE This alleviates the administrator from having to manage the PPPoE clients on the individual PCs Access Concentrator Diagram G 2 ZyWALL as a PPPoE Client 28 PPPoE ZyWALL 2X and ZyWALL 2XW Appendix H PPTP What is PPTP PPTP Point to Point Tunneling Protocol is a Microsoft proprietary protocol RFC 2637 for PPTP is informational only to tunnel PPP frames How can we transport PPP frames from a PC to a broadband modem over Ethernet A solution is to build PPTP into the ANT ADSL Network Termination where PPTP is used only over the short haul between the PC and the modem over Ethernet For the rest of the connection the PPP frames are transported with PPP over AALS RFC 2364 The PPP connection however is still between the PC and the ISP The various connections in this setup are depicted in the following diagram The drawback of this solution is that it requires one separate ATM VC per destination ATM over amp DSL PP TP RF C 2354 PPP Diagram H 1 Transport PPP frames over Ethernet PPTP and the ZyWALL When the ZyWALL is deployed in such a setup it appears as a PC to the ANT In Windows VPN or PPTP Pass Through feature the PPTP tunneling is created from Windows 95
45. atgo to restart the router 4 8 Introducing the SMT ZyWALL 2X and ZyWALL 2XW 4 5 2 Procedure To Use The Reset Button Make sure the PWR LED ZyWALL 2X or SYS LED ZyWALL 2XW is on not blinking before you begin this procedure Step 1 Step 2 Step 3 Step 4 Step 5 Press the RESET button for ten seconds and then release it If the SYS LED begins to blink the defaults have been restored and the ZyWALL restarts Otherwise go to step 2 Turn the ZyWALL off While pressing the RESET button turn the ZyWALL on Continue to hold the RESET button The SYS LED will begin to blink and flicker very quickly after about 10 or 15 seconds This indicates that the defaults have been restored and the ZyWALL is now restarting Release the RESET button and wait for the ZyWALL to finish restarting Introducing the SMT 4 9 ZyWALL 2X and ZyWALL 2XW Chapter 5 SMT Menu 1 General Setup Menu 1 General Setup contains administrative and system related information 5 1 Introduction to General Setup Menu 1 General Setup contains administrative and system related information Use the instructions in this chapter to configure identification and dynamic DNS for your ZyWALL 5 2 System Name System Name is for identification purposes ZyXEL recommends you enter your computer s Computer name e In Windows 95 98 click Start gt Settings gt Control Panel and then double click Network Click the Identificati
46. bytes of data allowed by the IP specification The oversize packet is then sent to an unsuspecting system Systems may crash hang or reboot 1 b Teardrop attack exploits weaknesses in the reassembly of IP packet fragments As data is transmitted through a network IP packets are often broken up into smaller chunks Each fragment looks like the original IP packet except that it contains an offset field that says for instance This fragment is carrying bytes 200 through 400 of the original non fragmented IP packet The Teardrop program creates a series of IP fragments with overlapping offset fields When these fragments are reassembled at the destination some systems will crash hang or reboot 2 Weaknesses in the TCP IP specification leave it open to SYN Flood and LAND attacks These attacks are executed during the handshake that initiates a communication session between two applications 13 4 Firewalls ZyWALL 2X and ZyWALL 2XW Client Server PONa ACK o Figure 13 2 Three Way Handshake Under normal circumstances the application that initiates a session sends a SYN synchronize packet to the receiving server The receiver sends back an ACK acknowledgment packet and its own SYN and then the initiator responds with an ACK acknowledgment After this handshake a connection is established 2 a SYN Attack floods a targeted system with a series of SYN packets Each packet causes the t
47. translates the local management information from the managed device into a form compatible with SNMP The manager is the console through which network administrators perform network management functions It executes applications that control and monitor managed devices The managed devices contain object variables managed objects that define each piece of information to be collected about a device Examples of variables include such as number of packets received node port status etc A Management Information Base MIB is a collection of managed objects SNMP allows a manager and agents to communicate for the purpose of accessing these objects SNMP itself is a simple request response protocol based on the manager agent model The manager issues a request and the agent returns responses using the following protocol operations e Get Allows the manager to retrieve an object variable from the agent 20 2 SNMP Configuration ZyWALL 2X and ZyWALL 2XW e GetNext Allows the manager to retrieve the next object variable from a table or list within an agent In SNMPvI when a manager wants to retrieve all elements of a table from an agent it initiates a Get operation followed by a series of GetNext operations e Set Allows the manager to set values for object variables within an agent e Trap Used by the agent to inform the manager of some events 20 2 Supported MIBs The ZyWALL supports MIB II that is defined in RFC 1213 and RF
48. 1 FIELD DESCRIPTION EXAMPLE Rem Node Enter a descriptive name for the remote node This field can be up LAoffice Name to eight characters Active Press SPACE BAR and then ENTER to select Yes activate Yes remote node or No deactivate remote node Encapsulation Ethernet is the default encapsulation Press SPACE BAR and then Ethernet ENTER to change to PPPoE or PPTP encapsulation 10 2 Remote Node Setup ZyWALL 2X and ZyWALL 2XW Table 10 1 Fields in Menu 11 1 FIELD DESCRIPTION EXAMPLE Service Type Press SPACE BAR and then ENTER to select from Standard Standard RR Toshiba RoadRunner Toshiba authentication method or RR Manager RoadRunner Manager authentication method Choose one of the RoadRunner methods if your ISP is Time Warner s RoadRunner otherwise choose Standard Service Name If you are using PPPoE encapsulation then type the name of your poellc PPPOE service here Only valid with PPPoE encapsulation Outgoing My Login This field is applicable for PPPoE encapsulation only Enter the jim login name assigned by your ISP when the ZyWALL calls this remote node Some ISPs append this field to the Service Name field above e g jim poellc to access the PPPoE server kkkkk My Password Enter the password assigned by your ISP when the ZyWALL calls this remote node Valid for PPPoE encapsulation only kkkkk Retype to Type your password again
49. 13 Step 5 Press ENTER to confirm after you enter the set numbers and to leave menu 11 5 Filter Configuration 19 15 ZyWALL 2X and ZyWALL 2XW 19 4 Filter Types and SUA NAT There are two classes of filter rules Generic Filter Device rules and protocol filter TCP IP rules Generic filter rules act on the raw data from to LAN and WAN Protocol filter rules act on the IP packets Generic and TCP IP filter rules are discussed in more detail in the next section When SUA NAT is enabled the inside IP address and port number are replaced on a connection by connection basis which makes it impossible to know the exact address and port on the wire Therefore the ZyWALL applies the protocol filters to the native IP address and port number before NAT for outgoing packets and after NAT for incoming packets On the other hand the generic or device filters are applied to the raw packets that appear on the wire They are applied at the point when the ZyWALL is receiving and sending the packets i e the interface The interface can be an Ethernet port or any other hardware port The following diagram illustrates this Figure 19 11 Protocol and Device Filter Sets 19 5 Firewall Versus Filters Firewall configuration is discussed in the firewall chapters of this manual Further comparisons are also made between filtering SUA NAT and the firewall 19 16 Filter Configuration ZyWALL 2X and ZyWALL 2XW 19 6 Applying a
50. 15 Information Request 0 Information request message 16 Information Reply 0 Information reply message Chart Q 9 Sys log LOG MESSAGE DESCRIPTION Mon dd hr mm ss hostname This message is sent by the RAS when this syslog is src srcIP srcPort generated The messages and notes are defined in this dst lt dstIP dstPort gt appendix s other charts msg msg note lt note gt VPN IPSec logs To view the IPSec and IKE connection log type 3 in menu 27 and press ENTER to display the IPSec log as shown next The following figure shows a typical log from the initiator of a VPN connection 80 Log Descriptions ZyWALL 2X and ZyWALL 2XW Index Date Time Main Mode request to lt 192 168 100 101 gt 2 lt SA gt lt SA gt 1 lt KE gt lt NONCE gt lt KE gt lt NONCE gt lt ID gt lt HASH gt lt ID gt lt HASH gt Phase 1 IKE SA process done Start Phase 2 Quick Mode Send lt HASH gt lt SA gt lt NONCE gt lt ID gt lt ID gt Recv lt HASH gt lt SA gt lt NONCE gt lt ID gt lt ID gt 01 Jan DER Send HASH Clear IPSec Log y n 0 0 0 0 0 0 0 0 0 0 0 Diagram Q 1 Example VPN Initiator IPSec Log VPN Responder IPSec Log The following figure shows a typical log from the VPN connection peer Index Date Time Main Mode request from lt 192 168 100 100 gt lt SA gt 2 lt SA gt lt KE gt lt NONCE gt lt KE gt lt NONCE gt
51. 2 Enter atlc after Enter Debug Mode message 3 Wait for Starting XMODEM upload message before activating Xmodem upload on your terminal 4 After successful firmware upload enter atgo to restart the system Warning Proceeding with the upload will erase the current configuration file 2 The system s console port speed Menu 24 2 2 may change when it is restarted please adjust your terminal s speed accordingly The password may change menu 23 also 3 When uploading the DEFAULT configuration file the console port speed will be reset to 9600 bps and the password to 1234 Do You Wish To Proceed Y N Figure 22 18 Menu 24 7 2 as seen using the Console Port Step 2 After the Starting Xmodem upload message appears activate the Xmodem protocol on your computer Follow the procedure as shown previously for the HyperTerminal program The procedure for other serial communications programs should be similar Step 3 Enter atgo to restart the ZyWALL 22 4 11 Example Xmodem Configuration Upload Using HyperTerminal Click Transfer then Send File to display the following screen Firmware and Configuration File Maintenance 22 17 ZyWALL 2X and ZyWALL 2XW Send File H Ba C Product config rom Figure 22 19 Example Xmodem Upload After the configuration upload process has completed restart the ZyWALL by entering atgo 22 18 Firmware and Configuration File Maintenance
52. 2 Packet triggered Packet triggered Message Format SdemdSyslogSend SYSLOG PKTTRI SYSLOG NOTICE String String Packet trigger Protocol xx Data XXXXXXXXXX X Protocol 1 1P 2 IPX 3 IPXHC 4 BPDU 5 ATALK 6 IPNG Data We will send forty eight Hex characters to the server Jul 19 11 28 39 192 168 102 2 ZyXEL Packet Trigger Protocol 1 Data 4500003c100100001 010004c0a86614ca849a7008004a5c020001006162636465666768696a6b56c6d6e6 707172 7374 Jul 19 11 28 56 192 168 102 2 ZyXEL Packet Trigger Protocol 1 Data 4500002c1b0140001 06b50ec0a86614ca84 9a7b0427001700195b3e00000000600220008cd40000020405b4 Jul 19 11 29 06 192 168 102 2 ZyXEL Packet Trigger Protocol 1 Data 45000028240140001 06ac12c0a86614ca84 9a7b0427001700195b451d1430135004000077600000 3 Filter log Filter log Message Format SdemdSyslogSend SYSLOG FILLOG SYSLOG NOTICE String String IP Src xx xx xx xx Dst xx xx xx xx prot spo xxxx dpo xxxx S04 gt R01mD IP is the packet header and S04 gt RO1lmD means filter set 4 S and rule 1 R match m drop D Src Source Address Dst Destination Address prot Protocol TCP UDP ICMP Spo Source port dpo Destination port Mar 03 10 39 43 202 132 155 97 ZyXEL GEN fffffffffffnordff0080 S05 RO1mF Mar 03 10 41 29 202 132 155 97 ZyXEL GEN 00a0c5f 502f nord010080 S05 gt R01mF Mar 03 10 41 34 202 132 155 97 ZyXEL IP Src 192 168 2 33 Dst 202 132 155 93 ICMP S04 RO1mF Mar 03 11 5
53. 3 4 d UP IIIJ 12VDC CON AUX CON AUX RESET L LAN 10 100M WAN 10 100M Figure 2 4 ZyWALL 2X Rear Panel 2 5 Hardware Connections This section outlines how to connect your ZyWALL If you want to connect a cable modem you must connect the coaxial cable from your cable service to the threaded coaxial cable connector on the back of the Hardware Installation 2 3 ZyWALL 2X and ZyWALL 2XW cable modem Connect a DSL modem to the DSL wall jack See the Safety Warnings and Instructions Appendix for safety instructions when making connections to the ZyWALL 2 5 1 Connecting a Broadband Modem to the WAN Port You need a cable DSL wireless modem and an ISP account Connecting the ZyWALL to a cable modem Connect the port labeled WAN on the ZyWALL to the Ethernet port on the cable modem using the Ethernet cable that came with your cable modem The Ethernet port on a cable modem is sometimes labeled PC or Workstation gt Connecting the ZyWALL to a DSL modem Connect the port labeled WAN on the ZyWALL to the Ethernet port on the DSL modem using the Ethernet cable that came with your DSL modem Connecting the ZyWALL to a wireless modem Connect the port labeled WAN on the ZyWALL to the Ethernet port on the wireless modem using the Ethernet cable that came with your wireless modem 2 5 2 Connecting the Console Port Use terminal emulator software on a computer for configuring your ZyWALL via conso
54. 6 INCOMING uc RENE 7 9 Request to Send protocol 7 11 OULSOING ute eerie eerte 7 9 Required fields 4 2 Protocol Port eee 18 8 18 9 Reset Button nennen DINI 1 2 Q Resetting the Time sse 23 6 Quick Start Guide 3 1 Restore Configuration sss 22 8 R Return Material Authorization Number v RADIUS cete titii 1 3 8 4 Reverse SMA connectors sseseseseesessesesesessee 2 5 Shared Secret Key 8 5 RF signals dae thue 21 RADIUS Message Tvpes 8 4 RIB aene 7 4 7 7 7 8 7 9 10 8 RADIUS Server Direction uertit 7 9 Configure eee 8 6 8 8 M ttes erte AXI 7 9 10 8 Read Me Eet xxvii RoadRunner Support 1 5 Rear Panel atate tom oe PRESS 2 3 Route cct te PERPE VAR 10 3 Related Documentation sss xxvii RITS sane deos See Request to Send Kelten echte es arce 7 7 RS Threshold sie Ree 7 10 Rem Node Name 10 2 RTS CTS handshake A 7 13 Remote Authentication Dial In User Service See Rule Summary sss 16 5 16 20 SADUS Klee sterben deeg entes Se 16 1 16 4 Eege iiie Ae Checklist etr tenete t 16 2 Firewall denen 14 1 EN ume rage 16 1 M ees d Key Fields ose enar 16 3 Een E DANG WAN geg 16 3 SE SC ebe 162 Profile Finde Redmect eessen els Predefined Services 16 7 Remote Node Filter sess 10 9 EE EE 16 13 Rep its eise i ees V enr E 16 5 Replacement sese V H Index
55. 65535 Some of Local Port Start the most common IP ports are 21 FTP 53 DNS 23 Telnet 80 HTTP 25 SMTP 110 POP3 Enter a port number in this field to define a port range This port number must be Local Port End greater than that specified in the previous field or equal to it for configuring an individual port VPN IPSec Setup 27 23 ZyWALL 2X and ZyWALL 2XW Table 27 9 Manual IKE VPN Rule Setup Enter the beginning static IP address in a range of computers behind the remote secure gateway This address should be specific to the remote computer using the VPN tunnel If you wish to configure the tunnel for a single IP address enter it in this field and again in the Remote Address End field Remote Address Start Enter the end static IP address in a range of computers on behind the remote Remote Address secure gateway This address should be specific to the remote computer using the End Mask VPN tunnel If you wish to configure the tunnel for a single IP address enter it in both the Remote Address Start field and here 0 is the default and signifies any port Type a port number from 0 to 65535 Some of Remote Port Start the most common IP ports are 21 FTP 53 DNS 23 Telnet 80 HTTP 25 SMTP 110 POP3 Enter a port number in this field to define a port range This port number must be Remote Port End greater than that specified in the previous field or equal to it for configuring an individual port Ente
56. 98 and NT clients to an NT server in a remote location The pass through feature allows users on the network to access a different remote server using the ZyWALL s Internet connection In SUA NAT mode the ZyWALL is able to pass the PPTP packets to the internal PPTP server i e NT server behind the NAT You need to configure port forwarding for port 1723 to have the ZyWALL forward PPTP packets to the server In the case above as the remote PPTP Client initializes the PPTP connection the user must configure the PPTP clients The ZyWALL initializes the PPTP connection hence there is no need to configure the remote PPTP clients PPTP 29 ZyWALL 2X and ZyWALL 2XW PPTP Protocol Overview PPTP is very similar to L2TP since L2TP is based on both PPTP and L2F Cisco s Layer 2 Forwarding Conceptually there are three parties in PPTP namely the PNS PPTP Network Server the PAC PPTP Access Concentrator and the PPTP user The PNS is the box that hosts both the PPP and the PPTP stacks and forms one end of the PPTP tunnel The PAC is the box that dials answers the phone calls and relays the PPP frames to the PNS The PPTP user is not necessarily a PPP client can be a PPP server too Both the PNS and the PAC must have IP connectivity however the PAC must in addition have dial up capability The phone call is between the user and the PAC and the PAC tunnels the PPP frames to the PNS The PPTP user is unaware of the tunnel between the PAC and the
57. Basic IKE VPN Rule Setup Type your pre shared key in this field A pre shared key identifies a communicating party during a phase 1 IKE negotiation It is called pre shared because you have to share it with another party before you can communicate with them over a secure connection Pre Shared Key Use up to 31 case sensitive ASCII characters or 62 case insensitive hexadecimal O 9 A F characters preceded by Ox for example 0x123456789ABCDEF Both ends of the VPN tunnel must use the same pre shared key You will receive a PYLD MALFORMED payload malformed packet if the same pre shared key is not used on both ends Select DES 3DES or NULL from the drop down list box When DES is used for data communications both sender and receiver must know the same secret key which can be used to encrypt and decrypt the message or to Encryption Algorithm generate and verify a message authentication code The DES encryption algorithm uses a 56 bit key Triple DES 3DES is a variation on DES that uses a 168 bit key As a result 3DES is more secure than DES It also requires more processing power resulting in increased latency and decreased throughput Select NULL to set up a tunnel without encryption When you select NULL you do not enter an encryption key Select SHA1 or MD5 from the drop down list box MD5 Message Digest 5 and SHA1 Authentication Secure Hash Algorithm are hash algorithms used to authenticate packet data The Algor
58. DROP set d rule d Access matched the listed filter rule denied LAN IP and the ZyWALL dropped the packet to block access Filter match FORWARD set d rule d TCP access matched the listed filter rule Access was allowed and the router forwarded the packet Filter match FORWARD set d rule d UDP access matched the listed filter rule Access was allowed and the router forwarded the packet Filter match FORWARD set d rule d ICMP access matched the listed filter rule Access was allowed and the router forwarded the packet Filter match FORWARD set d rule d Access matched the listed filter rule Access was allowed and the router forwarded the packet Filter match FORWARD set d rule d Access matched the listed filter rule denied LAN IP Access was allowed and the router forwarded the packet set d With firewall messages this is the number of the ACL policy set and denotes the packet s direction see Chart Q 7 With filter messages this is the number of the filter set rule d With firewall messages the firewall rule number denotes the number of a firewall rule within an ACL policy set With filter messages this is the number of an individual filter rule Router sent blocked web site messag A message was sent to notify a user that the router blocked access to a requested web site Triangl forwarded route packet
59. ILA Inside Global Addresses IGA Assigned by ISP Inside Server IP 192 168 1 10 Figure 12 14 NAT Example 2 In this case you do exactly as above use the convenient pre configured SUA Only set and also go to menu 15 2 to specify the Inside Server behind the NAT as shown in the next figure 12 18 NAT ZyWALL 2X and ZyWALL 2XW Menu 15 2 NAT Server Setup Default Default 2 0 0 0 0 0 0 0 0 0 0 0 Oooooooooo OOooooooooo Oooooooooooce Ooooooooooooc e Press ENTER to Confirm or ESC to Cancel Figure 12 15 Menu 15 2 Specifying an Inside Server 12 5 3 Example 3 Multiple Public IP Addresses With Inside Servers In this example there are 3 IGAs from our ISP There are many departments but two have their own FTP server All departments share the same router The example will reserve one IGA for each department with an FTP server and all departments use the other IGA Map the FTP servers to the first two IGAs and the other LAN traffic to the remaining IGA Map the third IGA to an inside web server and mail server Four rules need to be configured two bi directional and two uni directional as follows Rule 1 Map the first IGA to the first inside FTP server for FTP traffic in both directions 1 1 mapping giving both local and global IP addresses Rule 2 Map the second IGA to our second inside FTP server for FTP traffic in both directions 1 1 mapping giving both local and global IP ad
60. Internet Gateway Network Tasks Create a new connection Set up a home or small office network Disable this network device Wl Rename this connection View status of this connection E Change settings of this connection Step 4 You may edit or delete the port mappings or click Add to manually add port mappings Disable LAN or H Status 3 Create Shortcut CC Au Rename Properties Advanced Settings Senice Selec the services unnig on pou eis that Inlemet ue can aen Services m msrasos 132 1681 GS GET8 16609 TCF memnege 192 168 1 85 9853 270111 UDP v mimg 192 166 1 017281 26007 UDP v mms 192 168 1 81 7810 31 711 TCP Service Settings Description of service Test Name or IP address for example 192 168 0 12 of the computer hosting this service on your network 192 168 1 11 External Port number for this service 143 TEP C UDP Internal Port number for this service 13 Cancel UPnP 41 ZyWALL 2X and ZyWALL 2XW When the UPnP enabled device is disconnected from your computer all port mappings will be deleted automatically Step 5 Step 6 Select Show icon in notification area when connected option and click OK An icon displays in the system tray Double click the icon to display your current Internet connection status Web Configurator Easy Access With UPnP you can access the web based configurator on th
61. Logs 18 9 ZyWALL 2X and ZyWALL 2XW View Log Log Settings Reports Report Type Protocol Port DI Stop Collection Refresh Protocol Port rs 1026 1 HTTP TCP 80 Kbytes NETBIOS Bi P TCP 139 131532 bytes IDNS P KTCP UDE 53 ios eub WW 4 FTP TCP 20 21 14467 bytes 5 FTPTCP2021 13879 bytes D POP3 TCP 11 0 2745 bytes ICMP ES f Protocol 1 E GA g SNMP 1324 bytes _ TCP UDP 161 Figure 18 5 Protocol Port Report Example Table 18 5 Protocol Port Report LABEL DESCRIPTION Protocol Port This column lists the protocols or service ports for which the most traffic has gone through the ZyWALL The protocols or service ports are listed in descending order with the most used protocol or service port listed first Amount This column lists how much traffic has been sent and or received for each protocol or service port The measurement unit shown bytes Kbytes Mbytes or Gbytes varies with the amount of traffic for the particular protocol or service port The count starts over at 0 if a protocol or port passes the bytes count limit see Table 18 7 18 10 Centralized Logs ZyWALL 2X and ZyWALL 2XW 18 4 3 LAN IP Address In the Reports screen select LAN IP Address from the Report Type drop down list box to have the ZyWALL record and display the LAN IP addresses that the most traffic has been sent to and or from and
62. My IP ee 27 2 27 4 Secure Gateway Address eedem e GRE Ie PER EE Ene Es 27 2 27 el ur e ee EE tm de die ete BUG I nde t ient 27 3 27 6 Keep Alive aec BAR SERRA a e Ie Rd QU ER ede dus 27 4 27 7 NAT Traversal prioni n E REE A A A dbsca eh cevess 27 5 27 8 ID Type and Content EE 27 5 27 9 Configuring Basic IKE VPN Rule Setup sees 27 7 24 10 H ENEE 27 12 27 11 Configuring Advanced IKE Senn 27 14 27 12 Manual K y Setup CERERI NER UTR IE ETRAS DENS 27 21 27 13 Configuring Edit Manual Setup ssssssssssssssesseseeene ener 27 21 DANA CSANMMODIORS siccata imei id Cete b ode inte 27 25 2715 Global Settings 55e RGA RAR HAR aA dens RG GE ENS QR EE 27 27 27 16 Telecommuter VPN IPSec Examples cccccecsseessessceseceseceseceseceecseecseeeneceeeseeeeneeneeeeeeees 27 28 Troubleshooting EE IX Chapter 28 Troubleshooting eerie esee eene eee ettet ntn ntn n tns ta seta seta stes sts sensns ense tuse osses vesiis 28 1 Table of Contents xiii ZyWALL 2X and ZyWALL 2XW 23 1 Problems Starting Up the ZYWALL sessi 28 1 28 1 Problems with a LAN Interface cette terere ENEE 28 2 28 2 Problems with the WAN Interface eene eere 28 2 28 3 Problems with Internet Access 28 3 23 2 Problems with the Password intesa RE e dt t e tta 28 3 28 4 Problems with Remote Management 28 3 General Appendices ssiwvesccssssesssccstevssssecadveddeseescvise sotvescosaessveesuaues
63. NAT never changes the IP address either local or global of an outside host 12 1 2 What NAT Does In the simplest form NAT changes the source IP address in a packet received from a subscriber the inside local address to another the inside global address before forwarding the packet to the WAN side When the response comes back NAT translates the destination address the inside global address back to the inside local address before forwarding it to the original inside host Note that the IP address either local or global of an outside host is never changed The global IP addresses for the inside hosts can be either static or dynamically assigned by the ISP In addition you can designate servers for example a web server and a telnet server on your local network and make them accessible to the outside world If you do not define any servers for Many to One and Many to Many Overload mapping see Table 12 2 NAT offers the additional benefit of firewall protection With no servers defined your ZyWALL filters out all incoming inquiries thus preventing intruders from probing your network For more information on IP address translation refer to RFC 1631 The IP Network Address Translator NAT 12 1 3 How NAT Works Each packet has two addresses a source address and a destination address For outgoing packets the ILA Inside Local Address is the source address on the LAN and the IGA Inside Global Address is the source address
64. P 00 00 02 Time calibration failed Figure 18 1 View Log Table 18 1 View Log LABEL DESCRIPTION Display The categories that you select in the Log Settings page see section 18 3 display in the drop down list box Select a category of logs to view select All Logs to view logs from all of the log categories that you selected in the Log Settings page Time This field displays the time the log was recorded See the chapter on system maintenance and information to configure the ZyWALL s time and date 18 2 Centralized Logs ZyWALL 2X and ZyWALL 2XW Table 18 1 View Log LABEL DESCRIPTION Message This field states the reason for the log Source This field lists the source IP address and the port number of the incoming packet Destination This field lists the destination IP address and the port number of the incoming packet Notes This field displays additional information about the log entry Email Log Now Click Email Log Now to send the log screen to the e mail address specified in the Log Settings page make sure that you have first filled in the Address Info fields in Log Settings see section 18 3 Refresh Click Refresh to renew the log screen Clear Log Click Clear Log to delete all the logs 18 3 Log Settings You can configure the ZyWALL s general log settings in one location Click the Logs link on the navigation panel and then the Log Settings tab to open the Log Setting
65. PNS PPTP User Phone call PAC PPP frames PNS Diagram H 2 PPTP Protocol Overview Microsoft includes PPTP as a part of the Windows OS In Microsoft s implementation the PC and hence the ZyWALL is the PNS that requests the PAC the ANT to place an outgoing call over AALS to an RFC 2364 server Control amp PPP connections Each PPTP session has distinct control connection and PPP data connection Call Connection The control connection runs over TCP Similar to L2TP a tunnel control connection is first established before call control messages can be exchanged Please note that a tunnel control connection supports multiple call sessions The following diagram depicts the message exchange of a successful call setup between a PC and an ANT 30 PPTP ZyWALL 2X and ZyWALL 2XW Start Control Connection Request Start Control Connection Reply Outgoing Call Reply PPP Frames Outgoing Call Request PPP Frames Diagram H 3 Example Message Exchange between PC and an ANT PPP Data Connection The PPP frames are tunneled between the PNS and PAC over GRE General Routing Encapsulation RFC 1701 1702 The individual calls within a tunnel are distinguished using the Call ID field in the GRE header 99 PPTP ZyWALL 2X and ZyWALL 2XW Appendix I Hardware Specifications Chart I 1 General Specifications Power Specification I P AC 120V 60Hz O P DC 12V 1200 mA MTBF
66. Please see our included disk for more example filters User trying to telnet into the ZyWALL Incoming Traffic Filter Figure 19 8 Telnet Filter Example Step 1 Enter 21 from the main menu to open Menu 21 Filter and Firewall Setup Step 2 Enter 1 to open Menu 21 1 Filter Set Configuration Step 3 Enter the index of the filter set you wish to configure say 3 and press ENTER Step 4 Enter a descriptive name or comment in the Edit Comments field and press ENTER Step 5 Press ENTER at the message Press ENTER to confirm to open Menu 21 1 3 Filter Rules Summary Filter Configuration 19 13 ZyWALL 2X and ZyWALL 2XW Step 6 Enter 1 to configure the first filter rule the only filter rule of this set Make the entries in this menu as shown in the following figure Press SPACE BAR and then ENTER to choose this filter rule Filter 4 3 1 Filter Type TCP IP Filter Rule type The first filter rule type Active Yes determines all subsequent filter IP Protocol 6 Destination IP Addr types within a set IP Mask 0 Port 23 Port Comp Equa Source IP Addr 0 0 0 0 Select Yes to make the rule active IP Mask 0 0 0 0 Port 0 Port Comp None TCP Estab No Log 6 is the TCP protocol Action Matghed Drop The port number for the telnet service TCP protocol is 23 See RFC 1060 for port numbers of well known services Menu 21 1 3 1 TCP IP Filter Rule
67. Record and System messages i e the syslog server Log Facility Press SPACE BAR and then ENTER to select a Local option The log facility allows you to log the message to different files in the server Please refer to your UNIX manual for more details When finished configuring this screen press ENTER to confirm or ESC to cancel Your ZyWALL sends five types of syslog messages Some examples not all ZyWALL specific of these syslog messages with their message formats are shown next 1 CDR CDR Message Format SdcemdSyslogSend SYSLOG CDR SYSLOG INFO String String board xx line xx channel xx call xx str board the hardware board ID line the WAN ID in a board Channel 7 channel ID within the WAN call the call reference number which starts from 1 and increments by 1 for each new call str C01 Outgoing Call dev xx ch xx dev device No ch channel No L02 Tunnel Connected L2TP C02 OutCall Connected xxxx means connected speed xxxxx means Remote Call Number L02 Call Terminated C02 Call Terminated Jul 19 11 19 27 192 168 102 2 ZyXEL board 0 line 0 channel 0 call 1 C01 Outgoing Call dev 2 ch 0 40002 Jul 19 11 19 32 192 168 102 2 ZyXEL board 0 line 0 channel 0 call 1 CO2 OutCall Connected 64000 40002 Jul 19 11 20 06 192 168 102 2 ZyXEL board 0 line 0 channel 0 call 1 C02 Call Terminated 21 8 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW
68. Roman font e The choices of a menu item are in Bold Arial font Preface xxii ZyWALL 2X and ZyWALL 2XW e 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 and SPACE BAR means the space bar UP and DOWN are the up and down arrow keys e Mouse action sequences are denoted using a comma For example click the Apple icon Control Panels and then Modem means first click the Apple icon then point your mouse pointer to Control Panels and then click Modem e 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 Overview Part I Overview ZyWALL 2X and ZyWALL 2XW Chapter 1 Getting to Know Your ZyWALL This chapter introduces the main features and applications of the ZyWALL 1 4 Introducing the ZyWALL 2X 2XW The ZyWALL 2X and 2XW Wireless LAN Embedded are ideal secure gateways for all data passing between the Internet and the LAN By integrating NAT firewall and VPN capability ZyXEL s ZyWALL 2X 2XW is a complete security solution that protects your Intranet and efficiently manages data traffic on your network The ZyWALL 2XW has a built in wireless LAN that makes it easy for computers with IEEE 802 11b wireless LAN cards to connect to the network and the In
69. Secrecy PFS using Diffie Hellman public key cryptography see section 27 10 4 Select None the default to disable PFS Choose Tunnel mode or Transport mode Set the IPSec SA lifetime This field allows you to determine how long the IPSec SA should stay up before it times out The ZyWALL automatically renegotiates the IPSec SA if there is traffic when the IPSec SA lifetime period expires The ZyWALL also automatically renegotiates the IPSec SA if both IPSec routers have keep alive enabled even if there is no traffic If an IPSec SA times out then the IPSec router must renegotiate the SA the next time someone attempts to send traffic Negotiation Mode The phase 1 Negotiation Mode you select determines how the Security Association SA will be established for each connection through IKE negotiations VPN IPSec Setup 27 13 ZyWALL 2X and ZyWALL 2XW Main Mode ensures the highest level of security when the communicating parties are negotiating authentication phase 1 It uses 6 messages in three round trips SA negotiation Diffie Hellman exchange and an exchange of nonces a nonce is a random number This mode features identity protection your identity 1s not revealed in the negotiation Aggressive Mode is quicker than Main Mode because it eliminates several steps when the communicating parties are negotiating authentication phase 1 However the trade off is that faster speed limits its negotiating power and it also does
70. Setup Menu 15 SUA Server Setup Menu 15 1 Menu 15 2 Port Forwarding Trigger Port Setup Setup Menu 11 1 Remote Node Profile Menu 12 1 Edit IP Static Route Menu 11 3 Menu 11 5 Menu 11 6 Remote Node Remote Node Traffic Redirect Network Layer Options Filter Setup Figure 4 4 Getting Started and Advanced Applications SMT Menus ZyWALL 2XW Introducing the SMT 4 5 ZyWALL 2X and ZyWALL 2XW Menu 21 2 Menu 21 1 Firewall Setup Filter Set Configuratio Menu 21 1 x Filter Rules Summary Menu 21 1 x y Menu 21 1 x y TCP IP Filter Rule Generic Filter Rule Menu 24 System Maintenance Menu 24 2 1 System Information Menu 24 1 System Maintenance System Status Menu 24 2 2 Change Console Port Speed Menu 24 2 System Information and Console Port Menu 24 3 1 View Error Log Menu 24 3 System Maintenance Log and Trace Menu 24 3 2 UNIX Syslog Menu 24 3 4 Call Triggering Packet Menu 21 Filter and Firewall Setup Menu 22 SNMP Configuration Menu 23 System Password Menu 24 10 System Maintenance Time and Date Setting Menu 24 4 System Maintenance Diagnostic Menu 24 5 System Maintenance Backup Configuration Menu 24 11 System Maintenance Remote Management Setup Menu 24 6 System Maintenance Restore Configuration Menu 24 7 1 Upload Router Firmware Menu 24 7 System Maintenance Upload Firmware Menu 24 7 2 Upload Router C
71. Setup ZyWALL 2X and ZyWALL 2XW When there is outbound traffic with no inbound traffic the ZyWALL automatically drops the tunnel after two minutes 27 7 NAT Traversal NAT traversal allows you to set up a VPN connection when there are NAT routers between the two IPSec routers IPSec Router A NAT Router IPSec Router B Figure 27 3 NAT Router Between IPSec Routers Normally you cannot set up a VPN connection with a NAT router between the two IPSec routers because the NAT router changes the header of the IPSec packet In the previous figure IPSec router A sends an IPSec packet in an attempt to initiate a VPN The NAT router changes the IPSec packet s header so it does not match the header for which IPSec router B is checking Therefore IPSec router B does not respond and the VPN connection cannot be built NAT traversal solves the problem by adding a UDP port 500 header to the IPSec packet The NAT router forwards the IPSec packet with the UDP port 500 header unchanged IPSec router B checks the UDP port 500 header and responds IPSec routers A and B build a VPN connection 27 7 1 NAT Traversal Configuration For NAT traversal to work you must Use ESP security protocol in either transport or tunnel mode gt Use IKE keying mode gt Enable NAT traversal on both IPSec endpoints In order for IPSec router A see the figure to receive an initiating IPSec packet from IPSec router B set the NAT router to forward UDP
72. Someone has failed to log on to the router via telnet FTP Login Someone has logged on to the router via ftp Successfully FTP Login Fail Someone has failed to log on to the router via ftp NAT Session Table is The maximum number of SUA NAT session table entries has been Full exceeded and the table is full Chart Q 3 UPnP Logs LOG MESSAGE DESCRIPTION UPnP pass through UPnP packets can pass through the firewall Firewall Chart Q 4 Content Filtering Logs CATEGORY LOG MESSAGE DESCRIPTION URLFOR IP Domain Name The ZyWALL allows access to this IP address or domain name and forwarded traffic addressed to the IP address or domain name URLBLK IP Domain Name The ZyWALL blocked access to this IP address or domain name due to a forbidden keyword All web traffic is disabled except for trusted domains untrusted domains or the cybernot list JAVBLK IP Domain Name The ZyWALL blocked access to this IP address or domain name because of a forbidden service such as ActiveX a Java applet a cookie or a proxy Chart Q 5 Attack Logs LOG MESSAGE DESCRIPTION attack TCP The firewall detected a TCP attack attack UDP The firewall detected an UDP attack Log Descriptions 71 ZyWALL 2X and ZyWALL 2XW Chart Q 5 Attack Logs LOG MESSAGE DESCRIPTION attack IGMP The firewall
73. System Maintenance amp Information 23 1 ZyWALL 2X and ZyWALL 2XW Copyright c 1994 2001 ZyXEL Communications Corp ras Valid commands are Sys exit device ether poe pptp ip ipsec PPP hdap ras Figure 23 2 Valid Commands 23 2 Call Control Support The ZyWALL provides two call control functions budget management and call history Please note that this menu is only applicable when Encapsulation is set to PPPoE or PPTP in menu 4 or menu 11 1 The budget management function allows you to set a limit on the total outgoing call time of the ZyWALL within certain times When the total outgoing call time exceeds the limit the current call will be dropped and any future outgoing calls will be blocked Call history chronicles preceding incoming and outgoing calls To access the call control menu select option 9 in menu 24 to go to Menu 24 9 System Maintenance Call Control as shown in the next table Menu 24 9 System Maintenance Call Control 1 Budget Management 2 Call History Enter Menu Selection Number Figure 23 3 Call Control 23 2 1 Budget Management 23 2 System Maintenance amp Information ZyWALL 2X and ZyWALL 2XW Menu 24 9 1 shows the budget management statistics for outgoing calls Enter 1 from Menu 24 9 System Maintenance Call Control to bring up the following menu Menu 24 9 1 Budget Management Remote Node Connection Time Total Budget Elapsed Time Total Peri
74. System mmware eese 22 12 Figure 22 14 Telnet Into Menu 24 7 2 System Maintenance essere eene 22 13 Figure 22 15 FTP Session Example of Firmware File Upload 22 14 Figure 22 16 Menu 24 7 1 as seen using the Console Pot 22 16 Figure 22 17 Example Xmodem Upload 22 16 Figure 22 18 Menu 24 7 2 as seen using the Console Port 22 17 Figure 22 19 Example Xmodem Upload 22 18 Figure 23 1 Command Mode in Menu 24 23 1 Figure 23 2 Valid Commands teen rfe erg tate ee rechnet Eten edes 23 2 Figure 2323 Calls Control og cies scat iae S eie dieat tied 23 2 Figure 23 4 Budget Management 23 3 Figute 23 5 Call History E 23 4 Figure 23 6 Menu 24 System Maintenance eese enne nnne rennen enne netten ens 23 5 Figure 23 7 Menu 24 10 System Maintenance Time and Date Seng 23 5 Figure 24 1 Telnet Configuration on a TCP IP Network nennen 24 1 Figure 24 2 Menu 24 11 Remote Management Control 24 3 Figure 25 1 Menu 26 Schedule Setup 25 1 Figure 25 2 Schedule Set Setup nennen tee tien Helene e EP Po eet AEN 25 2 List of Figures xxi ZyWALL 2X and ZyWALL 2XW Figure 25 3 Applying Schedule Set s to a Remote Node PPPOoE eene 25 4 Figure 25 4 Applying Schedule Set s to a Remote Node DPI 25 5 Figure 26 1 Encryption and Decryption nennen enne enne ennenne nete nnne nen ene 26 2 Figure 26 2 VPN Application intet te entere LR eH Ee EA L HER e E ED Eii 26 3 Figure 26 3 IPSec ATOhitecture uote
75. The IP address type or IP address of an incoming packet does not match the peer IP address type or IP address configured on the local router The log displays this router s configured remote IP address type or IP address that the incoming packet did not match Log Descriptions 83 ZyWALL 2X and ZyWALL 2XW Chart Q 10 Sample IKE Key Exchange Logs LOG MESSAGE DESCRIPTION vs My Local IP address gt The IP address type or IP address of an incoming packet does not match the peer IP address type or IP address configured on the local router The log displays this router s configured local IP address type or IP address that the incoming packet did not match gt symbol The router sent a payload type of IKE packet Error ID Info The parameters configured for Phase 1 ID content do not match or the parameters configured for the Phase 2 ID IP address of single range or subnet do not match Please check all protocols and settings for these phases The following table shows sample log messages during packet transmission Chart Q 11 Sample IPSec Logs During Packet Transmission LOG MESSAGE DESCRIPTION WAN IP changed to lt IP gt If the ZyWALL s WAN IP changes all configured My IP Addr are changed to b 0 0 0 0 If this field is configured as 0 0 0 0 then the ZyWALL will use the current ZyWALL WAN IP address static or dynamic to set up the VPN tunnel Cannot find IPSec S
76. Tunneling Protocol 1723 12 4 1 Configuring a Server behind NAT Follow these steps to configure a server behind NAT Step 1 Step 2 Step 3 Step 4 Step 5 Enter 15 in the main menu to go to Menu 15 NAT Setup Enter 2 to go to Menu 15 2 NAT Server Setup Enter a port number in an unused Start Port No field To forward only one port enter it again in the End Port No field To specify a range of ports enter the last port to be forwarded in the End Port No field Enter the inside IP address of the server in the IP Address field In the following figure you have a computer acting as an FTP Telnet and SMTP server ports 21 23 and 25 at 192 168 1 33 Press ENTER at the Press ENTER to confirm prompt to save your configuration after you define all the servers or press ESC at any time to cancel NAT 12 15 ZyWALL 2X and ZyWALL 2XW Private network IP addresses Menu 15 2 NAT Server Setup Rule Start Port No End Port No IP Address Default Default 21 25 o o OOooooooooonmnpo OOoOooooo0o000No Seo oeoeoes CO OO OO OO OCH CO OO OO OO OO OC OO OO OO OO OO OO CO Press ENTER to Confirm or ESC to Cancel Figure 12 10 Menu 15 2 NAT Server Setup The NAT network appears as a single host on the Internet FTP Telnet SMTP server 192 168 1 1 IP address o 192 168 1 33 o 2 Computer Q IP Address O 192 168 1 34 o c CH Computer o IP Address 9 192 16
77. Yes and press ENTER Yes to activate the schedule set No Start Enter the start date when you wish the set to take effect in year month Date date format Valid dates are from the present to 2036 February 5 25 2 Call Scheduling ZyWALL 2X and ZyWALL 2XW Table 25 1Schedule Set Setup Fields FIELD DESCRIPTION OPTIONS How Should this schedule set recur weekly or be used just once only Press Once Often SPACE BAR and then ENTER to select Once or Weekly Both these Weekl options are mutually exclusive If Once is selected then all weekday y settings are N A When Once is selected the schedule rule deletes automatically after the scheduled time elapses Once If you selected Once in the How Often field above then enter the date the Date set should activate here in year month date format Weekday If you selected Weekly in the How Often field above then select the Yes day s when the set should activate and recur by going to that day s and Day pressing SPACE BAR to select Yes then press ENTER No N A Start Enter the start time when you wish the schedule set to take effect in hour Time minute format Duration Enter the maximum length of time this connection is allowed in hour minute format Action Forced On means that the connection is maintained whether or not there Forced On is a demand call on the line and will persist for the time period specified in the Duration field Fo
78. ZyWALL 2X and ZyWALL 2XW Chapter 9 Internet Access This chapter shows you how to configure your ZyWALL for Internet access 9 1 Introduction to Internet Access Setup Use information from your ISP along with the instructions in this chapter to set up your ZyWALL to access the Internet There are three different menu 4 screens depending on whether you chose Ethernet PPTP or PPPoE Encapsulation Contact your ISP to determine what encapsulation type you should use 9 2 Ethernet Encapsulation If you choose Ethernet in menu 4 you will see the next screen Menu 4 Internet Access Setup ISP s Name ChangeMe Encapsulation Ethernet Service Type Standard My Login N A My Password N A Login Server IP N A IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Address N A Network Address Translation SUA Only Press ENTER to Confirm or ESC to Cancel Figure 9 1 Menu 4 Internet Access Setup Ethernet The following table describes this screen Table 9 1 Menu 4 Internet Access Setup Menu Fields FIELD DESCRIPTION ISP s Name Enter the name of your Internet Service Provider e g myISP This information is for identification purposes only Internet Access 9 1 ZyWALL 2X and ZyWALL 2XW Table 9 1 Menu 4 Internet Access Setup Menu Fields FIELD DESCRIPTION Encapsulation Press SPACE BAR and then press ENTER to choose Ethernet The encapsulation m
79. all TCP connections Click the Attack Alert tab to bring up the next screen 15 4 Firewall Configuration ZyWALL 2X and ZyWALL 2XW Figure 15 2 Attack Alert The following table describes the fields in this screen Table 15 1 Attack Alert FIELD DESCRIPTION DEFAULT VALUES Generate alert when attack detected A detected attack automatically generates a log entry Check this box to generate an is detected See the chapter on logs for more information on logs and alerts alert as well as a log whenever an attack Denial of Service Thresholds One Minute Low This is the rate of new half open sessions that causes the firewall to stop deleting half open sessions The ZyWALL continues to delete half open sessions as necessary until the rate of new connection attempts drops below this number 80 existing half open sessions Firewall Configuration 15 5 ZyWALL 2X and ZyWALL 2XW Table 15 1 Attack Alert FIELD DESCRIPTION DEFAULT VALUES One Minute High This is the rate of new half open sessions that causes the firewall to start deleting half open sessions When the rate of new connection attempts rises above this number the ZyWALL deletes half open sessions as required to accommodate new connection attempts 100 half open sessions per minute The above numbers cause the ZyWALL to start deleting half open sessions when more than 100 ses
80. and enter the IP address amp subnet mask in the following fields Rem IP If you have a Static IP Assignment enter the IP address assigned to Address you by your ISP Rem IP If you have a Static IP Assignment enter the subnet mask assigned to Subnet Mask you Gateway IP This field is applicable to Ethernet encapsulation only Enter the Addr gateway IP address assigned to you if you are using a static IP address My WAN This field is applicable to PPPoE and PPTP encapsulations only Some Addr implementations especially the UNIX derivatives require the WAN link to have a separate IP network number from the LAN and each end must have a unique address within the WAN network number If this is the case enter the IP address assigned to the WAN port of your ZyWALL Note that this is the address assigned to your local ZyWALL not the remote router Network Press SPACE BAR and then ENTER to select either Full Feature SUA Only Address None or SUA Only See the NAT chapter for a full discussion on this default Translation feature Metric Enter a number from 1 to 15 to set this route s priority among the 1 ZyWALL s routes The smaller the number the higher priority the route has Private This field is valid only for PPTP PPPoE encapsulation This parameter No determines if the ZyWALL will include the route to this remote node in its RIP broadcasts If set to Yes this route is kept private and not included in RIP broadcast
81. atgo to restart the router Warning Proceeding with the upload will erase the current system firmware Do You Wish To Proceed Y N Figure 22 16 Menu 24 7 1 as seen using the Console Port Step 2 After the Starting Xmodem upload message appears activate the Xmodem protocol on your computer Follow the procedure as shown previously for the HyperTerminal program The procedure for other serial communications programs should be similar 22 4 9 Example Xmodem Firmware Upload Using HyperTerminal Click Transfer then Send File to display the following screen cli F3 E Type the firmware file s location or Folder C Product click Browse to look for it Filename C Product firmware bi Browse Protocol Choose the Xmodem protocol modem M Send hs ance Then click Send Figure 22 17 Example Xmodem Upload After the firmware upload process has completed the ZyWALL will automatically restart 22 16 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW 22 4 10 Uploading Configuration File Via Console Port Step 1 Select 2 from Menu 24 7 System Maintenance Upload Firmware to display Menu 24 7 2 System Maintenance Upload System Configuration File Follow the instructions as shown in the next screen Menu 24 7 2 System Maintenance Upload System Configuration File To upload system configuration file Enter y at the prompt below to go into debug mode
82. brute force guessing password protection settings Sys pwderrtm 0 This command turns off the password s protection from brute force guessing The brute force password guessing protection is turned off by default Sys pwderrtm N This command sets the password protection to block all access attempts for N a number from 1 to 60 minutes after the third time an incorrect password is entered Example Sys pwderrtm 5 This command sets the password protection to block all access attempts for five minutes after the third time an incorrect password is entered 88 Brute Force Password Guessing Protection Index Part XII XII ZyWALL 2X and ZyWALL 2XW Index 1 Auto negotiating 10 100 Mbps Ethernet LAN 1 1 10 100 Mbps Ethernet WAN sssssessssesseeseese 1 1 Auto sensing 10 100 Mbps Ethernet LAN 1 1 4 SEH ege ees 1 2 4 Port Switch sse 1 1 B A ET rr EE 22 2 ACCESS n ue ee ROO RENI 7 12 B siC Servi Ce Sesso eee Res 21 Action for Matched Packets 16 12 Big Etgen Eege Eta 19 Ln p 10 2 Blocking Time sss 15 4 15 7 Ad hoc Configuration eee 21 Bold Times font See Syntax Conventions Allocated Budget ssessssss 10 5 Boot commande 68 Alternative Subnet Mask Notaton 47 Broadband Access Security Gateway i xxvii KE 2 5 Brute force Attack ssssseseeene 13 6 Directional 52r eee 15 BSS esed en See
83. change the subnet mask computed by the ZyWALL unless you are instructed to do otherwise Private IP Addresses Every computer on the Internet must have a unique IP address If your networks are isolated from the Internet for example only between your two branch offices you can assign any IP addresses to the hosts without problems However the Internet Assigned Numbers Authority IANA has reserved the following three blocks of IP addresses specifically for private networks LAN Setup 7 3 ZyWALL 2X and ZyWALL 2XW Table 7 2 Private IP Address Ranges 10 0 0 0 10 255 255 255 172 16 0 0 172 31 255 255 192 168 0 0 192 168 255 255 You can obtain your IP address from the IANA from an ISP or have it assigned by a private network If you belong to a small organization and your Internet access is through an ISP the ISP can provide you with the Internet addresses for your local networks On the other hand if you are part of a much larger organization you should consult your network administrator for the appropriate IP addresses Regardless of your particular situation do not create an arbitrary IP address always follow the guidelines above For more information on address assignment please refer to RFC 1597 Address Allocation for Private Internets and RFC 1466 Guidelines for Management of IP Address Space 7 4 4 RIP Setup RIP Routing Information Protocol RFC1058 and RFC 1389 allows a router to exchange r
84. check box to have content filtering always active on the days selected in Day to Block with time of day limitations not enforced Click Apply to save your changes Click Reset to begin configuring this screen afresh 17 4 Content Filtering Logs Filter Configuration and SNMP Configuration Part V Logs Filter Configuration and SNMP Configuration EECH ZyWALL 2X and ZyWALL 2XW Chapter 18 Centralized Logs This chapter contains information about configuring general log settings and viewing the ZyWALL s logs Refer to the appendices for example log message explanations and how to view the logs via the SMT command interpreter interface 18 1 Introduction to Centralized Logs You can select which logs you want the ZyWALL to record and which alerts you want the ZyWALL to send You can look at the desired logs in one location You can also have the ZyWALL record and display statistical data about Internet usage including what web sites were visited how many times what protocols or service ports have been used and how much traffic has gone between individual LAN IP addresses and the WAN 18 1 1 Alerts and Logs An alert is a type of log that warrants more serious attention They include system errors attacks access control and attempted access to blocked web sites or web sites with restricted web features such as cookies active X and so on Some categories such as System Errors consist of b
85. control connection to a server on the Internet and requests a file At this point the remote server will open a data connection from the Internet For FTP to work properly this connection must be allowed to pass through even though a connection from the Internet would normally be rejected In order to achieve this the ZyWALL inspects the application level FTP data Specifically it searches for outgoing PORT commands and when it sees these it adds a cache entry for the anticipated data connection This can be done safely since the PORT command contains address and port information which can be used to uniquely identify the connection Any protocol that operates in this way must be supported on a case by case basis You can use the web configurator s Custom Ports feature to do this 13 6 Guidelines For Enhancing Security With Your Firewall 1 Change the default password via SMT or web configurator 2 Think about access control before you connect a console port to the network in any way including attaching a modem to the port Be aware that a break on the console port might give unauthorized individuals total control of the firewall even with access control configured 3 Limit who can telnet into your router 4 Don t enable any local service such as SNMP or NTP that you don t use Any enabled service could present a potential security risk A determined hacker might be able to find creative ways to misuse the enabled services to
86. cursor jumps to this field to allow you to select the rule to apply the action in question You must press ENTER at the bottom of the screen to save the whole set You must do this again if you make any changes to the set including deleting a rule No changes to the set take place until this action is taken Selecting Edit in the Action field and then selecting a rule brings up the following menu Menu 15 1 1 1 Address Mapping Rule in which you can edit an individual rule and configure the Type Local and Global Start End IPs An IP End address must be numerically greater than its corresponding IP Start address 12 12 NAT ZyWALL 2X and ZyWALL 2XW Menu 15 1 1 1 Address Mapping Type One to One Local IP Start End N A Global IP Start End N A Press ENTER to Confirm or ESC to Cancel Figure 12 9 Menu 15 1 1 1 Editing Configuring an Individual Rule in a Set Table 12 6 Menu 15 1 1 1 Editing Configuring an Individual Rule in a Set FIELD DESCRIPTION EXAMPLE Type Press SPACE BAR and then ENTER to select from a total of five One to One types These are the mapping types discussed in Table 12 2 Server allows you to specify multiple servers of different types behind NAT to this computer See section 12 5 3 for an example Local IP Only local IP fields are N A for server Global IP fields MUST be set for Server Start Enter the starting local IP address ILA 0 0 0 0
87. d e e eie uite PU e iuda 26 4 Figure 26 4 Transport and Tunnel Mode IPSec Encapsulation sese 26 5 Figure 27 1 IPSec Summary Fields 0 sccccececsecesssosesaesevescvoceseucesbsevesoasusanchstossestossseocbunesassasuadbevessnonetneves 27 3 Fig ie 27 2 VPN Suminary 5th de ee rre ee Co Poo rhe er Pete ire re deel 27 3 Figure 27 3 NAT Router Between IPSec Routerg eene nennen nennen enne rre 27 5 Figure 27 4 Basic IKE VPN Rule Setup inier prr e EU RAP n NEESS 27 8 Figure 27 5 Two Phases to Set Up the IPSec SA 27 13 Figure 27 6 Advanced IKE VPN Rule Setup sees rennen nennen rennen enne 27 15 Figure 27 7 Manual IKE VPN Rule Setup sessssssseseseeeeeeneenenn nennen rennen entren nnne nenne 27 22 Feuer VPN SA MODILOF seio doloe BER e B RR P BREED 27 26 Figure 27 9 VPN Global Setting ene hee e ERR e ee e RU Ce e RP REGERE Ee 27 27 Figure 27 10 Telecommuters Sharing One VPN Rule Example sss 27 29 Figure 27 11 Telecommuters Using Unique VPN Rules Example sss 27 30 xxii List of Figures ZyWALL 2X and ZyWALL 2XW List of Tables EIERE RR e EE 2 2 Table 2 2 ZyWALL Wireless LAN Coverage sese enne ener eren ener 2 5 Table 4 1 Main Menu Summary eheann e a a a a i 4 3 Table 5 1 General Setup Ment Field oe N qug e RV STE E E EE 5 2 Table 5 2 Configure Dynamic DNS Menu Fields 5 3 Table 6 1 MAC Address Cloning in WAN Setup 6 2 Table 7 1 Example Of Network Propert
88. denied LAN IP and the DROP ZyWALL dropped the packet to block access Filter default policy TCP access matched a default filter policy Access was allowed and FORWARD the router forwarded the packet Filter default policy UDP access matched a default filter policy Access was allowed and FORWARD the router forwarded the packet Filter default policy ICMP access matched a default filter policy Access was allowed and FORWARD the router forwarded the packet Filter default policy Access matched a default filter policy Access was allowed and the FORWARD router forwarded the packet Filter default policy Access matched a default filter policy denied LAN IP Access was FORWARD allowed and the router forwarded the packet Filter match DROP TCP access matched the listed filter rule and the ZyWALL dropped lt set d rule d gt the packet to block access Filter match DROP UDP access matched the listed filter rule and the ZyWALL dropped set d rule d gt the packet to block access 76 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 6 Access Logs LOG MESSAGE DESCRIPTION Filter match DROP set d rule d ICMP access matched the listed filter rule and the ZyWALL dropped the packet to block access Filter match DROP set d rule d Access matched the listed filter rule and the ZyWALL dropped the packet to block access Filter match
89. determines the direction of the coverage pattern typically ranges from 20 degrees less directional to 90 degrees very directional The directional antennas are ideal for hallways and outdoor point to point applications Positioning Antennas In general antennas should be mounted as high as practically possible and free of obstructions In point to point application position both transmitting and receiving antenna at the same height and in a direct line of sight to each other to attend the best performance For omni directional antennas mounted on a table desk and so on point the antenna up For omni directional antennas mounted on a wall or ceiling point the antenna down For a single AP application place omni directional antennas as close to the center of the coverage area as possible For directional antennas point the antenna in the direction of the desired coverage area Antennas 15 ZyWALL 2X and ZyWALL 2XW Appendix C Triangle Route The Ideal Setup When the firewall is on your ZyWALL acts as a secure gateway between your LAN and the Internet In an ideal network topology all incoming and outgoing network traffic passes through the ZyWALL to protect your LAN against attacks Computer Diagram C 1 Ideal Setup The Triangle Route Problem A traffic route is a path for sending or receiving data packets between two Ethernet devices Some companies have more than one alternate route to one or more ISPs
90. display the error log in the system After the ZyWALL finishes displaying you will have the option to clear the error log Menu 24 3 System Maintenance Log and Trace 1 View Error Log 2 UNIX Syslog and Accounting 4 Call Triggering Packet Please enter selection Figure 21 6 Menu 24 3 System Maintenance Log and Trace Examples of typical error and information messages are presented in the following figure 21 6 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW o Am QUU IO OO 10 U1 iS CUI I OD 9 Wed Wed Wed Wed Wed Wed Wed Wed Wed hu hu hu hu hu hu hu hu hu hu Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug Aug 22 22 22 22 22 22 22 22 22 23 23 23 23 23 23 23 2 3 23 23 Clear Error Log 21 21 21 213 21 25 21 211 21 08 08 08 08 08 08 08 08 09 09 23 23 23 24 24 24 24 21 21 26 26 54 26 26 26 24 26 26 24 26 26 04 27 26 59 59 28 40 Zs 321 39s OL 02 y n 41 40 07 12 09 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 PP17 PP17 PINI PPOd PP17 PPOd tgo id fg tu U g o TO x mj n ei a E a Fe PO o D FO FO FO FO WARN FO FO FO FO WARN FO FO FO WARN FO FO FO FO FO getDateTime fail
91. displays IP address in a range of computers on the remote network behind the remote IPSec gateway E This field displays the encapsulation mode Tunnel or Transport The ZyWALL s ncap i encapsulation mode should be identical to the secure remote gateway This field displays the authentication algorithm SHA1 or MD5 and encryption algorithm Algorithm DES or 3DES The ZyWALL s authentication and encryption algorithms should be identical to the secure remote gateway This field displays the IP address of the remote secure gateway with which you re making the Gateway VPN connection This field displays 0 0 0 0 if the remote secure gateway has a dynamic WAN IP address Click Apply to save your changes Click Reset to begin configuring this screen afresh 27 6 Keep Alive When you initiate an IPSec tunnel with keep alive enabled the ZyWALL automatically renegotiates the tunnel when the IPSec SA lifetime period expires see section 27 10 for more on the IPSec SA lifetime In effect the IPSec tunnel becomes an always on connection after you initiate it Both IPSec routers must have a ZyWALL compatible keep alive feature enabled in order for this feature to work If the ZyWALL has its maximum number of simultaneous IPSec tunnels connected to it and they all have keep alive enabled then no other tunnels can take a turn connecting to the ZyWALL because the ZyWALL never drops the tunnels that are already connected 27 4 VPN IPSec
92. in dotted decimal notation IP Mask This shows the IP mask of the ZyWALL DHCP This field shows the DHCP setting of the ZyWALL When finished viewing press ESC or ENTER to exit 21 3 2 Console Port Speed You can change the speed of the console port through Menu 24 2 2 Console Port Speed Your ZyWALL supports 9600 default 19200 38400 57600 and 115200 bps for the console port Press SPACE BAR and then ENTER to select the desired speed in menu 24 2 2 as shown next Menu 24 2 2 System Maintenance Change Console Port Speed Press Space Bar to Toggle Console Port Speed 115200 Press ENTER to Confirm or ESC to Cancel Figure 21 5 Menu 24 2 2 System Maintenance Change Console Port Speed System Information and Diagnosis 21 5 ZyWALL 2X and ZyWALL 2XW 21 4 Log and Trace There are two logging facilities in the ZyWALL The first is the error logs and trace records that are stored locally The second is the UNIX syslog facility for message logging 21 4 1 Viewing Error Log The first place you should look for clues when something goes wrong is the error trace log Follow the procedure below to view the local error trace log Step 1 Select option 24 from the main menu to open Menu 24 System Maintenance Step 2 From menu 24 select option 3 to open Menu 24 3 System Maintenance Log and Trace Step 3 Select the first option from Menu 24 3 System Maintenance Log and Trace to
93. is configured incorrectly an attacker can traceroute the firewall gaining knowledge of the network topology inside the firewall 4 Often many DoS attacks also employ a technique known as IP Spoofing as part of their attack IP Spoofing may be used to break into systems to hide the hacker s identity or to magnify the effect of the DoS attack IP Spoofing is a technique used to gain unauthorized access to computers by tricking a router or firewall into thinking that the communications are coming from within the trusted network To engage in IP spoofing a hacker must modify the packet headers so that it appears that the packets originate from a trusted host and should be allowed through the router or firewall The ZyWALL blocks all IP Spoofing attempts 13 5 Stateful Inspection With stateful inspection fields of the packets are compared to packets that are already known to be trusted For example if you access some outside service the proxy server remembers things about your original request like the port number and source and destination addresses This remembering is called saving the state When the outside system responds to your request the firewall compares the received packets with the saved state to determine if they are allowed in The ZyWALL uses stateful packet inspection to protect the private LAN from hackers and vandals on the Internet By default the ZyWALL s stateful inspection allows Firewalls 13 7 ZyWALL 2X an
94. may contain references to other web sites that also get counted as hits The ZyWALL records web site hits by counting the HTTP GET packets Many web sites include HTTP GET references to other web sites and the ZyWALL may count these as hits thus the web hit count is not yet 100 accurate e Web Site Hits x Stop Collection M De ck Figure 18 3 Reports Enabling the ZyWALL s reporting function decreases the overall throughput by about 1 Mbps Centralized Logs 18 7 ZyWALL 2X and ZyWALL 2XW Table 18 3 Reports LABEL DESCRIPTION Report Type Use the drop down list box to select the type of reports to display Web Site Hits displays the web sites that have been visited the most often from the LAN and how many times they have been visited Protocol Port displays the protocols or service ports that have been used the most and the amount of traffic for the most used protocols or service ports LAN IP Address displays the LAN IP addresses to and or from which the most traffic has been sent and how much traffic has been sent to and from those IP addresses Start Collection The button text shows Start Collection when the ZyWALL is not recording report data Stop Collection and Stop Collection when the ZyWALL is recording report data Click Start Collection to have the ZyWALL record report data Click Stop Collection to halt the ZyWALL from recording more data Refresh Clic
95. nU ee ett 2 3 Figure 3 1 Change Password SCreen 5 ooo eO teen t d e quld ed ek ee 3 1 Figure 3 2 Web Configurator Main Men 3 2 Figure 4 Initial SCreeti i ee RC E et alte e ER a eua 4 1 Figure 4 2 Password Screen 5 cedet e eee He nde ie e eine ede 4 2 Figure 4 3 Main Menu ZyWALL 2XW cccecccesscssscesecesecesecsecseecaeeeneeseeseeesscensecnseseaecnaeceaecaaeaeceaecaeeaeeseenes 4 3 Figure 4 4 Getting Started and Advanced Applications SMT Menus ZyWALL 2XW eee 4 5 Figure 4 5 Advanced Management SMT Meng 4 6 Figure 4 6 Schedule Setup and IPSec VPN Configuration SMT Menus eene 4 7 Figure 4 7 Menu 23 System Password sssssssssseseseseeeeeenn enne ener enne nnn nennen enne 4 7 Fig re 4 8 Example Xmodem Upload eda Rena tt eo d ee Pe EE 4 8 Figure 5 I Menu 1 General Setup onse RR Bebe ande E ed te Dp efte i queo Ee 5 2 Figure 5 2 Configure Dynamic DNR 5 3 Figure 6 1 MAC Address Cloning in WAN Setup 6 1 Figure 7 1 Menu 3 LAN Sen 7 1 Figure 7 2 Menu 3 1 LAN Port Filter Sepp 7 2 Figure 7 3 Physical Network iter peret e pop ee oer usps eeu ges ue 7 5 Figure 7 4 Partitioned Logical Networks eese nete nennen nrenne trennen nein nre nntnn enne 7 5 Figure 7 5 Menu 3 TCP IP and DHCP Setup 7 6 Figure 7 6 Menu 3 2 TCP IP and DHCP Ethernet Setup 7 6 xvi List of Figures ZyWALL 2X and ZyWALL 2XW Figure 7 7 Menu 32 1 IP Alert eeneg steig ees dat de e oO deii be
96. not have any security checks the ZyWALL records the IP address of the telnet client and accepts TFTP requests only from this address Step 2 Put the SMT in command interpreter CI mode by entering 8 in Menu 24 System Maintenance Step 3 Enter the command sys stdio 0 to disable the console timeout so the TFTP transfer will not be interrupted Enter command sys stdio 5 to restore the five minute console timeout default when the file transfer is complete 22 14 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW Step 4 Launch the TFTP client on your computer and connect to the ZyWALL Set the transfer mode to binary before starting data transfer Step 5 Use the TFTP client see the example below to transfer files between the ZyWALL and the computer The file name for the firmware is ras Note that the telnet connection must be active and the ZyWALL in CI mode before and during the TFTP transfer For details on TFTP commands see following example please consult the documentation of your TFTP chent program For UNIX use get to transfer from the ZyWALL to the computer put the other way around and binary to set binary transfer mode 22 4 6 TFTP Upload Command Example The following is an example TFTP command tftp i host put firmware bin ras Where i specifies binary image transfer mode use this mode when transferring binary files host is the ZyWALL s IP ad
97. on the WAN For incoming packets the ILA is the destination address on the LAN and the IGA is the destination address on the WAN NAT maps private local IP addresses to globally unique ones required for communication with hosts on other networks It replaces the original IP source address and TCP or UDP source port numbers for Many to One and Many to Many Overload NAT mapping in each packet and then forwards it to the Internet The ZyWALL keeps track of the original addresses and port numbers so incoming reply packets can have their original values restored The following figure illustrates this 12 2 NAT ZyWALL 2X and ZyWALL 2XW IP Address 192 168 1 13 LAN NAT Table Inside Local IP Address 192 168 1 10 192 168 1 11 192 168 1 12 192 168 1 13 Inside Global IP Address IGA 1 IGA 2 IGA 3 IGA 4 WAN IP Address 192 168 1 12 ae Care Inside Local Inside Global nudus Addresses ILA Addresses IGA IP Address 192 168 1 10 Figure 12 1 How NAT Works NAT 12 3 ZyWALL 2X and ZyWALL 2XW 12 1 4 NAT Application The following figure illustrates a possible NAT application where three inside LANs logical LANs using IP Alias behind the ZyWALL can communicate with three distinct WAN networks More examples follow at the end of this chapter LAN1 192 168 1 X Network Server Server in Admin 192 168 1 1 Admin Network PC2 Pc3 IP 1 IGA 1 Corporation A PC3 PC2 NT Se
98. on the data integrity service 26 1 4 VPN Applications The ZyWALL supports the following VPN applications Linking Two or More Private Networks Together Connect branch offices and business partners over the Internet with significant cost savings and improved performance when compared to leased lines between sites gt Accessing Network Resources When NAT Is Enabled When NAT is enabled remote users are not able to access hosts on the LAN unless the host is designated a public LAN server for that specific protocol Since the VPN tunnel terminates inside the LAN remote users will be able to access all computers that use private IP addresses on the LAN gt Unsupported IP Applications A VPN tunnel may be created to add support for unsupported emerging IP applications 26 2 Introduction to IPSec ZyWALL 2X and ZyWALL 2XW VPN client VPN client for for secure LH remote access remote management U lt DI D Broadband mmmmmmmm VPN Remote ZyWALL Remote Private Figure 26 2 VPN Application 26 2 IPSec Architecture The overall IPSec architecture is shown as follows Introduction to IPSec 26 3 ZyWALL 2X and ZyWALL 2XW IPSec Algorithms N a N AC a ESP Protocol AH Protocol RFC 2406 ncc RFC 2402 Des b s HMAC MDS Encryption Authentication wa RF 2403 3pes Algorithm Algorithm KEE
99. options from the Encryption Algorithm and IPSec Protocol Authentication Algorithm fields described below The AH protocol Authentication Header Protocol RFC 2402 was designed for integrity authentication sequence integrity replay resistance and non repudiation but not for confidentiality for which the ESP was designed If you select AH here you must select options from the Authentication Algorithm field The encryption algorithm for the ZyWALL and the secure remote gateway should be identical When DES is used for data communications both sender and receiver must know the same secret key which can be used to encrypt and decrypt the message The DES encryption algorithm uses a 56 bit key Triple DES 3DES is a variation on DES that uses a 168 bit key As a result 3DES is more secure than DES It also requires more processing power resulting in increased latency and decreased throughput Encryption Algorithm 27 20 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Table 27 8 Advanced IKE VPN Rule Setup Select SHA1 or MD5 from the drop down list box MD5 Message Digest 5 and SHA1 Authentication Secure Hash Algorithm are hash algorithms used to authenticate packet data The Algorithm SHA1 algorithm is generally considered stronger than MD5 but is slower Select MD5 for minimal security and SHA 1 for maximum security Define the length of time before an IKE SA automatically renegotiates in this field It may range from 60 t
100. or No This field is N A when you choose DDNS client as your service provider Offline This field is only available when CustomDNS is selected in the Yes Edit Update IP Address You can select Yes in either the Use Server Detected IP field recommended or the User Specified IP Addr field but not both With the Use Server Detected IP and User Specified IP Addr fields both set to No the DDNS server automatically updates the IP address of the host name s with the ZyWALL s WAN IP address DDNS does not work with a private IP address When both fields are set to No the ZyWALL must have a public WAN IP address in order for DDNS to work Press SPACE BAR to select Yes and then press ENTER to have the DDNS server automatically update the IP address of the host name s with the public IP address that the ZyWALL Yes Use Server Detected IP uses or is behind You can set this field to Yes whether the IP address is public or private static or dynamic 5 4 SMT Menu 1 General Setup ZyWALL 2X and ZyWALL 2XW Table 5 2 Configure Dynamic DNS Menu Fields FIELD DESCRIPTION EXAMPLE Press SPACE BAR to select Yes and then press ENTER to No 3 update the IP address of the host name s to the IP address User Specified IP specified below Addr Only select Yes if the ZyWALL uses or is behind a static public IP address IP Address Enter the static public IP address if you select Yes in the
101. original payload which is unchanged by a NAT device Transport mode ESP with authentication is not compatible with NAT although NAT traversal provides a way to use Transport mode ESP when there is a NAT router between the IPSec endpoints see section 27 7 for details Table 26 1 VPN and NAT SECURITY PROTOCOL MODE NAT AH Transport N AH Tunnel N ESP Transport N ESP Tunnel Y 26 6 Introduction to IPSec ZyWALL 2X and ZyWALL 2XW Chapter 27 VPN IPSec Setup This chapter introduces the VPN web configurator screens See the Logs chapter and the appendices for information on IPSec logs 27 1 VPN IPSec Overview Use the screens documented in this chapter to configure rules for VPN connections and manage VPN connections 27 2 IPSec Algorithms The ESP and AH protocols are necessary to create a Security Association SA the foundation of an IPSec VPN An SA is built from the authentication provided by the AH and ESP protocols The primary function of key management is to establish and maintain the SA between systems Once the SA is established the transport of data may commence 27 2 1 AH Authentication Header Protocol AH protocol RFC 2402 was designed for integrity authentication sequence integrity replay resistance and non repudiation but not for confidentiality for which the ESP was designed In applications where confidentiality is not required or not sanctioned by government encrypti
102. possible combinations of 00 01 10 and 11 The subnet mask is 26 bits 11111111 11111111 11111111 11000000 or 255 255 255 192 Each subnet contains 6 host ID bits giving 25 2 or 62 hosts for each subnet all 0 s is the subnet itself all Us is the broadcast address on the subnet Chart K 7 Subnet 1 NETWORK NUMBER LAST OCTET BIT VALUE IP Address 192 168 1 0 IP Address Binary 11000000 10101000 00000001 00000000 Subnet Mask Binary 11111111 11111111 11111111 11000000 Subnet Address 192 168 1 0 Lowest Host ID 192 168 1 1 Broadcast Address 192 168 1 63 Highest Host ID 192 168 1 62 Chart K 8 Subnet 2 NETWORK NUMBER LAST OCTET BIT VALUE IP Address 192 168 1 64 IP Address Binary 11000000 10101000 00000001 01000000 Subnet Mask Binary 11111111 11111111 11111111 11000000 Subnet Address 192 168 1 64 Lowest Host ID 192 168 1 65 Broadcast Address 192 168 1 127 Highest Host ID 192 168 1 126 IP Subnetting 49 ZyWALL 2X and ZyWALL 2XW Chart K 9 Subnet 3 NETWORK NUMBER LAST OCTET BIT VALUE IP Address 192 168 1 128 IP Address Binary 11000000 10101000 00000001 10000000 Subnet Mask Binary 11111111 11111111 11111111 11000000 Subnet Address 192 168 1 128 Lowest Host ID 192 168 1 129 Broadcast Address 192 168 1 191 Highest Host ID 192 168 1 190 Chart K 10 Subnet 4 NETWORK NUM
103. requested the default is 1234 Enter bin to set transfer mode to binary Find the rom file on your computer that you want to restore to your ZyWALL Use put to transfer files from the ZyWALL to the computer for example put config rom rom 0 transfers the configuration file config rom on your computer to the ZyWALL See earlier in this chapter for more information on filename conventions Enter quit to exit the ftp prompt The ZyWALL will automatically restart after a successful restore process Firmware and Configuration File Maintenance 22 9 ZyWALL 2X and ZyWALL 2XW 22 3 2 Restore Using FTP Session Example ftp put config rom rom 0 200 Port command okay 150 Opening data connection for STOR rom 0 226 File received OK 221 Goodbye for writing flash ftp 16384 bytes sent in 0 06Seconds 273 07Kbytes sec ftp quit Figure 22 8 Restore Using FTP Session Example Refer to section 22 2 5 to read about configurations that disallow TFTP and FTP over WAN 22 3 3 Restore Via Console Port Restore configuration via console port by following the HyperTerminal procedure shown next Procedures using other serial communications programs should be similar Step 1 Display menu 24 6 and enter y at the following screen Ready to restore Configuration via Xmodem Do you want to continue y n Figure 22 9 System Maintenance Restore Configuration Step 2 The following screen
104. seconds for either the console port or telnet web FTP connections Your ZyWALL automatically logs you out if you do nothing in this timeout period except when it is continuously updating the status in menu 24 1 or when sys stdio has been changed on the command line Remote Management 24 5 Call Scheduling and VPN IPSec Part VIII Call Scheduling and VPN IPSec This part provides information on how to configure call scheduling and VPN IPSec VIII ZyWALL 2X and ZyWALL 2XW Chapter 25 Call Scheduling Call scheduling allows you to dictate when a remote node should be called and for how long 25 1 Introduction to Call Scheduling The call scheduling feature allows the ZyWALL to manage a remote node and dictate when a remote node should be called and for how long This feature is similar to the scheduler in a videocassette recorder you can specify a time period for the VCR to record 25 2 Configuring Call Scheduling From the main menu enter 26 to access Menu 26 Schedule Setup as shown next You can apply up to 4 schedule sets in Menu 11 1 Remote Node Profile Schedule Set Menu 26 Schedule Setup Schedule Name Set Name Enter Schedule Set Number to Configure Edit Name Press ENTER to Confirm or ESC to Cancel Figure 25 1 Menu 26 Schedule Setup Lower numbered sets take precedence over higher numbered sets thereby avoiding scheduling conflicts For examp
105. source For models that have a power switch push the power switch to the on position The PWR LED turns on The PWR LED ZyWALL 2X or the SYS LED ZyWALL 2XW blinks while the ZyWALL performs system testing and then stays on if the testing is successful The WAN LED WLAN LED and one of the LAN LEDs turn on immediately after the PWR or SYS LED stops blinking and stays on if connections have been made to the LAN and WAN ports Hardware Installation 2 5 Initial Setup and Configuration Part II Initial Setup and Configuration This part covers Introducing the Web Configurator Introducing the SMT SMT Menu 1 General Setup WAN Setup LAN Setup Wireless LAN Security and Internet Access nn ZyWALL 2X and ZyWALL 2XW 3 1 Chapter 3 Introducing the Web Configurator This chapter describes how to access and navigate the ZyWALL web configurator Introduction to the Web Configurator The embedded web configurator is easy to navigate and use to configure the ZyWALL The web configurator is independent of the operating system platform you use Use the directions in this chapter in order to access and navigate the web configurator 3 2 Accessing the ZyWALL Web Configurator Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Make sure your ZyWALL hardware is properly conne
106. sssssseseesessseseeeessreresserersrsersses 14 1 Half Open Sessions 15 3 D Index ZyWALL 2X and ZyWALL 2XW Hardware Connectong sees 2 3 sides ont a alent eet eek tes 12 1 Hardware Installatton usse 2 1 Inside Global Address 12 1 Hidden Menus esee 4 2 Inside Local Address 12 1 Hidden Node problem 7 10 Internet Access isses 9 1 ET 5 4 ISP s Name tee cepe gie ues 9 1 HOStIDS z a ceat re ene een eed 45 Internet Access Setup 9 1 12 7 28 2 HTEDPrA Bes 12 14 13 1 13 3 13 4 Internet Assigned Numbers Authority See IANA Hvperfermmal cc ceccecceeseeeees 22 16 22 17 Internet Control Message Protocol ICMP 13 6 HyperTerminal program 22 6 22 10 Internet Security Gateway sss 1 1 I Introduction to Filters ssss 19 1 jc See Syntax Conventions IP Address 7 3 7 7 7 9 9 2 10 8 IANA EENS 7 3 7 4 IP Address Asstenment 10 8 IBSS See Independent Basic Service Set IP Address Asstgmnment sss 9 2 IGMP echo sene op ng 13 6 IP Addressing utor tds 45 Idle Tiraeout ue nne 10 4 10 6 IP EE 1 4 7 5 7 9 IEEE 802 IT ine 20 IP Alias Setup eene n 7 8 7 9 Deployment Issues sesseses 23 IP Classes iecit does 45 Security Flaws sss 23 IP Multeast ccecceeseeceeeeeeeeeeeeeseeneees 1 4 7 4 US HSC SE Re seen 1 2 Internet Gro
107. standard cable modem services the ZyWALL supports Time Warner s RoadRunner Service Logging and Tracing Built in message logging and packet tracing Unix syslog facility support Firewall logs Content filtering logs Upgrade ZyWALL Firmware The firmware of the ZyWALL can be upgraded via the console port or the LAN Embedded FTP and TFTP Servers The ZyWALL s embedded FTP and TFTP Servers enable fast firmware upgrades as well as configuration file backups and restoration 1 3 Applications for the ZyWALL 1 3 1 Secure Broadband Internet Access and VPN You can connect a cable DSL or wireless modem to the ZyWALL via Ethernet for broadband Internet access The ZyWALL also provides IP address sharing and a firewall protected local network with traffic management ZyW ALL VPN is an ideal cost effective way to connect branch offices and business partners over the Internet without the need and expense of leased lines between sites The LAN computers can share the two VPN tunnels for secure connections to remote computers Getting to Know Your ZyWALL 1 5 ZyWALL 2X and ZyWALL 2XW Broadband 2 VPN Broadband modem Remote IPSec Router Remote Network ai LJ Figure 1 1 Secure Internet Access and VPN Application 1 3 2 Wireless LAN Application The ZyWALL 2XW is an ideal access solution for wireless Internet connections for a small office or home environment A typical Internet access a
108. tediceuessseaseesesesusssedass dee ve EHE a ev VER e VUE eed Vnd X Appendix A Setting up Your Computer s IP Address 4 eeeeeee eee eee eese eene ense tn setenta setas ta anao 1 Appendix BAntenn S 14 Appendix C Triangle Route eee eeee eee eene enne en seen stent tns tn sisse sns ense suse saneta seta seta seen sets Eaves netu seen 16 Appendix D The Big Picture eeeeeeeee eee eese eese en sten stent nsns enne tuse tn setas ta seta seta sees sets sess en sense toores 19 Appendix E Wireless LAN and IEEE 802 11 eerie eee ennt en nennen ntn tn neta stn enata season sinn 20 Appendix F Wireless LAN With IEEE 802 1x eese eee ee eene entente sensns suns tn natuss sn netu setas tn sene 23 Appendix GPPPOE si C 27 Appendix H M RE 29 Appendix I Hardware Specifications eerie eese eee eee eee eee enne natns tns ta seta stes stas tn seins essen netu seen 32 Appendix J Universal Plug and Play eese eee ee eee eese estne tn ntes tns ta senses stesse enses etus tn seen 36 Appendix K IP Subnetting 45 Appendix L Safety Warnings and InstructionS sseseeseseeeeeseeoesoeseesoeseeeoeseeeesseeoesoeeereorsereoeseeeesoreorseseesee 53 Command and Log Appendices cscccscsrssrccrsccrsessscescssssessssesssscessssscssssssesssssseessesssesssesssess
109. the ZyWALL 2X and 2XW models Supported features and the details of the features vary by model You may use the System Management Terminal SMT web configurator or command interpreter interface to configure your ZyWALL Not all features can be configured through all interfaces This User s Guide primarily shows SMT configuration but includes the other interfaces where appropriate Related Documentation Support Disk Refer to the included CD for support documents Quick Start Guide The Quick Start Guide is designed to help you get up and running right away It contains a detailed easy to follow connection diagram default settings handy checklists and information on setting up your network and configuring for Internet access Web Configurator Online Help Embedded web help for descriptions of individual screens and supplementary information Packing List Card The Packing List Card lists all items that should have come in the package Certifications Refer to the product page at www zyxel com for information on product certifications ZyXEL Glossary and Web Site Please refer to www zyxel com for an online glossary of networking terms and additional support documentation Syntax Conventions e Enter means for you to type one or more characters and press the carriage return Select or Choose means for you to use one of the predefined choices e The SMT menu titles and labels are in Bold Times New
110. the access points Refer to the Antennas appendix for more information The following table shows the ZyWALL s coverage in meters using the included antennas The distance may differ depending on the network environment Table 2 2 ZyWALL Wireless LAN Coverage lt 11 MBPS 5 5 MBPS Indoor 50m 80m Outdoor 200m 300 m 2 6 Hardware Mounting Options The ZyWALL may be placed on a flat surface or wall mounted In general the best location to place the access point is at the center of your intended wireless coverage area For better performance mount the ZyWALL in a high position free of obstructions To keep the ZyWALL operating at optimal internal temperature keep the bottom sides and rear clear of obstructions and away from the exhaust of other equipment 2 7 Additional Installation Requirements for Using 802 1x 1 A computer with an IEEE 802 11b wireless LAN card 2 A computer equipped with a web browser with JavaScript enabled and or Telnet 3 A wireless client computer must be running IEEE 802 1x compliant software Currently this is offered in Windows XP 4 Anoptional network RADIUS server for remote user authentication and accounting 2 8 Turning On Your ZyWALL At this point you should have connected the console port the LAN port the WAN port the Wireless LAN port and the power port to the appropriate devices or lines Plug the power cord or power adaptor into an appropriate power
111. the tunnel Current ZyXEL implementation assumes identical outgoing and incoming SPls 27 13Configuring Edit Manual Setup To edit manual setup select one of the VPN rules in the VPN Summary screen and click Edit to configure the rule s settings The basic IKE rule setup screen opens VPN IPSec Setup 27 21 ZyWALL 2X and ZyWALL 2XW Select Manual in the Key Management field to display the manual VPN rule setup screen Summary Rule Setup SA Monitor Global Setting Active IPSec Keying Mode Protocol Number Manual e Local Address Start Local Address End Mask Local Port Start Local Port End D 0 0 D 0 0 Remote Address Start Remote Address End Mask Remote Port Start Remote Port End 0 0 0 0 0 0 My IP Address Secure Gateway IP Address SPI Encapsulation Mode Enable Replay Detecti IPSec Protocol Encryption Algorithm Encryption Key Authentication Algorithm Authentication Key 0 0 0 0 0 0 lj jj ransport v No e ESP Ss DES E SHA1 e II Reset Figure 27 7 Manual IKE VPN Rule Setup 27 22 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Table 27 9 Manual IKE VPN Rule Setup Select this check box to activate this VPN IPSec policy Select IKE or Manual from the drop down list box IKE is the preferred choice as the IPSec Keying Mode key is generated automatically Manual is useful for troubleshooting Make sure the remo
112. to the SNMP manager Community Destination Type the IP address of the station to send your SNMP traps to 0 0 0 0 When you have completed this menu press ENTER at the prompt Press ENTER to confirm or ESC to cancel to save your configuration or press ESC to cancel and go back to the previous screen 20 4 SNMP Traps The ZyWALL will send traps to the SNMP manager when any one of the following events occurs Table 20 2 SNMP Traps TRAP TRAP NAME DESCRIPTION 0 coldStart defined in RFC 1215 A trap is sent after booting power on 1 warmStart defined in RFC 1215 A trap is sent after booting software reboot 4 authenticationFailure defined in A trap is sent to the manager when receiving any SNMP RFC 1215 get or set requirements with the wrong community password 6 whyReboot defined in ZYXEL A trap is sent with the reason of restart before rebooting MIB when the system is going to restart warm start 6a For intentional reboot A trap is sent with the message System reboot by user if reboot is done intentionally for example download new files Cl command sys reboot etc 6b For fatal error A trap is sent with the message of the fatal code if the system reboots because of fatal errors 20 4 SNMP Configuration System Information and Diagnosis and Firmware and Configuration File Maintenance Part VI System Information and Diagnosis an
113. want to add Click OK when finished Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW T In the Internet Protocol TCP IP Properties Internet Protocol TCP IP Properties window the General tab in Windows XP ELINE eneral emate Configuration Click Obtain DNS server address You can get IP settings assigned automatically if your network supports automatically if you do not know your DNS me SS need to ask your network administrator for server IP address es Obtain an IP address automatically If you know your DNS server IP address es Use the following IP address click Use the following DNS server addresses and type them in the Preferred DNS server and Alternate DNS server fields If you wish to have more than two DNS servers Obtain DNS server address automatically click Advanced the DNS tab and then configure Use the folowing DNS server adresses them using Add 8 Click OK to close the Internet Protocol TCP IP Properties window 9 Click OK to close the Local Area Connection Properties window 10 Turn on your ZyWALL and restart your computer if prompted Checking Modifying Your Computer s IP Address 1 Click Start All Programs Accessories and then Command Prompt 2 Inthe Command Prompt window type ipconfig and then press ENTER to verify that your computer s static IP address is in the correct subnet 192 168 1 2 to 192 168 1 254 if using the default ZyWALL LAN IP address
114. with standard host logging Filtering rules at the packet filtering router can be less complex than they would be if the router needed to filter application traffic and direct it to a number of specific systems The router need only allow application traffic destined for the application gateway and reject the rest 13 2 3 Stateful Inspection Firewalls Stateful inspection firewalls restrict access by screening data packets against defined access rules They make access control decisions based on IP address and protocol They also inspect the session data to assure the integrity of the connection and to adapt to dynamic protocols These firewalls generally provide the best speed and transparency however they may lack the granular application level access control or caching that some proxies support See section 13 5 for more information on Stateful Inspection Firewalls of one type or another have become an integral part of standard security solutions for enterprises 13 3 Introduction to ZyXEL s Firewall The ZyWALL firewall is a stateful inspection firewall and is designed to protect against Denial of Service attacks when activated in SMT menu 21 2 or in the web configurator The ZyWALL s purpose is to allow a private Local Area Network LAN to be securely connected to the Internet The ZyWALL can be used to prevent theft destruction and modification of data as well as log events which may be important to the security of your network T
115. 0 00 02 04 02 00 Press any key continue Figure 21 9 Call Triggering Packet Example 21 5 Diagnostic The diagnostic facility allows you to test the different aspects of your ZyWALL to determine if it is working properly Menu 24 4 allows you to choose among various types of diagnostic tests to evaluate your system as shown next Follow the procedure below to get to Menu 24 4 System Maintenance Diagnostic Step 1 From the main menu select option 24 to open Menu 24 System Maintenance System Information and Diagnosis 21 11 ZyWALL 2X and ZyWALL 2XW Step 2 From this menu select option 4 Diagnostic This will open Menu 24 4 System Maintenance Diagnostic Menu 24 4 System Maintenance Diagnostic TCP IP 1 Ping Host 2 WAN DHCP Release 3 WAN DHCP Renewal 4 Internet Setup Test System 11 Reboot System Enter Menu Selection Number Host IP Address N A Figure 21 10 Menu 24 4 System Maintenance Diagnostic 21 5 1 WAN DHCP DHCP functionality can be enabled on the LAN or WAN as shown in Figure 21 11 LAN DHCP has already been discussed The ZyWALL can act either as a WAN DHCP client IP Address Assignment field in menu 4 or menu 11 3 is Dynamic and the Encapsulation field in menu 4 or menu 11 is Ethernet or None when you have a static IP The WAN Release and Renewal fields in menu 24 4 conveniently allow you to release and or renew the assigned WAN IP address subnet mask and def
116. 1 Table 12 2 NAT Mapping Types eee eee erii tesi e deles det Verte e Ees edd 12 5 Table 12 3 Applying NAT in Menus 4 amp 11 3 nennen nennen nennen 12 8 Table 12 4 SUA Address Mapping Rules sssssssseeseeeseeeeneeenen eene enne ennt nnne nnns 12 10 Table 12 5 Fields in EE EE 12 12 Table 12 6 Menu 15 1 1 1 Editing Configuring an Individual Rule in a Set sss 12 13 Table 12 7 Services amp Port Numbers eee deae asa oe a edere 12 14 Table 12 8 Menu 15 3 Trigger Port Setup Description eene 12 27 T ble 13 1 Common IP Ports stituit dh oop enti ee eri uus 13 4 Table 13 2 ICMP Commands That Trigger Alerte 13 6 Table 13 3 Legal NetBIOS Commandes 13 7 Table 13 4 Legal SMTP Commande 13 7 Table T5sL Attack Alert sa aee ete SIRE t b e OD ORE EUR 15 5 Table 16 1 Firewall Rules Summary First Screen 16 5 Table 16 2 Predefined Services eer eere e miter ee eiie e P e ect 16 7 Table 16 3 Creating Editing A Firewall Rule 16 11 Table 16 4 Adding Editing Source and Destination Addresses essere 16 13 Table 16 5 Creating Editing A Custom Port 16 15 Table 17 1 Content UE 17 2 Table 18 1 View Log ient IRR RR UI RE ge P ede da 18 2 Table 182 Log Settings nete esie tede iate uide big dies 18 5 Table 18 3 Repotrts ao e tiec ae P ette stetit ES tete E e MEA DOE ien 18 8 Table 18 4 Web Site Hits Report remite Vetta hose hot hx hei riot eR AA 18 9 Table 18 5 Protocol Port Report E eee te Haee ee eg
117. 1 1 Broadcast Address 192 168 1 127 Highest Host ID 192 168 1 126 Chart K 6 Subnet 2 NETWORK NUMBER LAST OCTET BIT VALUE IP Address 192 168 1 128 IP Address Binary 11000000 10101000 00000001 10000000 Subnet Mask 255 255 255 128 Subnet Mask Binary 11111111 11111111 11111111 10000000 Subnet Address 192 168 1 128 Lowest Host ID 192 168 1 129 Broadcast Address 192 168 1 255 Highest Host ID 192 168 1 254 The remaining 7 bits determine the number of hosts each subnet can have Host IDs of all zeros represent the subnet itself and host IDs of all ones are the broadcast address for that subnet so the actual number of hosts available on each subnet in the example above is 2 2 or 126 hosts for each subnet 48 IP Subnetting ZyWALL 2X and ZyWALL 2XW 192 168 1 0 with mask 255 255 255 128 is the subnet itself and 192 168 1 127 with mask 255 255 255 128 is the directed broadcast address for the first subnet Therefore the lowest IP address that can be assigned to an actual host for the first subnet 1s 192 168 1 1 and the highest is 192 168 1 126 Similarly the host ID range for the second subnet is 192 168 1 129 to 192 168 1 254 Example Four Subnets The above example illustrated using a 25 bit subnet mask to divide a class C address space into two subnets Similarly to divide a class C address into four subnets you need to borrow two host ID bits to give four
118. 100000 hrs Mean Time Between Failures Operation Temperature 0 C 40 C Ethernet Specification for 10 100Mbps Half Full Auto negotiation WAN Ethernet Specification for 10 100Mbps Half Full Auto negotiation Auto sensing LAN VPN Ports Cable Pin Assignments In a serial communications connection generally a computer is DTE Data Terminal Equipment and a modem is DCE Data Circuit terminating Equipment The ZyWALL is DCE when you connect a computer to the console port The ZyWALL is DTE when you connect a modem to the dial backup port Pin 5 Se Pin 1 O O O O OS OO 0O Pin 9 Pin 6 Diagram l 1 Console Dial Backup Port Pin Layouts Products without flow control only use pins 2 3 and 5 32 Hardware Specifications ZyWALL 2X and ZyWALL 2XW Chart l 2 Console Dial Backup Port Pin Assignments CONSOLE Port RS 232 Female DB 9F DIAL BACKUP RS 232 Male DB 9M Pin 1 NON Pin 2 DCE TXD Pin 3 DCE RXD Pin 4 DCE DSR Pin 5 GND Pin 6 DCE DTR Pin 7 DCE CTS Pin 8 DCE RTS PIN 9 NON Pin 1 NON Pin 2 DTE RXD Pin 3 DTE TXD Pin 4 DTE DTR Pin 5 GND Pin 6 DTE DSR Pin 7 DTE RTS Pin 8 DTE CTS PIN 9 NON The CON AUX port also has these pin assignments The CON AUX switch changes the setting in the firmware only and does not change the CON AUX port s pin assignments ZyWALLs with a CON AUX
119. 11 MAC Address Filtering sssse 8 10 MAC service data unt 7 13 Main Menu eiie eR tics 4 3 Management Information Base MIB 20 2 Many to Many No Overload See NAT Many to Many Overload See NAT Many to One See NAT Maximum Incomplete High 15 6 Maximum Incomplete Low 15 6 Max incomplete Hehe 15 3 Max incomplete Low 15 3 15 6 Mean Time Between Failures 32 Metri eere he tte eee 10 5 10 8 11 3 Mounting Opntons 2 5 MSDU Angst emgeet ee aio Eech 7 13 MTBF See Mean Time Between Failures Multicast uidere 7 8 10 9 My IP Addr sese 10 7 My EO ee Rae tent d 10 3 My Login Name cc eeeeceeeeceeeeceeeeeeeeeeneeeees 9 2 My Password 9 2 10 3 My Server IP Adr 10 7 Index ZyWALL 2X and ZyWALL 2XW N One Minute Hehe 15 4 Nailed up Connection suus 10 4 Online Registration cceeeeceseeeseceteeneeseeenes v Nailed Up Connection sss 10 5 Operation Temperature 32 Nailed Up Conmectons 10 7 Outgoing Protocol Filters s 7 9 hp pr 10 8 19 16 Outside xtate b Adela eas 12 1 Application see eet 12 4 P Applying NAT in the SMT Menus 12 6 Packet Filtering sss 1 3 13 12 Config ring eterni 12 8 Packet Filtering Firewalls 13 1 D
120. 11 VPN Global Setting to connect to and communicate with a LAN It may sometimes be necessary to allow NetBIOS packets to pass through VPN tunnels in order to allow local computers to find computers on the remote network and vice versa Allow Through IPSec Tunnel Select this check box to send NetBIOS packets through the VPN connection Click Apply to save your changes back to the ZyWALL Click Reset to begin configuring this screen afresh 27 16Telecommuter VPN IPSec Examples The following examples show how multiple telecommuters can make VPN connections to a single ZyWALL at headquarters from remote IPSec routers that use dynamic WAN IP addresses 27 16 1 Telecommuters Sharing One VPN Rule Example Multiple telecommuters can use one VPN rule to simultaneously access a ZyWALL at headquarters They must all use the same IPSec parameters including the pre shared key but the local IP addresses or ranges of addresses cannot overlap See the following table and figure for an example Having everyone use the same pre shared key may create a vulnerability If the pre shared key is compromised all of the VPN connections using that VPN rule are at risk A recommended alternative is to use a different VPN rule for each telecommuter and identify them by unique IDs see section 27 16 2 for an example Table 27 12 Telecommuter and Headquarters Configuration Example TELECOMMUTER HEADQUARTERS My IP Address 0 0 0 0 dynamic IP address Public sta
121. 21 1 80 137 UDP default permit lt 2 0 gt B 08 01 2000 11 48 41 Locall Notice gt 192 168 77 88 2520 UDP default permit lt 2 0 gt B 08 01 2000 11 48 39 Locall Notice 08 01 2000 11 48 39 Locall Notice prot rule action FW 172 21 1 80 SES Ce FW 192 168 77 88 520 FW 172 21 1 50 z 122721 1250 FW 172 21 1 25 SEI T1425 21 4 3 Call Triggering Packet Call Triggering Packet displays information about the packet that triggered a dial out call in an easy readable format Equivalent information is available in menu 24 1 in hex format An example is shown next 21 10 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW IP Frame ENETO RECV Size 44 44 Time 17 02 44 262 Frame Type IP Header IP Version 4 Header Length 20 Type of Service 0x00 0 Total Length 0x002C 44 Identification 0x0002 2 Flags 0x00 Fragment Offset 0x00 Time to Live OxFE 254 Protocol 0x06 TCP Header Checksum OxFB20 64288 Source IP 0xC0A80101 192 168 1 1 Destination IP 0x00000000 0 0 0 0 TCP Header Source Port 0x0401 1025 Destination Port Ox000D 13 Sequence Number 0x05B8D000 95997952 Ack Number 0x00000000 0 Header Length 24 Flags DROZ xis Window Size 0x2000 8192 Checksum OxEO6A 57450 Urgent Ptr 0x0000 0 Options 0000 02 04 02 00 RAW DATA 0000 45 00 2C 00 02 00 00 FE 06 FB 20 CO A8 01 01 0010 00 00 00 04 01 00 OD 05 B8 DO 00 00 00 00 00 0020 60 20 00 EO 6A 0
122. 24 Hour Format All day Start io hour D mn End ON hour lo min Apply Reset Figure 17 1Content Filter Table 17 1 Content Filter LABEL DESCRIPTION Restrict Web Features Select the box es to restrict a feature When you download a page containing a restricted feature that part of the web page will appear blank or grayed out 17 2 Content Filtering ZyWALL 2X and ZyWALL 2XW Table 17 1 Content Filter LABEL DESCRIPTION A tool for building dynamic and active Web pages and distributed object applications When Activex you visit an ActiveX Web site ActiveX controls are downloaded to your browser where they remain in case you visit the site again A programming language and development environment for building downloadable Web Java e SE components or Internet and intranet business applications of all kinds Cookies Used by Web servers to track usage and provide service based on ID A server that acts as an intermediary between a user and the Internet to provide security Web Proxy administrative control and caching service When a proxy server is located on the WAN it is possible for LAN users to circumvent content filtering by pointing to this proxy server Enable URL The ZyWALL can be configured to block Web sites containing keywords For example if the Kawvword keyword bad was enabled all sites containing this keyword will be blocked e g URL Blocking h
123. 27 6 Table 27 5 Matching ID Type and Content Configuration Example eene 27 7 Table 27 6 Mismatching ID Type and Content Configuration Example see 27 7 Table 27 7 Basic IKE VPN Rule Set p iieene sedet teet feste i oe ted eode tt 27 8 List of Tables XXV ZyWALL 2X and ZyWALL 2XW Table 27 8 Advanced IKE VPN Rule Sepp 27 16 Table 27 9 Man al IKE VPN R ule Set p e ee EES 27 23 Table 27 10 NEE 27 26 Table 27 1 VPN Global Setting NEEN tete deed ee deed ee ie ed E E enda 27 27 Table 27 12 Telecommuter and Headquarters Configuration Example see 27 28 Table 28 1 Troubleshooting the Start Up of Your ZyWALL sess 28 1 Table 28 2 Troubleshooting the LAN Interface ennemis 28 2 Table 28 3 Troubleshooting the WAN interface esses enne nennen nennen enne 28 2 Table 28 4 Troubleshooting Internet Access 28 3 Table 28 5 Troubleshooting the Password eren eene nnne 28 3 Table 28 6 Troubleshooting Telnet sssssessesseseeeeen ener enne enne ener enne 28 3 xxvi List of Tables ZyWALL 2X and ZyWALL 2XW Preface Congratulations on your purchase of the ZyWALL 2X 2XW Internet Security Gateway About This User s Manual This manual is designed to guide you through the configuration of your ZyWALL for its various applications This manual may refer to the ZyWALL 2X 2XW Internet Security Gateway as the ZyWALL This manual covers
124. 2X and ZyWALL 2XW 23 2 2 Call History This is the second option in Menu 24 9 System Maintenance Call Control It displays information about past incoming and outgoing calls Enter 2 from Menu 24 9 System Maintenance Call Control to bring up the following menu Menu 24 9 2 Call History Phone Number Dir Rate call Max da 25 35 4 5 6 7 8 95 0 1 Enter Entry to Delete 0 to exit Figure 23 5 Call History Table 23 2 Call History Fields FIELD DESCRIPTION Phone Number The PPPoE service names are shown here Dir This shows whether the call was incoming or outgoing Rate This is the transfer rate of the call call This is the number of calls made to or received from that telephone number Max This is the length of time of the longest telephone call Min This is the length of time of the shortest telephone call Total This is the total length of time of all the telephone calls to from that telephone number You may enter an entry number to delete it or 0 to exit 23 4 System Maintenance amp Information ZyWALL 2X and ZyWALL 2XW 23 3 Time and Date Setting The ZyWALL has a software mechanism to set the time manually or get the current time and date from an external server when you turn on your ZyWALL Menu 24 10 allows you to update the time and date settings of your ZyWALL The real time is then displayed in the ZyWALL error log
125. 4 Remote Management eeeeee essetis seen seen nette netus etn setas sto ss setas seta setas ases se tasses se to sara 24 1 24 1 Remote Management and the Firewall sese 24 1 24 2 RE 24 1 24 3 LR EE 24 2 24 4 KE 24 2 24 5 xi ee EE 24 2 24 6 DNS zie UO B RECRUIT HE ERE RR ts 24 2 24 7 Remote Management 21 ort i Ret Ded ui Uit s Et 24 2 24 8 Remote Management and SUANAT eene ener enne 24 4 24 9 EE ME 24 5 Call Scheduling and V Wl UE VIII Chapter 25 Call Scheduling 4 eee eee eee eee eee eee ee seen sete sensns etn sense tune suse tns e tns tu netu setas sense toises 25 1 xii Table of Contents ZyWALL 2X and ZyWALL 2XW 25 1 Introduction to Call Scheduling 00 0 ccc ceccsseessessceesceeeceseceseceecesecseceaecaecaeecaeeeaeeeseeneeeneeeas 25 1 25 2 Configuring Call Scheduling 5 vtt rte EET ege 25 1 25 3 Applying Schedule Sets gege mee eee e RE dE 25 3 Chapter 26 Introduction to IPSec eee eee eee eee eese eese en seta seen sons tn etna tuse suse iei nnii 26 1 26 1 HR 26 1 26 2 IPSec Architectute eet ee a esuada tons bo eed i 26 3 26 3 Encaps latiOti ase nU res ete t atre ei dee e ER ee E Oe ee 26 5 26 4 IPSec and NAT i oreet om ere ORO UR n eos 26 5 Chapter 27 VPN IPSecSetup iere ete tienen dove ee vou e e VEN VES EVER Ra en WWE Ne Ege eee pu gre Du eiu Re Diu 27 1 27 1 VBN IPSeC Over eR esos dati edente tion anb font eO d ed tee 27 1 27 2 UE EE 27 1 27 3
126. 8 1 35 IP address assigned z by ISP Computer IP Address 192 168 1 36 Figure 12 11 Multiple Servers Behind NAT Example 12 16 NAT ZyWALL 2X and ZyWALL 2XW 12 5 General NAT Examples The following are some examples of NAT configuration 12 5 1 Internet Access Only In the following Internet access example you only need one rule where all your ILAs Inside Local addresses map to one dynamic IGA Inside Global Address assigned by your ISP Inside Local One Dynamic PC 3 s e Addresses ILA Inside Global Addresses IGA Assigned by ISP Figure 12 12 NAT Example 1 Menu 4 Internet Access Setup ISP s Name ChangeMe Encapsulation Ethernet Service Type Standard My Login N A My Password N A Login Server IP N A IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway dresse NTA etwork Address Translation SUA Onl Press ENTER to Confirm or ESC to Cancel Figure 12 13 Menu 4 Internet Access amp NAT Example NAT 12 17 ZyWALL 2X and ZyWALL 2XW From menu 4 shown above simply choose the SUA Only option from the Network Address Translation field This is the Many to One mapping discussed in section 12 5 The SUA Only read only option from the Network Address Translation field in menus 4 and 11 3 is specifically pre configured to handle this case 12 5 2 Example 2 Internet Access with an Inside Server Inside Local One Dynamic PC 3 E Oo Addresses
127. 8 2 Troubleshooting the LAN Interface PROBLEM CORRECTIVE ACTION Cannot access Check your Ethernet cable type and connections Refer to the Rear Panel and the ZyWALL Connections section for LAN connection instructions from the LAN Make sure your Ethernet card is installed and functioning properly Cannot ping Check the 10M 100M LAN LEDs on the front panel One of these LEDs should be on If any computer they are both off check the cables between your ZyWALL and hub or the station on the LAN Verify that the IP address and the subnet mask of the ZyWALL and the computers are on the same subnet 28 2 Problems with the WAN Interface Table 28 3 Troubleshooting the WAN interface PROBLEM CORRECTIVE ACTION Cannot get WAN IP from the ISP The WAN IP is provided when the ISP recognizes the user as an authorized user after verifying the MAC address Host Name or User ID Find out the verification method used by your ISP If the ISP checks the LAN MAC Address tell the ISP the WAN MAC address of the ZyWALL The WAN MAC can be obtained from menu 24 1 In case the ISP does not allow you to use a new MAC you can clone the MAC from the LAN as the WAN MAC and send it to the ISP using Menu 2 WAN Setup It is recommended that you configure this menu even if your ISP presently does not require MAC address authentication If the ISP checks the Host Name enter host name in the System Name field in Menu 1
128. 9 20 202 132 155 97 ZyXEL GEN 00a0c5 502fnord010080 S05 gt R01mF Mar 03 12 00 52 202 132 155 97 ZyXEL GEN ffffffffffff0080 SO5 gt RO1mF Mar 03 12 00 57 202 132 155 97 ZyXEL GEN 00a0c5 502010080 S05 gt RO1mF Mar 03 12 01 06 202 132 155 97 ZyXEL P Src 192 168 2 33 Dst 202 132 155 93 TCP spo 01170 dpo 00021 S04 gt R01mF 4 PPP log PPP Log Message Format SdemdSyslogSend SYSLOG PPPLOG SYSLOG NOTICE String String ppp Proto Starting ppp Proto Opening ppp Proto Closing ppp Proto Shutdown Proto LCP ATCP BACP BCP CBCP CCP CHAP PAP IPCP IPXCP Jul 19 11 42 44 192 168 102 2 ZyXEL ppp LCP Closing Jul 19 11 42 49 192 168 102 2 ZyXEL ppp IPCP Closing Jul 19 11 42 54 192 168 102 2 ZyXEL ppp CCP Closing System Information and Diagnosis 21 9 ZyWALL 2X and ZyWALL 2XW 5 Firewall log Firewall Log Message Format SdcmdSyslogSend SYSLOG FIREWALL Src Source Address Dst Destination Address rule lt a b gt where a means set IGMP lt 2 gt default permit lt 2 0 gt B IGMP lt 2 gt default permit lt 2 0 gt B SYSLOG_NOTICE buf buf IP SrC XX XX XX XX Spo xxxx DSt XX XX XX XX Spo Source port empty means no source port information dpo Destination port empty means no destination port information prot Protocol TCP UDP ICMP Action nothing N block B forward 08 01 2000 11 48 41 Locall Notice gt 172
129. A The ZyWALL cannot find a phase 2 SA that corresponds with the SPI of an inbound packet from the peer the packet is dropped Cannot find outbound SA The packet matches the rule index number d but Phase 1 or for rule d Phase 2 negotiation for outbound from the VPN initiator traffic is not finished yet Discard REPLAY packet If the ZyWALL receives a packet with the wrong sequence number it will discard it Inbound packet The authentication configuration settings are incorrect Please authentication failed check them Inbound packet The decryption configuration settings are incorrect Please check decryption failed them Rule lt d gt idle time out If an SA has no packets transmitted for a period of time disconnect configurable via Cl command the ZyWALL drops the connection 84 Log Descriptions ZyWALL 2X and ZyWALL 2XW The following table shows RFC 2408 ISAKMP payload types that the log displays Please refer to the RFC for detailed information on each type Chart Q 12 RFC 2408 ISAKMP Payload Types LOG DISPLAY PAYLOAD TYPE SA Security Association PROP Proposal TRANS Transform KE Key Exchange ID Identification CER Certificate CER REO Certificate Request HASH Hash SIG Signature ONCE Nonce OTFY Notification DEL Delete VID Vendor ID Log Commands Go to the command interpreter interface the Command Interp
130. ALL 2X and ZyWALL 2XW Figure 19 3 Menu 21 Filter and Firewall Setup 19 4 Figure 19 4 Menu 21 1 Filter Set Configuration sese ener 19 4 Figure 19 5 Menu 21 1 11 TCP IP Filter R le socio eerte eee tenter EENS 19 7 Figure 19 6 Executing an IP Filter eine aeree e e Ho Ene ee tet a doo 19 10 Figure 19 7 Menu 21 1 4 1 Generic Filter Rule 19 11 Fieure 19 8 Telnet Filter Example cer Ee p pn IE IRE ONT mE eU MR 19 13 Figure 19 9 Example Filter Men 21 1 3 1 ode Reate e eer deer oie cede 19 14 Figure 19 10 Example Filter Rules Summary Menu 21 1 3 sese 19 15 Figure 19 11 Protocol and Device Filter Sets eesessesseseeeeeeneeeeennn rennen eene tren 19 16 Figure 19 12 Filtering LAN Traffic eese ener enr en nne 19 17 Figure 19 13 Filtering Remote Node Traffic 19 18 Figure 20 1 SNMP Management Model 20 2 Figure 20 2 Menu 22 SNMP Configuration eene enne nennen enne en nennen tenete ens 20 3 Figure 21 1 Menu 24 System Maintenance ener enne enne nnns 21 1 Figure 21 2 Menu 24 1 System Maintenance Status ZyWALL 2X W cccccccscesscessceseceseceseesseeneenseenaes 21 2 Figure 21 3 Menu 24 2 System Information and Console Port Speed 2 4 Figure 21 4 Menu 24 2 1 System Maintenance Information esses 21 4 Figure 21 5 Menu 24 2 2 System Maintenance Change Console Port Speed 21 5 Figure 21 6 Menu 24 3 System Maintenance Log and Trace ececceseesees
131. AME DESCRIPTION EXAMPLE LAN to WAN This field displays whether NetBIOS packets are blocked or forwarded Forward from the LAN to the WAN WAN to LAN This field displays whether NetBIOS packets are blocked or forwarded Forward from the WAN to the LAN IPSec Packets This field displays whether NetBIOS packets sent through a VPN Forward connection are blocked or forwarded Trigger dial This field displays whether NetBIOS packets are allowed to initiate Disabled NetBIOS Filt Syntax where lt type gt lt on off gt Example commands er Configuration sys filter netbios config type lt on off gt Identify which NetBIOS filter numbered 0 3 to configure 0 LAN to WAN 1 WAN to LAN 6 IPSec packet pass through 7 Trigger Dial For types 0 and 1 use on to enable the filter and block NetBIOS packets Use of f to disable the filter and forward NetBIOS packets For type 6 use on to block NetBIOS packets from being sent through a VPN connection Use off to allow NetBIOS packets to be sent through a VPN connection For type 7 use on to allow NetBIOS packets to initiate dial backup calls Use of f to block NetBIOS packets from initiating dial backup calls Command sys filter netbios config 0 on This command blocks LAN to WAN NetBIOS packets 66 NetBIOS Filter Commands ZyWALL 2X and ZyWALL 2XW Command Sys filter netbios config 1 off This command forwards WAN to LAN NetBIOS packets Com
132. Alternatively to have the ZyWALL assign your computer a new IP address from the IP pool make sure your ZyWALL is turned on type ipconfig renew and then press ENTER Your computer can now communicate with the ZyWALL using the LAN port 10 Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW Macintosh OS 8 9 1 Click the Apple menu Control Panel and double click TCP IP to open the TCP IP Control Panel 2 Select Ethernet built in from the Connect via list File Edit View Window Special Help Comect vla Setup About This Computer D Apple System Profiler E Calculator Chooser ADSL Control and Status Control Panels gt Appearance Favorites Apple Menu Options LI Key caps AppleTalk Network Browser ColorSync D Recent Applications Control Strip G Recent Documents xd Mes tif Remote Access Status epee Energy Saver Scrapbook Extensions Manager Sherlock 2 File Exchange Speakable Items File Sharing j General Controls Internet Keyboard Keychain Access Launcher Location Manager Memory Modem Monitors Mouse Multiple Users Numbers QuickTime Settings Remote Access Software Update Sound Speech Startup Disk Text UsBPrinterSharing TCP IP EI Ethernet Configure DHCP Client ID IP Address Subnet mask Router address Name server addr Using DHCP Server lt will be suppli
133. BER LAST OCTET BIT VALUE IP Address 192 168 1 192 IP Address Binary 11000000 10101000 00000001 11000000 Subnet Mask Binary 11111111 11111111 11111111 11000000 Subnet Address 192 168 1 192 Lowest Host ID 192 168 1 193 Broadcast Address 192 168 1 255 Highest Host ID 192 168 1 254 Example Eight Subnets Similarly use a 27 bit mask to create 8 subnets 001 010 011 100 101 110 The following table shows class C IP address last octet values for each subnet Chart K 11 Eight Subnets SUBNET SUBNET ADDRESS FIRST ADDRESS LAST ADDRESS BROADCAST ADDRESS 1 0 1 30 31 2 32 33 62 63 3 64 65 94 95 4 96 97 126 127 5 128 129 158 159 6 160 161 190 191 7 192 193 222 223 50 IP Subnetting ZyWALL 2X and ZyWALL 2XW Chart K 11 Eight Subnets SUBNET SUBNET ADDRESS FIRST ADDRESS LAST ADDRESS BROADCAST ADDRESS 8 224 223 254 255 The following table is a summary for class C subnet planning Chart K 12 Class C Subnet Planning NO BORROWED HOST BITS SUBNET MASK NO SUBNETS NO HOSTS PER SUBNET 1 255 255 255 128 25 2 126 2 255 255 255 192 26 4 62 3 255 255 255 224 27 8 30 4 255 255 255 240 28 16 14 5 255 255 255 248 29 32 6 255 255 255 252 30 64 7 255 255 255 254 31 128 1 Subnetting With Class A and Class B Networks For class
134. Basic Service Set Omni directional sess 14 Budget Management 23 2 23 3 TYPES needa eee e a e REN RE 14 Bypass Triangle Route 16 6 Een EE 14 C Application level Firewalls 13 1 Cable Modem sss 2 3 2 4 13 2 Applications essere 1 5 Call Control sse 23 2 AT commande 22 2 Call HiStOty i ds ote aive on 23 4 Attack Alert 15 3 15 4 15 5 Call Scheduling sssssss 1 3 25 1 Attack Types issus ees 13 6 maximum number of schedule sets 25 1 E EE 10 5 Se EE 25 3 Authentcaton 10 4 10 5 Precedenee ue sme ttes 25 1 Authentication Protocol susss 10 4 Call Trigerring Packet ss 21 10 Index A ZyWALL 2X and ZyWALL 2XW Canada s sessione imei eese iv Restoring les 22 10 eru iv Console Dial Backup Port Pin Assignments 33 Central Network Management 1 4 Content Filtering sss 1 3 17 1 Certifications ee iii Days and Times 17 1 Changing the Password 4 7 Restrict Web Features 17 1 Channel ID eee ee eere 7 13 Copyright ane RD ER en apes il E E 10 5 COVOTagei eatis xi re ge itte ies 2 5 Classes of IP Addresses sss 45 EK See Clear to Send Clear to Send protocol sssss 7 11 Custom Ports CLI Commands sss 58 Creating Editing sss 16 14 Cloning the MAC address
135. C 1215 The focus of the MIBs is to let administrators collect statistical data and monitor status and performance 20 3 SNMP Configuration To configure SNMP enter 22 from the main menu to display Menu 22 SNMP Configuration as shown next The community for Get Set and Trap fields is SNMP terminology for password Menu 22 SNMP Configuration SNMP Get Community public Set Community public Trusted Host 0 0 0 0 Trap Community public Destination 0 0 0 0 Press ENTER to Confirm or ESC to Cancel Figure 20 2 Menu 22 SNMP Configuration The following table describes the SNMP configuration parameters Table 20 1 SNMP Configuration Menu Fields FIELD DESCRIPTION EXAMPLE Get Community Type the Get community which is the password for the incoming Public Get and GetNext requests from the management station SNMP Configuration 20 3 ZyWALL 2X and ZyWALL 2XW Table 20 1 SNMP Configuration Menu Fields FIELD DESCRIPTION EXAMPLE Set Community Type the Set community which is the password for incoming Set Public requests from the management station Trusted Host regardless of source If you enter a trusted host your ZyWALL will only respond to 0 0 0 0 SNMP messages from this address A blank default field means your ZyWALL will respond to all SNMP messages it receives Trap Type the Trap community which is the password sent with each Public d trap
136. Click Maintenance to access a range of maintenance menus LOGOUT e Click Logout to exit the web configurator Click MAINTENANCE to view information about your ZyWALL or Click LOGOUT at any upgrade configuration firmware files Maintenance includes SYSTEM time to exit the web STATUS Statistics DHCP TABLE F W firmware UPGRADE and configurator CONFIGURATION Backup Restore Default Figure 3 2 Web Configurator Main Menu The rest of this User s Guide shows you how to configure the SMT menus except where no SMT menus exist for certain features such as UPnP and the firewall For web configurator screens that have SMT menu equivalents read this guide for background information but refer to the web screen online help for actual screen configuration 3 2 Introducing the Web Configurator ZyWALL 2X and ZyWALL 2XW Chapter 4 Introducing the SMT This chapter explains how to perform the initial ZyWALL setup and gives an overview of SMT menus 4 1 Introduction to the SMT The ZyWALL s SMT System Management Terminal is a menu driven interface that you can access from a terminal emulator through the console port or over a telnet connection This chapter shows you how to access the SMT System Management Terminal menus via console port how to navigate the SMT and how to configure SMT menus 4 2 Accessing the Console Port via the Console Port Make sure you have the physical connection properly set up as described in the hard
137. Conventions DNS ets neti eg USER ees 5 1 7 2 24 2 Entering Information esses 4 2 Primary Server i ane es 7 7 ESS Beane ces teu See Extended Service Set Secondary Semer 7 7 BE eneen re tud 7 10 Server Address x eee oed 7 2 ESSID cisco ttn eeiam yb 7 12 Domain Name 5 1 12 14 21 5 Erhernet E EEEE E 2 2 2 4 DoS Ethernet Cable Pin Asaignments 33 BASICS p 13 3 Ethernet Encapsulation 9 1 10 2 10 6 10 9 12 DK 13 4 H DoS Denial of Serviec 1 2 Ee 32 DS LLL See Distibudga System Extended Service Set 22 DSLE Modem RR ROGA ER OO ERES 2 4 Eens ios DSSS See Direct Sequence Spread Spectrum p Donau DNE eo E en 5 1 5 3 Factory Default seed 6 2 EE 1 4 Fail Tolerance esee 10 13 DYNDNS Wildcard LLL 5 2 e GM EEEE EE A E E A tess iii E FHSS See Frequency Hopping Spread Spectrum Ec cec d ies See Syntax Conventions Filename Conventions ccccesceseeceeeeees 22 1 NR OM RN 8 1 8 3 s ae Th ER 8 5 Applying sssrini sitir eee 19 17 EE 10 3 P E ENO eee eRe a nEe SE ios E EE 5 4 x qu lc as Es E mail Address eee tee 5 4 VEER See Enable Wildcard sss 5 4 Penne EAN R Hd Generic Re st dot 19 11 Index C ZyWALL 2X and ZyWALL 2XW INA TR oon deb pedet pe p dobles 19 16 Types vis caters des deeem depen 13 1 Remote Node 19 17 When To US6 orit eet 13 13 Structure EE 19 2 Firewall Configuration cccecccesseeseereee 15 1 TCP IP Rule Bem 19 7 Firmware File Filters Maintenanc
138. Does a rule that allows Internet users access to resources on the LAN create a security vulnerability For example if FTP ports TCP 20 21 are allowed from the Internet to the LAN Internet users may be able to connect to computers with running FTP servers 4 Does this rule conflict with any existing rules 16 2 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW Once these questions have been answered adding rules is simply a matter of plugging the information into the correct fields in the web configurator screens 16 2 3 Key Fields For Configuring Rules Action Should the action be to Block or Forward Block means the firewall silently discards the packet Service Select the service from the Service scrolling list box If the service is not listed it is necessary to first define it See section 16 5 for more information on predefined services Source Address What is the connection s source address is it on the LAN or WAN Is it a single IP a range of IPs or a subnet Destination Address What is the connection s destination address is it on the LAN or WAN Is it a single IP a range of IPs or a subnet 16 3 Connection Direction Examples This section describes examples for firewall rules for connections going from LAN to WAN and from WAN to LAN LAN to LAN ZyWALL and WAN to WAN ZyWALL rules apply to packets coming in on the associated interface LAN or WAN respectively LAN to LAN ZyW ALL means po
139. E SC KEE 13 7 Eeer n DEST wie dios e de t hte 1 5 Y EE oe pee qa ote ii XEM berceau edo a ene dU Ue 13 1 J Index ZyWALL 2X and ZyWALL 2XW VPN ico dateien e nap d hatt 9 2 WIGAN EEN See Wireless LAN KSE 4 1 www dyndns org esses 5 1 5 4 W WWW zyxel COm estes V WAN DHCP etie tri 21 12 21 13 X WAN Seele 6 1 28 2 xDSL Modem 1 5 2 4 10 3 28 2 28 3 WAN to LAN Rules eee 16 4 Xmodem Kl tee Ee tee f eis v File Upload 4e Eee 22 16 Webz aam echte eme 24 2 XMODEM Protocol sss 22 2 Web Configurator 3 1 13 2 13 11 14 2 16 3 Z WebSite EE 18 8 Ce 6 1 21 3 21 5 22 2 WEB 7 11 8 2 ZyNOS F W Version 21 3 21 5 22 2 WEP Encryption esee 8 3 ZyWALL Firewall Application 13 3 Wired Equivalent Privacy See WEP See WEP ZyWALL Web Configurator 3 1 Wireless LAN eee 1 2 7 10 20 ZyXEL Limited Warranty Benefits sen na ORE 20 NOG adest Rode COR OUTRE ORIS v Wireless LAN MAC Address Filtering 1 3 ZyXEL Website xx ecce V Wireless LAN Setup sees 7 11 ZyXEL s Firewall Wireless Modem eee 2 4 Introduction iia ilies a 13 2 Index K
140. ER to Confirm or ESC to Cancel Figure 12 22 Example 4 Menu 15 1 1 1 Address Mapping Rule After you ve configured your rule you should be able to check the settings in menu 15 1 1 as shown next Menu 15 1 1 Address Mapping Rules Set Name Example4 Idx Local Start IP Local End IP Global Start IP Global End IP 192 168 1 10 192 168 1 12 10 132 50 1 1 2 3 4 95s 6 E 8 9 0 10 6 Action Edit Select Rule Press ENTER to Confirm or ESC to Cancel Figure 12 23 Example 4 Menu 15 1 1 Address Mapping Rules 12 6 Trigger Port Forwarding Some services use a dedicated range of ports on the client side and a dedicated range of ports on the server side With regular port forwarding you set a forwarding port in NAT to forward a service coming in from 12 24 NAT ZyWALL 2X and ZyWALL 2XW the server on the WAN to the IP address of a computer on the client side LAN The problem is that port forwarding only forwards a service to a single LAN IP address In order to use the same service on a different LAN computer you have to manually replace the LAN computer s IP address in the forwarding port with another LAN computer s IP address Trigger port forwarding solves this problem by allowing computers on the LAN to dynamically take turns using the service The ZyWALL records the IP address of a LAN computer that sends traffic to the WAN to request a service with a specific port number and protocol a trigger port W
141. ESC to Cancel Press Space Bar to Toggle Figure 7 6 Menu 3 2 TCP IP and DHCP Ethernet Setup 7 6 LAN Setup ZyWALL 2X and ZyWALL 2XW Follow the instructions in the next table on how to configure the DHCP fields Table 7 3 DHCP Ethernet Setup Menu Fields FIELD DESCRIPTION EXAMPLE DHCP This field enables disables the DHCP server Server If set to Server your ZyWALL will act as a DHCP server If set to None the DHCP server will be disabled If set to Relay the ZyWALL acts as a surrogate DHCP server and relays requests and responses between the remote server and the clients When set to Server the following items need to be set Configuration Client IP Pool This field specifies the first of the contiguous addresses in the IP 192 168 1 33 Starting address pool Address Size of Client This field specifies the size or count of the IP address pool 32 IP Pool Primary DNS Type the IP addresses of the DNS servers The DNS servers are Server passed to the DHCP clients along with the IP address and the subnet Secondary mask DNS Server DHCP Server If Relay is selected in the DHCP field above then type the IP address Address ofthe actual remote DHCP server here Follow the instructions in the following table to configure TCP IP parameters for the LAN port Table 7 4 LAN TCP IP Setup Menu Fields FIELD DESCRIPTION EXAMPLE TCP IP Setup IP Address E
142. ESC to cancel Saving the data on the screen will take you in most cases to the previous menu Exit the SMT Type 99 at the main menu prompt and press ENTER to exit the SMT interface 4 2 Introducing the SMT ZyWALL 2X and ZyWALL 2XW 4 3 1 Main Menu After you enter the password the SMT displays the ZyWALL Main Menu as shown next Copyright c 1994 2001 ZyXEL Communications Corp ZyWALL 2XW Main Menu Getting Started Advanced Management 1 General Setup Filter and Firewall Setup 2 WAN Setup SNMP Configuration 3 LAN Setup System Password 4 Internet Access Setup System Maintenance Schedule Setup VPN IPSec Setup Advanced Applications 11 Remote Node Setup 12 Static Routing Setup 15 NAT Setup Enter Menu Selection Number Figure 4 3 Main Menu ZyWALL 2XW 4 3 2 System Management Terminal Interface Summary Table 4 1 Main Menu Summary NO Menu Title FUNCTION 1 General Setup Use this menu to set up dynamic DNS and administrative information 2 WAN Setup Use this menu to clone a MAC address from a computer on your LAN 3 LAN Setup Use this menu to apply LAN filters configure LAN DHCP and TCP IP settings and configure the wireless LAN port not available on all models 4 Internet Access Setup Configure your Internet Access setup Internet address gateway login etc with this menu 11 Remote Node Setup Use this menu to configure detailed remote node settings your ISP
143. Filter and Factory Defaults This section shows you where to apply the filter s after you design it them The ZyWALL already has filters to prevent NetBIOS traffic from triggering calls and block incoming telnet FTP and HTTP connections If you do not activate the firewall it is advisable to apply filters 19 6 1 Applying LAN Filters LAN traffic filter sets may be useful to block certain packets reduce traffic and prevent security breaches Go to menu 3 1 shown next and enter the number s of the filter set s that you want to apply as appropriate You can choose up to four filter sets from twelve by entering their numbers separated by commas e g 3 4 6 11 Input filter sets filter incoming traffic to the ZyWALL and output filter sets filter outgoing traffic from the ZyWALL For PPPoE or PPTP encapsulation you have the additional option of specifying remote node call filter sets Menu 3 1 LAN Port Filter Setup Input Filter Sets protocol filters device filters Output Filter Sets protocol filters device filters Press ENTER to Confirm or ESC to Cancel Figure 19 12 Filtering LAN Traffic 19 6 2 Applying Remote Node Filters Go to menu 11 5 shown below note that call filter sets are only present for PPPoE encapsulation and enter the number s of the filter set s as appropriate You can cascade up to four filter sets by entering their numbers separated by commas The ZyWALL already has f
144. General Setup when you connect the ZyWALL to a cable ads modem If the ISP checks the User ID make sure that you have entered the correct Service Type user name in the My Login field and password in the My Password field in Menu 4 Internet Access Setup 28 2 Troubleshooting ZyWALL 2X and ZyWALL 2XW 28 3 Problems with Internet Access Table 28 4 Troubleshooting Internet Access PROBLEM CORRECTIVE ACTION Cannot Connect your cable DSL modem with the ZyWALL using appropriate cable access the Check with the manufacturer of your cable DSL device about your cable requirement Internet because some devices may require crossover cable and others a regular straight through cable Verify your settings in menu 3 2 and menu 4 23 2 Problems with the Password Table 28 5 Troubleshooting the Password PROBLEM CORRECTIVE ACTION Cannot The password field is case sensitive Make sure that you enter the correct password access the using the proper casing ZyWALL Use the Reset button to restore the factory default configuration file This will restore all of the factory defaults including the password See the Resetting the ZyWALL section for details 28 4 Problems with Remote Management Table 28 6 Troubleshooting Telnet PROBLEM CORRECTIVE ACTION Cannot Refer to the Remote Management Limitations section for scenarios when remote access the management may not be p
145. IEEE 802 1x e User based identification that allows for roaming Wireless LAN with IEEE 802 1x 23 ZyWALL 2X and ZyWALL 2XW e Support for RADIUS Remote Authentication Dial In User Service RFC 2138 2139 for centralized user profile and accounting management on a network RADIUS server e Support for EAP Extensible Authentication Protocol RFC 2486 that allows additional authentication methods to be deployed with no changes to the access point or the wireless clients RADIUS Server Authentication Sequence The following figure depicts a typical wireless network with a remote RADIUS server for user authentication using EAPOL EAP Over LAN Radius Server DESEN mem Unauthorized State AP RADIUS Server RADIUS Access Request RADIUS Access Challenge e RADIUS Access Request A M Client computer RADIUS Access Accept access authorized RADIUS Access Deny Client computer access not authorized Diagram F 1 Sequences for EAP MD5 Challenge Authentication 24 Wireless LAN with IEEE 802 1x ZyWALL 2X and ZyWALL 2XW Wireless LAN with IEEE 802 1x 25 ZyWALL 2X and ZyWALL 2XW Appendix G PPPoE PPPoE in Action An ADSL modem bridges a PPP session over Ethernet PPP over Ethernet RFC 2516 from your PC to an ATM PVC Permanent Virtual Circuit which connects to a DSL Access Concentrator where the PPP session terminates see the next figure One
146. ION EXAMPLE MAC Address Assigned By Press SPACE BAR and then ENTER to choose one of two methods IP address to assign a MAC Address Choose Factory Default to select the factory attached on assigned default MAC Address Choose IP address attached on LAN LAN to use the MAC Address of that workstation whose IP you give in the following field IP Address This field is applicable only if you choose the IP address attached on 192 168 1 35 LAN method in the Assigned By field Enter the IP address of the computer on the LAN whose MAC you are cloning When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 6 2 WAN Setup ZyWALL 2X and ZyWALL 2XW Chapter 7 LAN Setup This chapter describes how to configure the LAN using Menu 3 LAN Setup 7 1 Introduction to LAN Setup This chapter describes how to configure the ZyWALL for LAN and wireless LAN connections 7 2 Accessing the LAN Menus From the main menu enter 3 to open Menu 3 LAN Setup Menu 3 LAN Setup 1 LAN Port Filter Setup 2 TCP IP and DHCP Setup 5 Wireless LAN Setup Enter Menu Selection Number Figure 7 1 Menu 3 LAN Setup 7 3 LAN Port Filter Setup This menu allows you to specify the filter sets that you wish to apply to the LAN traffic You seldom need to filter the LAN traffic however the filter sets may be useful t
147. IP X Peer Content Encapsulation Mode Tunnel IPSec Protocol EsP Pre Shared Key Encryption Algorithm DES Authentication Algorithm SHA1 Advanced Apply Reset Figure 27 4 Basic IKE VPN Rule Setup Table 27 7 Basic IKE VPN Rule Setup DESCRIPTION Select this check box to activate this VPN tunnel This option determines whether a VPN rule is applied before a packet leaves the firewall 27 8 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Keep Alive IPSec Keying Mode NAT Traversal Local Address Start Local Address End Mask Table 27 7 Basic IKE VPN Rule Setup DESCRIPTION Select this check box to turn on the keep alive feature for this SA Turn on keep alive to have the ZyWALL automatically reinitiate the SA after the SA lifetime times out even if there is no traffic The remote IPSec router must also have keep alive enabled in order for this feature to work Select IKE or Manual Key from the drop down list box IKE provides more protection so it is generally recommended Manual Key is a useful option for troubleshooting Select this check box to enable NAT traversal NAT traversal allows you to set up a VPN connection when there are NAT routers between the two IPSec routers The remote IPSec router must also have NAT traversal enabled You can use NAT traversal with ESP protocol using Transport or Tunnel mode but not with AH protocol nor with manual key management In or
148. IP address pair source and destination UDP also contains port pairs and ICMP has type and code information All of this data can be analyzed in order to build virtual connections in the cache For instance any UDP packet that originates on the LAN will create a cache entry Its IP address and port pairs will be stored For a short period of time UDP packets from the WAN that have matching IP and UDP information will be allowed back in through the firewall 13 10 Firewalls ZyWALL 2X and ZyWALL 2XW A similar situation exists for ICMP except that the ZyWALL is even more restrictive Specifically only outgoing echoes will allow incoming echo replies outgoing address mask requests will allow incoming address mask replies and outgoing timestamp requests will allow incoming timestamp replies No other ICMP packets are allowed in through the firewall simply because they are too dangerous and contain too little tracking information For instance ICMP redirect packets are never allowed in since they could be used to reroute traffic through attacking machines 13 5 5 Upper Layer Protocols Some higher layer protocols such as FTP and RealAudio utilize multiple network connections simultaneously In general terms they usually have a control connection which is used for sending commands between endpoints and then data connections which are used for transmitting bulk information Consider the FTP protocol A user on the LAN opens a
149. IUS FIELD DESCRIPTION EXAMPLE Authentication Server Active Select Yes from the drop down list box to enable user No authentication through an external authentication server Select No to enable user authentication using the local user database on the ZyWALL Server Address Enter the IP address of the external authentication server in 10 11 12 13 dotted decimal notation Wireless LAN Security Setup 8 7 ZyWALL 2X and ZyWALL 2XW Table 8 3 Authentication RADIUS FIELD DESCRIPTION EXAMPLE Port Number The default port of the RADIUS server for authentication is 1812 1812 You need not change this value unless your network administrator instructs you to do so with additional information Key Enter a password up to 31 alphanumeric characters as the key to be shared between the external authentication server and the access points The key is not sent over the network This key must be the same on the external authentication server and ZyWALL Accounting Server Active Select Yes from the drop down list box to enable user No authentication through an external accounting server Server Address Enter the IP address of the external accounting server in dotted 10 11 12 13 decimal notation Port Number The default port of the RADIUS server for accounting is 1813 1813 You need not change this value unless your network administrator instructs you to do so with additional information
150. If No the route to this remote node will be propagated to other hosts through RIP broadcasts RIP Direction Press SPACE BAR and then ENTER to select the RIP direction from None Both None In Only Out Only See the LAN Setup chapter for more default information on RIP The default for RIP on the WAN side is None It is recommended that you do not change this setting Version Press SPACE BAR and then ENTER to select the RIP version from N A RIP 1 RIP 2B RIP 2M or None 10 8 Remote Node Setup ZyWALL 2X and ZyWALL 2XW Table 10 4 Remote Node Network Layer Options Menu Fields FIELD DESCRIPTION EXAMPLE Multicast IGMP Internet Group Multicast Protocol is a session layer protocol None used to establish membership in a Multicast group The ZyWALL default supports both IGMP version 1 IGMP v1 and version 2 IGMP v2 Press SPACE BAR to enable IP Multicasting or select None to disable it See the LAN Setup chapter for more information on this feature Once you have completed filling in Menu 11 3 Remote Node Network Layer Options press ENTER at the message Press ENTER to Confirm to save your configuration and return to menu 11 or press ESC at any time to cancel 10 5 Remote Node Filter Move the cursor to the field Edit Filter Sets in menu 11 1 and then press SPACE BAR to set the value to Yes Press ENTER to open Menu 11 5 Remote Node Filter Use menu 11 5 to specify the filter set
151. If you have a dynamic IP 0 0 0 0 IP enter 0 0 0 0 as the Global Start IP Global End IP This is the ending global IP address IGA Type These are the mapping types discussed above see Table 12 2 Server Server allows us to specify multiple servers of different types behind NAT to this machine See later for some examples 12 10 NAT ZyWALL 2X and ZyWALL 2XW Table 12 4 SUA Address Mapping Rules Once you have finished configuring a rule in this menu press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC to cancel User Defined Address Mapping Sets Now look at option 1 in menu 15 1 Enter 1 to bring up this menu Look at the differences from the previous menu Note the extra Action and Select Rule fields mean you can configure rules in this screen Note also that the in the Set Name field means that this is a required field and you must enter a name for the set The entire set will be deleted if you leave the Set Name field blank and press ENTER are the bottom of the screen Menu 15 1 1 Address Mapping Rules Set Name NAT SET Idx Local Start IP Local End IP Global Start IP Global End IP 2 3x 4 De 6 Ty 8 95 0 n Action Edit Select Rule Press ENTER to Confirm or ESC to Cancel Figure 12 8 Menu 15 1 1 First Set The Type Local and Global Start End IPs are configured in menu 15 1 1 1 described later and the values are displ
152. Innovation Road II Science Based Industrial Park Hsinchu 300 Taiwan sales zyxel com tw 886 3 578 2439 ftp europe zyxel com NORTH support zyxel 1 714 632 0882 www zyxel com ZyXEL Communications Inc AMERICA 800 255 4101 1650 Miraloma Avenue PI tia CA 92870 U S A sales zyxel com 1 714 632 0858 ftp zyxel com acentia SCANDINAVIA support zyxel dk 45 3955 0700 www zyxel dk ZyXEL Communications A S Columbusvej 5 2860 Soeborg sales zyxel dk 45 3955 0707 ftp zyxel dk Denmark GERMANY support zyxel de 49 2405 6909 0 www zyxel de ZyXEL Deutschland GmbH Adenauerstr 20 A2 D 52146 sales zyxel de 49 2405 6909 99 Wuerselen Germany vi Customer Support ZyWALL 2X and ZyWALL 2XW Table of Contents EU A gl E ii Federal Communications Commission FCC Interference Statement eee iii Information for Canadian Users eere etes eee e eee ee ee eene ettet tn neta setas sense toss e eese to sees se tasses esse tn seen iv ZYXEL Limited Warranty P v Customer SUpport E vi List of KEES pec P xvi TASC OF Tables C D SES ENEE dE eege ECOS Ke S SSe SEIE evans xxiii lalrplp xxvii OVET VIEW EE I Chapter 1 Getting to Know Your ZyWALL esssssssessoescoesceosseosseossoossessoeseoesooesooesesssesssesseessoeceoesoossosesesse 1 1 1 1 Introducing the ZyWALL 2X 2XW isses ene
153. LL Click Reset to start this screen afresh 8 6 MAC Address Filtering Your ZyWALL checks the MAC address of the wireless client device against a list of allowed or denied MAC addresses However intruders could fake allowed MAC addresses so MAC based authentication is less secure than EAP authentication Click Wireless and the MAC Filter tab to the display the Wireless LAN MAC Filter screen F Local User Allow Association MAC Address Figure 8 7 WLAN MAC Address Filter 8 10 Wireless LAN Security Setup ZyWALL 2X and ZyWALL 2XW The following table describes the fields in this menu Table 8 5 WLAN MAC Address Filter FIELD DESCRIPTION Active Use the drop down list box to enable or disable MAC address filtering Define the filter action for the list of MAC addresses in the MAC address filter table Filter Action Select Deny Association to block access to the router MAC addresses not listed will be allowed to access the router Select Allow Association to permit access to the router MAC addresses not listed will be denied access to the router MAC Address Enter the MAC addresses in XX XX XX XX XX XX format of the client computers that are allowed or denied access to the ZyWALL in these address fields Click Apply to save these settings back to the ZyWALL Click Reset to start this screen afresh Wireless LAN Security Setup 8 11
154. N to LAN DU ditt Source Address fihi Destination IP Address ded 10 00 10 10 0 0 Any DestAdd DestEdit DestDelete SG SEN Any UDP AUTH TCP 113 BGP TCP 179 BOOTP_CLIENT UDP 68 Edit SE This is your MyService finished custom port This is the address range of the MyService servers Figure 16 10 Rule Configuration Example Creating Custom Rules 16 19 ZyWALL 2X and ZyWALL 2XW Step 8 On completing the configuration procedure for this Internet firewall rule the Rule Summary screen should look like the following Remember to click Apply when you have finished configuring your rule s to save your settings back to the ZyWALL Summary Attack Alert The firewall protects against Denial of Service DoS attacks when it is enabled M Enable Firewall Total Configured Rules 2 M Bypass Triangle Route Vacant Rules 8 Packet Direction WAN to LAN Di Configured rules for this packet direction are displayed in the summary table below What action do you want to take for packets NOT matching these Firewall rules Block Forward Do you want to log packets that don t match these rules V Log Status Source Address deier Service Type Action Log Address e see 0 0 10 10 0 0 15 Any vySericerTcPIUDP 12348 7 Forward Disable No Insert New Rule Before fi Rule Number Move Rule select an Index Number To fi Rule Number Rule 1 Allows a MyService co
155. OS remove previously installed gateways DNS Configuration Gateway WINS Configuration IP Address a it i The first gateway in the Installed Gateway list will be the default T TUM have a gateway IP address type it in the The address order in the list will be the order in which these New gateway field and click Add machines are used New gateway Installed gateways Cancel 4 Click OK to save and close the TCP IP Properties window 5 Click OK to close the Network window Insert the Windows CD if prompted 6 Turn on your ZyWALL and restart your computer when prompted Checking Modifying Your Computers IP Address 1 Click Start and then Run 2 In the Run window type winipcfg and then click OK to open the IP Configuration window 4 Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 3 Select your network adapter You should see your computer s static IP address subnet mask and default gateway in this screen Verify that your computer s static IP address is in the correct subnet 192 168 1 2 to 192 168 1 254 if using the default ZyWALL LAN IP address Alternatively to have the ZyWALL assign your computer a new IP address from the IP pool make sure your ZyWALL is turned on and click Renew in this screen EJIP Configuration Your computer can now communicate with the ZyWALL using the LAN port Setting Up Your Computer s IP Address 5 ZyWALL 2X and ZyWALL 2XW
156. PACE BAR and then ENTER to select the RIP None direction Options are Both In Only Out Only or None Version Press SPACE BAR and then ENTER to select the RIP version RIP 1 Options are RIP 1 RIP 2B or RIP 2M Incoming Enter the filter set s you wish to apply to the incoming traffic 1 Protocol Filters between this node and the ZyWALL Outgoing Enter the filter set s you wish to apply to the outgoing traffic 2 Protocol Filters between this node and the ZyWALL When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel LAN Setup 7 9 ZyWALL 2X and ZyWALL 2XW 7 6 Wireless LAN This section introduces the wireless LAN and some basic configuration Wireless LANs can be as simple as two computers with wireless network interface cards NICs communicating in a peer to peer network or as complex as a number of computers with wireless NICs communicating through access points which bridge network traffic to the wired LAN See Chapter 8 for information on wireless LAN security features 7 6 1 Channel IEEE 802 11b wireless devices use ranges of radio frequencies called channels Choose the radio channel depending on your geographical area Adjacent Access Points APs should use different channels to reduce crosstalk Crosstalk occurs when radio signals from access points overlap and cause interference that degrades perform
157. PTION AIM New ICQ TCP 5190 AOL s Internet Messenger service used as a listening port by ICQ AUTH TCP 113 Authentication protocol used by some servers BGP TCP 179 Border Gateway Protocol Creating Custom Rules 16 7 ZyWALL 2X and ZyWALL 2XW Table 16 2 Predefined Services SERVICE DESCRIPTION BOOTP CLIENT UDP 68 DHCP Client BOOTP SERVER UDP 67 DHCP Server CU A popular videoconferencing solution from White Pines Software SEEME TCP UDP 7648 24032 DNS UDP TCP 53 Domain Name Server a service that matches web names e g www zyxel com to IP numbers FINGER TCP 79 Finger is a UNIX or Internet related command that can be used to find out if a user is logged on FTP TCP 20 21 File Transfer Program a program to enable fast transfer of files including large files that may not be possible by e mail H 323 TCP 1720 NetMeeting uses this protocol HTTP TCP 80 Hyper Text Transfer Protocol a client server protocol for the world wide web HTTPS TCP 443 HTTPS is a secured http session often used in e commerce ICQ UDP 4000 This is a popular Internet chat program IKE UDP 500 The Internet Key Exchange algorithm is used for key distribution and management IPSEC TUNNEL AH 0 The IPSEC AH Authentication Header tunneling protocol uses this service IPSEC TUNNEL ESP 0 The IPSEC ESP Encapsulation Security Protocol tunneling protocol uses this service IRC TCP UDP 6667 This is another popular Inter
158. PVC can support any number of PPP sessions from your LAN PPPoE provides access control and billing functionality in a manner similar to dial up services using PPP Benefits of PPPoE PPPoE offers the following benefits 1 It provides you with a familiar dial up networking DUN user interface 2 It lessens the burden on the carriers of provisioning virtual circuits all the way to the ISP on multiple switches for thousands of users For GSTN PSTN amp ISDN the switching fabric is already in place 3 Itallows the ISP to use the existing dial up model to authenticate and optionally to provide differentiated services Traditional Dial up Scenario The following diagram depicts a typical hardware configuration where the PCs use traditional dial up networking il ISP 1 ISP 2 o 4 fo i 4 C Ou O c o O Diagram G 1 Single PC per Modem Hardware Configuration PPPoE 27 ZyWALL 2X and ZyWALL 2XW How PPPoE Works The PPPoE driver makes the Ethernet appear as a serial link to the PC and the PC runs PPP over it while the modem bridges the Ethernet frames to the Access Concentrator AC Between the AC and an ISP the AC is acting as a L2TP Layer 2 Tunneling Protocol LAC L2TP Access Concentrator and tunnels the PPP frames to the ISP The L2TP tunnel is capable of carrying multiple PPP sessions With PPPoE the VC Virtual Circuit is equivalent to the dial up connection and is between the modem and the AC
159. R ZyWALL When the Restore Configuration process is complete the ZyWALL will automatically restart 22 3 1 Restore Using FTP For details about backup using T FTP please refer to earlier sections on FTP and TFTP file upload in this chapter 22 8 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW m 2 sa Menu 24 6 System Maintenance Restore Configuration To transfer the firmware and configuration file to your workstation follow the procedure below Launch the FTP client on your workstation Type open and the IP address of your router Then type root and SMT password as requested Type put backupfilename rom 0 where backupfilename is the name of your backup configuration file on your workstation and rom 0 is the remote file name on the router This restores the configuration to your router The system reboots automatically after a successful file transfer For details on FTP commands please consult the documentation of your FTP client program For details on backup using TFTP note that you must remain in this menu to back up using TFTP please see your router manual Press ENTER to Exit Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Figure 22 7 Telnet into Menu 24 6 Launch the FTP client on your computer Enter open followed by a space and the IP address of your ZyWALL Press ENTER when prompted for a username Enter your password as
160. Rule from the Filter Type field and press ENTER to open Menu 21 1 x x TCP IP Filter Rule as shown next Menu 21 1 1 1 TCP IP Filter Rule Filter 1 1 Filter Type TCP IP Filter Rule Active Yes IP Protocol 0 IP Source Route No Destination IP Addr 0 0 0 0 IP Mask 0 0 0 0 Port 137 Port Comp Equal Source IP Addr 0 0 0 0 IP Mask 0 0 0 0 Port Port Comp None TCP Estab No More N A Log None Action Matched Drop Action Not Matched Check Next Rule Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 19 5 Menu 21 1 1 1 TCP IP Filter Rule The following table describes how to configure your TCP IP filter rule Table 19 3 TCP IP Filter Rule Menu Fields FIELD DESCRIPTION OPTIONS Active Press SPACE BAR and then ENTER to select Yes to Yes activate the filter rule or No to deactivate it No IP Protocol Protocol refers to the upper layer protocol e g TCP is 6 UDP 0 255 is 17 and ICMP is 1 Type a value between 0 and 255 A value of 0 matches ANY protocol IP Source Route Press SPACE BAR and then ENTER to select Yes to apply Yes the rule to packets with an IP source route option Otherwise No the packets must not have a source route option The majority of IP packets do not have source route Destination IP Address Enter the destination IP Address of the packet you wish to 0 0 0 0 filter This field is ignored if it is 0 0 0 0
161. SC to cancel Figure 5 2 Configure Dynamic DNS Follow the instructions in the next table to configure Dynamic DNS parameters Table 5 2 Configure Dynamic DNS Menu Fields FIELD DESCRIPTION EXAMPLE Service Provider This is the name of your Dynamic DNS service provider WWW DynDNS ORG default Active Press SPACE BAR to select Yes and then press ENTER to Yes make dynamic DNS active SMT Menu 1 General Setup 5 3 ZyWALL 2X and ZyWALL 2XW Table 5 2 Configure Dynamic DNS Menu Fields DDNS Type field Press SPACE BAR and then ENTER to select Yes When Yes is selected traffic is redirected to a URL that you have previously specified see www dyndns org for details FIELD DESCRIPTION EXAMPLE DDNS Type Press SPACE BAR and then ENTER to select DynamicDNS DynamicDNS if you have a dynamic IP address es Select StaticDNS if you default have a static IP address s Select CustomDNS to have dyns org provide DNS service for a domain name that you already have from a source other than dyndns org Host1 3 Enter your host name s in the fields provided You can specify me dyndns org up to two host names separated by a comma in each field EMAIL Enter your e mail address mail mailserver USER Enter your user name Password Enter the password assigned to you Enable Wildcard Your ZyWALL supports DYNDNS Wildcard Press SPACE BAR No and then ENTER to select Yes
162. SID Address Default Enabled Filtering Least Secure Most Secure Figure 8 1 ZyWALL Wireless Security Levels If you do not enable any wireless security on your ZyWALL your network is accessible to any wireless networking device that is within range Use the ZyWALL web configurator to configurator to set up your wireless LAN security settings Refer to the chapter on using the ZyWALL web configurator to see how to access the web configurator Wireless LAN Security Setup 8 1 ZyWALL 2X and ZyWALL 2XW 8 3 Data Encryption with WEP WEP encryption scrambles the data transmitted between the wireless clients and the access points to keep network communications private It encrypts unicast and multicast communications in a network Both the wireless clients and the access points must use the same WEP key for data encryption and decryption For wireless LAN setup refer to section 7 7 Your ZyWALL allows you to configure up to four 64 bit or 128 bit WEP keys but only one key can be enabled at any one time 8 3 1 Setting Up WEP In order to configure and enable WEP encryption click Wireless and the Wireless tab to the display the Wireless LAN screen Wireless MAC Filter 802 1X Local User RADIUS Database Wireless LAN Setup Enable Wireless LAN No ESSID wireless Hide ESSID No v Channel ID Channe 01 2412MHz RTS CTS Threshold 2432 q 2432 Fragmentation Threshold 2432 256 2432 WEP Encryption Disable D
163. SMT will use Address Mapping Set 1 Full Feature Address menu 15 1 see section 12 3 1 for further discussion You can Translation configure any of the mapping types described in Table 12 2 Choose Full Feature if you have multiple public WAN IP addresses for your ZyWALL NAT is disabled when you select this option None When you select this option the SMT will use Address Mapping Set SUA Only 255 menu 15 1 see section 12 3 1 Choose SUA Only if you have just one public WAN IP address for your ZyWALL 12 3 NAT Setup Use the address mapping sets menus and submenus to create the mapping table used to assign global addresses to computers on the LAN You can see two NAT address mapping sets in menu 15 1 You can only configure Set 1 Set 255 is used for SUA When you select Full Feature in menu 4 or 11 3 the SMT 12 8 NAT ZyWALL 2X and ZyWALL 2XW will use Set 1 which supports all mapping types as outlined in Table 12 2 When you select SUA Only the SMT will use the pre configured Set 255 read only The server set is a list of LAN servers mapped to external ports To use this set a server rule must be set up inside the NAT address mapping set Please see section 12 4 for further information on these menus To configure NAT enter 15 from the main menu to bring up the following screen Menu 15 NAT Setup Address Mapping Sets Server Set Trigger Port Setup Enter Menu Selection Number Figu
164. Select Main or Aggressive from the drop down list box The ZyWALL s negotiation mode should be identical to that on the remote secure gateway Select DES or 3DES from the drop down list box The ZyWALL s encryption algorithm should be identical to the secure remote gateway When DES is used for data communications both sender and receiver must know the same secret key which can be used to encrypt and decrypt the message The DES encryption algorithm uses a 56 bit key Triple DES 3DES is a variation on DES that uses a 168 bit key As a result 3DES is more secure than DES It also requires more processing power resulting in increased latency and decreased throughput Select SHA1 or MD5 from the drop down list box The ZyWALL s authentication algorithm should be identical to the secure remote gateway MD5 Message Digest 5 and SHA1 Secure Hash Algorithm are hash algorithms used to authenticate the source and integrity of packet data The SHA1 algorithm is generally considered stronger than MD5 but is slower Select SHA 1 for maximum security Define the length of time before an IKE SA automatically renegotiates in this field It may range from 60 to 3 000 000 seconds almost 35 days A short SA Life Time increases security by forcing the two VPN gateways to update the encryption and authentication keys However every time the VPN tunnel renegotiates all users accessing remote resources are temporarily disconnected VPN IPSec Setup
165. System Folder T My Network Places File Edit View Favorites Tools Help O P seh gt Foes E Address My Network Places Network Tasks 314 Plus Internet 2 Add a network place View network connections f setup a home or small office network Ai View workgroup computers Create Shortcut Rename Other Places Properties Esi x Accton EN1207D TX PCI Fast ZyXEL ZyWALL 10W Internet Security Gateway UPnP ZyWALL 2X and ZyWALL 2XW Step 6 Right click on the icon for your ZyXEL ZyXEL Prestige 314 Plus Internet Sharing Gateway Pr x device and select Properties A properties window displays with basic information about the ZyXEL device WXEL Prestige 314 Plus Internet Sharing Gateway Manufacturer ZyXEL Model Name ZyXEL Intemet Sharing Gateway Model Number Prestige 314 Plus Description ZyXEL Prestige 314 Plus Internet Sharing Gateway Device Address http 192 168 10 1 44 UPnP ZyWALL 2X and ZyWALL 2XW Appendix K IP Subnetting IP Addressing Routers route based on the network number The router that delivers the data packet to the correct destination host uses the host ID IP Classes An IP address is made up of four octets eight bits written in dotted decimal notation for example 192 168 1 1 IP addresses are categorized into different classes The class of an address depends on the value of its first octet gt Class A addresses hav
166. TCP destport range start port 4 end port 4 config edit firewall set set gt rule rule 4 UDP destport single port gt config edit firewall set set gt rule rule gt UDP destport range start port 4 end port 4 config delete firewall e mail config delete firewall attack config delete firewall set set f config delete firewall set set gt rule rule 4 DESCRIPTION This command sets a rule to have the ZyWALL check for traffic going to this range of addresses This command sets a rule to have the ZyWALL check for TCP traffic with this destination address You may repeat this command to enter various non consecutive port numbers This command sets a rule to have the ZyWALL check for TCP traffic with a destination port in this range This command sets a rule to have the ZyWALL check for UDP traffic with this destination address You may repeat this command to enter various non consecutive port numbers This command sets a rule to have the ZyWALL check for UDP traffic with a destination port in this range This command removes all of the settings for e mail alert This command resets all of the attack response settings to their defaults This command removes the specified set from the firewall configuration This command removes the specified rule in a firewall configuration set Firewall Commands 63 ZyWALL 2X and ZyWALL 2XW 64 Firewall Commands
167. TP please see the chapter on firmware and configuration file maintenance for details To use this feature your computer must have an FTP client 24 4 Web You can use the ZyWALL s embedded web configurator for configuration and file management See the Using the ZyWALL Web Configurator chapter for an introduction to the web configurator 24 5 SNMP Simple Network Management Protocol is a protocol used for exchanging management information between network devices Your ZyWALL supports SNMP agent functionality which allows a manager station to manage and monitor the ZyWALL through the network Refer to the SNMP chapter for more information 24 6 DNS Use DNS Domain Name System to map a domain name to its corresponding IP address and vice versa for example the IP address of www zyxel com is 204 217 0 2 Refer to the Internet Access chapter for more information 24 7 Remote Management Remote management control is for managing Telnet Web and FTP services You can customize the service port access interface and the secured client IP address to enhance security and flexibility You may manage your ZyWALL from a remote location via Internet WAN only gt ALL LAN and WAN 24 2 Remote Management ZyWALL 2X and ZyWALL 2XW LANonly Neither Disable When you Choose WAN only or ALL LAN amp WAN you still need to configure a firewall rule to allow access To disable remote management of a service se
168. User N A Specified IP Addr field When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel The IP address updates when you reconfigure menu 1 or perform DHCP client renewal SMT Menu 1 General Setup 5 5 ZyWALL 2X and ZyWALL 2XW Chapter 6 WAN Setup This chapter describes how to configure the WAN using menu 2 6 1 Introduction to WAN Setup This chapter explains how to configure settings for your WAN port 6 2 Cloning The MAC Address The MAC address field allows users to configure the WAN port s MAC address by using either the factory default or cloning the MAC address from a computer on your LAN Once it is successfully configured the address will be copied to the rom file ZyNOS configuration file It will not change unless you change the setting in menu 2 or upload a different rom file ZyXEL recommends that you clone the MAC address of a computer on your LAN even if your ISP does not require MAC address authentication 6 3 WAN Setup From the main menu enter 2 to open menu 2 Menu 2 WAN Setup MAC Address Assigned By Factory default IP Address N A Figure 6 1 MAC Address Cloning in WAN Setup The following table contains instructions on how to configure your WAN setup WAN Setup 6 1 ZyWALL 2X and ZyWALL 2XW Table 6 1 MAC Address Cloning in WAN Setup FIELD DESCRIPT
169. WALL supports three logical LAN interfaces via its single physical Ethernet interface with the ZyWALL itself as the gateway for each LAN network Use menu 3 2 1 to configure IP Alias on your ZyWALL ZYWALL LAN 1 IP address menu 3 2 LAN 2 IP alias 1 menu 3 2 1 LAN 3 IP alias 2 menu 3 2 1 Ethernet Interface Figure 7 3 Physical Network Figure 7 4 Partitioned Logical Networks 7 5 TCP IP and DHCP Ethernet Setup Menu From the main menu enter 3 to open Menu 3 LAN Setup to configure TCP IP RFC 1155 and DHCP Ethernet setup LAN Setup 7 5 ZyWALL 2X and ZyWALL 2XW Menu 3 LAN Setup 1 LAN Port Filter Setup 2 TCP IP and DHCP Setup 5 Wireless LAN Setup Enter Menu Selection Number Figure 7 5 Menu 3 TCP IP and DHCP Setup From menu 3 select the submenu option TCP IP and DHCP Setup and press ENTER The screen now displays Menu 3 2 TCP IP and DHCP Ethernet Setup as shown next Menu 3 2 TCP IP and DHCP Ethernet Setup First address in DHCP Server the IP Pool Configuration Client IP Pool Starting Address 192 168 1 3 Size of Client IP Pool 3 Primary DNS Server 0 0 0 0 Secondary DNS Server 0 0 0 0 DHCP Server Address N A Size of the IP Pool TCP IP Setup IP Address 192 168 1 1 IP Subnet Mask 255 255 255 0 RIP Direction Both Version RIP 1 Multicast None Edit IP Alias No IP Policies IP addresses of the DNS servers Press ENTER to Confirm or
170. Wizard window displays s Network Connections File Edit View Favorites Q Back d Address e Network Connection Network Tasks Tools Operator Assisted Dialing Dial up Preferences e Network Identification Bridge Connections Advanced Settings Optional Networking Components EL Create a new connection UPnP 39 ZyWALL 2X and ZyWALL 2XW Step 4 Step 5 Step 6 Select Networking Service in the Components selection box and click Details In the Networking Services window select the Universal Plug and Play check box Click OK to go back to the Windows Optional Networking Component Wizard window and click Next Windows Optional Networking Components Wizard Wi indows Components You can add or remove components of Windows XP To add or remove a component click the checkbox amp shaded box means that only part of the component will be installed To see what s included in a component click Details EE Se oO 22 Management and Monitoring Tools 1 9MB o 2 Oth ile and Print Services Description Contains a variety of specialized network related services and protocols 0 0 MB 260 9 MB Total disk space required Space available on disk Networking Services To add of remove a component click the check box A shaded box means that only part of the component will be installed To see what s included in a component click Details Sub Ivi Descripti
171. ZyWALL 2X 2XW SOHO Internet Security Gateway Wireless SOHO Internet Security Gateway User s Guide Version 3 60 March 2003 YA Networking Power ZyWALL 2X and ZyWALL 2XW Copyright Copyright 2003 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 1s 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 ZyWALL 2X and ZyWALL 2XW 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 interfe
172. a firewall rule set config display firewall attack This command shows all of the attack response settings 58 Firewall Commands ZyWALL 2X and ZyWALL 2XW FUNCTION Edit E mail Chart N 1 Firewall Commands COMMAND config display firewall e mail config display firewall edit firewall e mail mail lt ip address of mail server config server config edit firewall e mail return addr e mail address config edit firewall e mail email to e mail address config edit firewall e mail policy full hourly daily weekly config edit firewall e mail day sunday monday tuesday wednesday thursday friday saturday config edit firewall e mail hour 0 23 config edit firewall e mail minute 0 59 DESCRIPTION This command shows all of the e mail settings This command shows all of the available firewall sub commands This command sets the IP address to which the e mail messages are sent This command sets the source e mail address of the firewall e mails This command sets the e mail address to which the firewall e mails are sent This command sets how frequently the firewall log is sent via e mail This command sets the day on which the current firewall log is sent through e mail if the ZyWALL is set to send it on a weekly basis This command sets the hour when the firewall log is sent through e mail if the ZyWALL is set to send it on an hourly daily or wee
173. access the firewall or the network 5 For local services that are enabled protect against misuse Protect by configuring the services to communicate only with specific peers and protect by configuring rules to block packets for the services at specific interfaces 6 Protect against IP spoofing by making sure the firewall is active Firewalls 13 11 ZyWALL 2X and ZyWALL 2XW 7 Keep the firewall in a secured locked room 13 7 Packet Filtering Vs Firewall Below are some comparisons between the ZyWALL s filtering and firewall functions 13 7 1 Packet Filtering Q Q The router filters packets as they pass through the router s interface according to the filter rules you designed Packet filtering is a powerful tool yet can be complex to configure and maintain especially if you need a chain of rules to filter a service Packet filtering only checks the header portion of an IP packet When To Use Filtering 1 2 3 To block allow LAN packets by their MAC addresses To block allow special IP packets which are neither TCP nor UDP nor ICMP packets To block allow both inbound WAN to LAN and outbound LAN to WAN traffic between the specific inside host network A and outside host network B If the filter blocks the traffic from A to B it also blocks the traffic from B to A Filters cannot distinguish traffic originating from an inside host or an outside host by IP address To block allow IP trace
174. ails code Sd icmp echo ICMP The firewall detected an ICMP echo attack See the section on ICMP type d code d messages for type and code details 72 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 5 Attack Logs LOG MESSAGE DESCRIPTION syn flood TCP The firewall detected a TCP syn flood attack ports scan TCP The firewall detected a TCP port scan attack teardrop TCP The firewall detected a TCP teardrop attack teardrop UDP The firewall detected an UDP teardrop attack teardrop ICMP type d code d The firewall detected an ICMP teardrop attack see the section on ICMP messages for type and code details illegal command TCP The firewall detected a TCP illegal command attack NetBIOS TCP The firewall detected a TCP NetBIOS attack ip spoofing no routing entry TCP The firewall detected a TCP IP spoofing attack while the ZyWALL did not have a default route ip spoofing no routing entry UDP The firewall detected an UDP IP spoofing attack while the ZyWALL did not have a default route ip spoofing no routing entry IGMP The firewall detected an IGMP IP spoofing attack while the ZyWALL did not have a default route ip spoofing no routing entry ESP The firewall detected an ESP IP spoofing attack while the ZyWALL did not have a default route ip spoofing no routing entry GRE The firewall detected a GRE IP s
175. ally when it is no longer in use How do know if I m using UPnP UPnP hardware is identified as an icon in the Network Connections folder Windows XP Each UPnP compatible device installed on your network will appear as a separate icon Selecting the icon of a UPnP device will allow you to access the information and properties of that device UPnP and ZyXEL ZyXEL has achieved UPnP certification from the Universal Plug and Play Forum Creates UPnPTM Implementers Corp UIC ZyXEL s UPnP implementation supports IGD 1 0 Internet Gateway Device At the time of writing ZyXEL s UPnP implementation supports Windows Messenger 4 6 and 4 7 while Windows Messenger 5 0 and Xbox are still being tested UPnP broadcasts are only allowed on the LAN Please see your Users Guide for examples of installing UPnP in Windows XP and Windows Me as well as an example of using UPnP in Windows NAT Traversal UPnP NAT Traversal automates the process of allowing an application to operate through NAT UPnP network devices can automatically configure network addressing announce their presence in the network to other UPnP devices and enable exchange of simple product and service descriptions NAT traversal allows the following e Dynamic port mapping e Learning public IP addresses e Assigning lease times to mappings Windows Messenger is an example of an application that supports NAT Traversal and UPnP See the NAT chapter for further information about NAT
176. ance 7 6 2 ESS ID Extended Service Set ESS is defined as one or more APs acting as a bridge between a wired LAN and the associated wireless clients The ESS ID is a unique ID given to the APs and the wireless clients that participate in the same wireless network You can think of the ESS ID as being similar to a workgroup name in a Microsoft network The ESS ID provides a minimum level of security for your network see Chapter 8 for more information 7 6 3 RTS Threshold The RTS Request To Send Threshold prevents the problem of hidden nodes The hidden node problem occurs when two stations are within range of the same access point but are not within range of each other The following figure illustrates the hidden node problem Both stations STA are within range of the AP however they cannot hear each other Therefore they are considered hidden from each other When a station starts data transmission with the AP it might not know that the other station is already using the wireless medium When these two stations send data at the same time it might collide when arriving simultaneously at the AP The collision will almost certainly result in a loss of messages for both stations 7 10 LAN Setup ZyWALL 2X and ZyWALL 2XW RIS Range CTS Range FS Te CR l Stations do yot hear each other But th dy hear the AP Figure 7 8 RTS Threshold The RTS Threshold mechanism prov
177. and ZyWALL 2XW Table 10 6 Traffic Redirect Setup FIELD DESCRIPTION EXAMPLE Configuration Backup Enter the IP address of your backup gateway in dotted decimal notation 0 0 0 0 Gateway IF The ZyWALL automatically forwards traffic to this IP address if the Address F E ZyWALL s Internet connection terminates Metric Enter a number from 1 to 15 to set this route s priority among the 15 ZyWALL s routes The smaller the number the higher priority the route default has Check WAN Enter the IP address of a reliable nearby computer for example your 0 0 0 0 IP Address ISP s DNS server address to test your ZyWALL s WAN accessibility The ZyWALL uses the default gateway IP address if you do not enter an IP address here If you are using PPTP or PPPoE Encapsulation enter 0 0 0 0 to configure the ZyWALL to check the PVC Permanent Virtual Circuit or PPTP tunnel Fail Tolerance Enter the number of times your ZyWALL may attempt and fail to connect 2 to the Internet before traffic is forwarded to the backup gateway Two to five is usually a good number Period sec Enter the time interval in seconds between WAN connection checks 5 Five to 60 is usually a good number Timeout sec Enter the number of seconds the ZyWALL waits for a ping response from the IP Address in the Check WAN IP Address field before it times out The number in this field should be less than the number in th
178. are forwarded through the interface When the connection terminates or times out the connection s state table entry is deleted and the connection s temporary inbound access list entries are deleted 13 5 2 Stateful Inspection and the ZyWALL Additional rules may be defined to extend or override the default rules For example a rule may be created which will i ii iii iv Block all traffic of a certain type such as IRC Internet Relay Chat from the LAN to the Internet Allow certain types of traffic from the Internet to specific hosts on the LAN Allow access to a Web server to everyone but competitors Restrict use of certain protocols such as Telnet to authorized users on the LAN Firewalls 13 9 ZyWALL 2X and ZyWALL 2XW These custom rules work by evaluating the network traffic s Source IP address Destination IP address IP protocol type and comparing these to rules set by the administrator The ability to define firewall rules is a very powerful tool Using custom rules it is possible to disable all firewall protection or block all access to the Internet Use extreme caution when creating or deleting firewall rules Test changes after creating them to make sure they work correctly Below is a brief technical description of how these connections are tracked Connections may either be defined by the upper protocols for instance TCP or by the ZyWALL itself as with the virtual connections created
179. argeted system to issue a SYN ACK response While the targeted system waits for the ACK that follows the SYN ACK it queues up all outstanding SYN ACK responses on what is known as a backlog queue SYN ACKs are moved off the queue only when an ACK comes back or when an internal timer which is set at relatively long intervals terminates the three way handshake Once the queue is full the system will ignore all incoming SYN requests making the system unavailable for legitimate users Client SYN ACK SYN ACK SYN ACK Server oo Figure 13 3 SYN Flood Firewalls 13 5 ZyWALL 2X and ZyWALL 2XW 2 b In a LAND Attack hackers flood SYN packets into the network with a spoofed source IP address of the targeted system This makes it appear as if the host computer sent the packets to itself making the system unavailable while the target system tries to respond to itself 3 A brute force attack such as a Smurf attack targets a feature in the IP specification known as directed or subnet broadcasting to quickly flood the target network with useless data A Smurf hacker floods a router with Internet Control Message Protocol ICMP echo request packets pings Since the destination IP address of each packet is the broadcast address of the network the router will broadcast the ICMP echo request packet to all hosts on the network If there are numerous hosts this will create a large amount of ICMP echo request and response traffic
180. articular rule occurs config edit firewall set set gt This command sets the rule to have the ZyWALL rule rule gt srcaddr single ip check for traffic with this individual source address address config edit firewall set set gt This command sets a rule to have the ZyWALL rule rule gt srcaddr subnet ip check for traffic from a particular subnet defined by address subnet mask IP address and subnet mask config edit firewall set set gt This command sets a rule to have the ZyWALL rule lt rule gt srcaddr range lt start check for traffic from this range of addresses ip address gt lt end ip address gt config edit firewall set lt set gt This command sets the rule to have the ZyWALL rule lt rule gt destaddr single lt ip check for traffic with this individual destination address gt address config edit firewall set lt set gt This command sets a rule to have the ZyWALL rule lt rule gt destaddr subnet lt ip check for traffic with a particular subnet destination address gt lt subnet mask gt defined by IP address and subnet mask 62 Firewall Commands ZyWALL 2X and ZyWALL 2XW FUNCTION Delete Chart N 1 Firewall Commands COMMAND config edit firewall set set 4 rule rule gt destaddr range start ip address end ip address config edit firewall set set gt rule rule gt TCP destport single port gt config edit firewall set set gt rule rule gt
181. as only one is active at any time When the local IP address is a single address type it a second time here When the local IP address is a range enter the end static IP address in a range of computers on the LAN When the local IP address is a subnet enter the subnet mask on the LAN 0 is the default and signifies any port Type a port number from 0 to 65535 Some of the most common IP ports are 21 FTP 53 DNS 23 Telnet 80 HTTP 25 SMTP 110 POP3 Enter a port number in this field to define a port range This port number must be greater than that specified in the previous field or equal to it for configuring an individual port Enter the beginning static IP address in a range of computers behind the remote secure gateway This address should be specific to the remote computer using the VPN tunnel If you wish to configure the tunnel for a single IP address enter it in this field and again in the Remote Address End field Enter the end static IP address in a range of computers on behind the remote secure gateway This address should be specific to the remote computer using the VPN tunnel If you wish to configure the tunnel for a single IP address enter it in both the Remote Address Start field and here VPN IPSec Setup 27 17 ZyWALL 2X and ZyWALL 2XW Table 27 8 Advanced IKE VPN Rule Setup 0 is the default and signifies any port Type a port number from 0 to 65535 Some of the Remote Port Start m
182. ation See the section on ICMP messages for type and code details Firewall defaul policy IGMP set d ct IGMP access matched the default policy of the listed ACL set and the ZyWALL blocked or forwarded it according to the ACL set s configuration Firewall defaul eh ct ESP access matched the default policy of the listed ACL set and the policy ESP set d ZyWALL blocked or forwarded it according to the ACL seis configuration Firewall default GRE access matched the default policy of the listed ACL set and the policy GRE set d ZyWALL blocked or forwarded it according to the ACL seis configuration Firewall default OSPF access matched the default policy of the listed ACL set and the policy OSPF set d ZyWALL blocked or forwarded it according to the ACL set s configuration Firewall defaul policy set d Access matched the default policy of the listed ACL set and the ZyWALL blocked or forwarded it according to the ACL set s configuration Firewall rule match TCP set d rule d TCP access matched the listed firewall rule and the ZyWALL blocked or forwarded it according to the rule s configuration Firewall rule match UDP set d rule d UDP access matched the listed firewall rule and the ZyWALL blocked or forwarded it according to the rule s configuration Firewall rule match ICMP set d rule d type d code d ICMP access ma
183. ault gateway 21 12 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW DHCP LAN WAN Server Client None None ZyWALL Figure 21 11 WAN amp LAN DHCP The following table describes the diagnostic tests available in menu 24 4 for your ZyWALL and associated connections Table 21 4 System Maintenance Menu Diagnostic FIELD DESCRIPTION Ping Host Enter 1 to ping any machine with an IP address on your LAN or WAN Enter its IP address in the Host IP Address field below WAN DHCP Release Enter 2 to release your WAN DHCP settings WAN DHCP Renewal Enter 3 to renew your WAN DHCP settings Internet Setup Test Enter 4 to test the Internet setup You can also test the Internet setup in Menu 4 Internet Access Please refer to the Internet Access chapter for more details This feature is only available for dial up connections using PPPoE or PPTP encapsulation Reboot System Enter 11 to reboot the ZyWALL Host IP Address If you entered 1 in Ping Host then enter the IP address of the computer you want to ping in this field Enter the number of the selection you would like to perform or press ESC to cancel System Information and Diagnosis 21 13 ZyWALL 2X and ZyWALL 2XW Chapter 22 Firmware and Configuration File Maintenance This chapter tells you how to back up and restore your configuration file as well as upload new firmware and a new configuration file 22 1 Fil
184. ayed here Ordering Your Rules Ordering your rules is important because the ZyWALL applies the rules in the order that you specify When a rule matches the current packet the ZyWALL takes the corresponding action and the remaining rules are ignored If there are any empty rules before your new configured rule your configured rule will be pushed NAT 12 11 ZyWALL 2X and ZyWALL 2XW up by that number of empty rules For example if you have already configured rules 1 to 6 in your current set and now you configure rule number 9 In the set summary screen the new rule will be rule 7 not 9 Now if you delete rule 4 rules 5 to 7 will be pushed up by 1 rule so as old rule 5 becomes rule 4 old rule 6 becomes rule 5 and old rule 7 becomes rule 6 Table 12 5 Fields in Menu 15 1 1 FIELD DESCRIPTION EXAMPLE Set Name Enter a name for this set of rules This is a required field If this field is left NAT SET blank the entire set will be deleted Action The default is Edit Edit means you want to edit a selected rule see Edit following field Insert Before means to insert a rule before the rule selected The rules after the selected rule will then be moved down by one rule Delete means to delete the selected rule and then all the rules after the selected one will be advanced one rule None disables the Select Rule item Select When you choose Edit Insert Before or Delete in the previous field the 1 Rule
185. bytes for the fragmentation boundary for 2432 Threshold directed messages It is the maximum data fragment size that can be sent default Enter a value between 256 and 2432 When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel The ZyWALL LAN Ethernet and wireless ports can transparently communicate with each other transparent bridge LAN Setup 7 13 ZyWALL 2X and ZyWALL 2XW Chapter 8 Wireless LAN Security Setup This chapter describes the types of security you can enable on the ZyWALL Wireless LAN is available on the ZyWALL 2XW 8 1 Introduction to Wireless LAN Security Wireless security is vital to your network to protect wireless communication between wireless clients access points and other wireless Use the web configurator to configure your ZyWALL s wireless LAN security settings Refer to the Introducing the Web Configurator chapter for details on how to access and navigate the web configurator 8 2 Levels of Security The figure below shows the possible wireless security levels on your ZyWALL The highest security level is EAP Extensible Authentication Protocol authentication It requires interaction with a RADIUS Remote Authentication Dial In User Service server either on the WAN or your LAN to provide authentication service for wireless clients Unique ESSID Unique with Hide MAC ESS ID ES
186. c is a standards based VPN that offers flexible solutions for secure data communications across a public network like the Internet IPSec is built around a number of standardized cryptographic techniques to provide confidentiality data integrity and authentication at the IP layer 26 1 2 Security Association A Security Association SA is a contract between two parties indicating what security parameters such as keys and algorithms they will use 26 1 3 Other Terminology Encryption Encryption is a mathematical operation that transforms data from plaintext readable to ciphertext scrambled text using a key The key and clear text are processed by the encryption operation which leads to the data scrambling that makes encryption secure Decryption is the opposite of encryption it is a mathematical operation that transforms ciphertext to plaintext Decryption also requires a key Introduction to IPSec 26 1 ZyWALL 2X and ZyWALL 2XW Plaintext Encryption Ciphertex Key Ciphertext Decryption Plaintext Key Figure 26 1 Encryption and Decryption gt Data Confidentiality The IPSec sender can encrypt packets before transmitting them across a network gt Data Integrity The IPSec receiver can validate packets sent by the IPSec sender to ensure that the data has not been altered during transmission gt Data Origin Authentication The IPSec receiver can verify the source of IPSec packets This service depends
187. c for certain servers If your network is slower than average for any of these factors especially if you have servers that are slow or handle many tasks and are often busy then the default values should be reduced You should make any changes to the threshold values before you continue configuring firewall rules 15 3 2 Half Open Sessions An unusually high number of half open sessions either an absolute number or measured as the arrival rate could indicate that a Denial of Service attack 1s occurring For TCP half open means that the session has not reached the established state the TCP three way handshake has not yet been completed see Figure 13 2 For UDP half open means that the firewall has detected no return traffic The ZyWALL measures both the total number of existing half open sessions and the rate of session establishment attempts Both TCP and UDP half open sessions are counted in the total number and rate measurements Measurements are made once a minute When the number of existing half open sessions rises above a threshold max incomplete high the ZyWALL starts deleting half open sessions as required to accommodate new connection requests The ZyWALL continues to delete half open requests as necessary until the number of existing half open sessions drops below another threshold max incomplete low Firewall Configuration 15 3 ZyWALL 2X and ZyWALL 2XW When the rate of new connection attempts rises above a th
188. ce IP address Destination IP address and IP protocol type of network traffic to rules set by the administrator Your customized rules take precedence and override the ZyW ALU s default rules 16 2 Rule Logic Overview Study these points carefully before configuring rules 16 2 1 Rule Checklist 1 State the intent of the rule For example This restricts all IRC access from the LAN to the Internet Or This allows a remote Lotus Notes server to synchronize over the Internet to an inside Notes server Is the intent of the rule to forward or block traffic What direction of traffic does the rule apply to refer to 6 1 What IP services will be affected What computers on the LAN are to be affected if any ED QE S What computers on the Internet will be affected The more specific the better For example if traffic 1s being allowed from the Internet to the LAN it is better to allow only certain machines on the Internet to access the LAN 16 2 2 Security Ramifications Once the logic of the rule has been defined it is critical to consider the security ramifications created by the rule 1 Does this rule stop LAN users from accessing critical resources on the Internet For example if IRC is blocked are there users that require this service 2 Is it possible to modify the rule to be more specific For example if IRC is blocked for all users will a rule that blocks just certain users be more effective 3
189. ces for information on PPTP Menu 11 1 Remote Node Profile Rem Node Name ChangeMe Active Yes Encapsulation PPTP Service Type Standard Service Name N A Outgoing My Login My Password Authen CHAP PAP PPTP My IP Addr My IP Mask Server IP Addr Connection ID Name Route IP Edit IP No Telco Option Allocated Budget min 0 Period hr 0 Schedules Nailed up Connections Session Options Edit Filter Sets No Idle Timeout sec 100 Edit Traffic Redirect No Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 10 4 Menu 11 1 Remote Node Profile for PPTP Encapsulation The next table shows how to configure fields in menu 11 1 not previously discussed above Table 10 3 Fields in Menu 11 1 PPTP Encapsulation FIELD DESCRIPTION XAMPLE Encapsulation Press SPACE BAR and then ENTER to select PPTP You must PPTP also go to menu 11 3 to check the IP Address setting once you have selected the encapsulation method 10 6 Remote Node Setup ZyWALL 2X and ZyWALL 2XW Table 10 3 Fields in Menu 11 1 PPTP Encapsulation My IP Addr Enter the IP address of the WAN Ethernet port 10 0 0 140 My IP Mask Enter the subnet mask of the WAN Ethernet port 255 255 255 0 Server IP Addr Enter the IP address of the ANT modem 10 0 0 138 Connection Enter the connection ID or connection name in the ANT It
190. choices are Full Feature None or SUA Only When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 9 3 PPTP Encapsulation Point to Point Tunneling Protocol PPTP is a network protocol that enables secure transfer of data from a remote client to a private server creating a Virtual Private Network VPN using TCP IP based networks PPTP supports on demand multi protocol and virtual private networking over public networks such as the Internet 9 2 Internet Access ZyWALL 2X and ZyWALL 2XW The ZyWALL supports only one PPTP server connection at any given time 9 3 1 Configuring the PPTP Client To configure a PPTP client you must configure the My Login and Password fields for a PPP connection and the PPTP parameters for a PPTP connection After configuring My Login and Password for PPP connection press SPACE BAR and then ENTER in the Encapsulation field in Menu 4 Internet Access Setup to choose PPTP as your encapsulation option This brings up the following screen Menu 4 Internet Access Setup ISP s Name ChangeMe Encapsulation PPTP Service Type N A My Login username My Password Idle Timeout 100 IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Address N A Network Address Translation SUA Only Press ENTER to Confirm or ESC to Cancel F
191. choices as shown in the next figure System Information and Diagnosis 21 3 ZyWALL 2X and ZyWALL 2XW Menu 24 2 System Information and Console Port Speed 1 System Information 2 Console Port Speed Please enter selection Figure 21 3 Menu 24 2 System Information and Console Port Speed 21 3 1 System Information System Information gives you information about your system as shown below More specifically it gives you information on your routing protocol Ethernet address IP address etc Menu 24 2 1 System Maintenance Information Name Routing IP ZyNOS F W Version V3 60 WJ 0 b6 01 09 2003 Country Code 255 LAN Ethernet Address 00 A0 C5 00 00 01 IP Address 192 168 1 1 IP Mask 255 255 255 0 DHCP Server Press ESC or RETURN to Exit Figure 21 4 Menu 24 2 1 System Maintenance Information 21 4 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW Table 21 2 Fields in System Maintenance Information FIELD DESCRIPTION Name This is the ZyWALL s system name domain name assigned in menu 1 For example System Name xxx Domain Name baboo mickey com Name xxx baboo mickey com Routing Refers to the routing protocol used ZyNOS F W Version Refers to the version of ZyXEL s Network Operating System software Ethernet Address Refers to the Ethernet MAC Media Access Control address of your ZyWALL IP Address This is the IP address of the ZyWALL
192. class A address can have a value of 0 to 127 Similarly the first octet of a class B must begin with 10 therefore the first octet of a class B address has a valid range of 128 to 191 The first octet of a class C address begins with 110 and therefore has a range of 192 to 223 Chart K 2 Allowed IP Address Range By Class CLASS ALLOWED RANGE OF FIRST OCTET ALLOWED RANGE OF FIRST OCTET BINARY DECIMAL Class A 00000000 to 01111111 0 to 127 Class B 10000000 to 10111111 128 to 191 Class C 11000000 to 11011111 192 to 223 Class D 11100000 to 11101111 224 to 239 Subnet Masks A subnet mask is used to determine which bits are part of the network number and which bits are part of the host ID using a logical AND operation A subnet mask has 32 bits each bit of the mask corresponds to a bit of the IP address If a bit in the subnet mask is a 1 then the corresponding bit in the IP address is part of the network number If a bit in the subnet mask is 0 then the corresponding bit in the IP address is part of the host ID Subnet masks are expressed in dotted decimal notation just as IP addresses are The natural masks for class A B and C IP addresses are as follows Chart K 3 Natural Masks CLASS NATURAL MASK A 255 0 0 0 B 255 255 0 0 C 255 255 255 0 Subnetting 46 IP Subnetting ZyWALL 2X and ZyWALL 2XW With subnettin
193. cted refer to instructions in the Hardware Installation chapter Prepare your computer computer network to connect to the ZyWALL refer to the Quick Start Guide Launch your web browser Type 192 168 1 1 as the URL Type 1234 default as the password and click Login In some versions the default password appears automatically if this is the case click Login You should see a screen asking you to change your password highly recommended as shown next Type a new password and retype it to confirm and click Apply or click Ignore Use this screen to change the password Figure 3 1 Change Password Screen You should now see the MAIN MENU screen Introducing the Web Configurator 3 1 ZyWALL 2X and ZyWALL 2XW The ZyWALL automatically times out after five minutes of inactivity Simply log back into the ZyWALL if this happens to you 3 3 Web Configurator Navigation Click a link on the navigation panel on the left to open a screen or a submenu ZyXEL Click WIZARD SETUP for initial configuration including general setup ISP parameters for WIZARD Internet Access and WAN IP DNS Server MAC SETUP address assignment SYSTEM LAN WAN SUA NAT STATIC ROUTE Use submenus to configure ZyWALL features FIREWALL el e ZyXEL embedde CONTENT FILTER VPN IPSEC REMOTE MGNT UPNP Click Wizard to configure your system for Internet access LOGS e Click any link under Setup to configure advanced settings MAINTENANCE e
194. d b Select Protocol and then click Add C Select Microsoft from the list of manufacturers d Select TCP IP from the list of network protocols and then click OK If you need Client for Microsoft Networks a Click Add b Select Client and then click Add C Select Microsoft from the list of manufacturers d Select Client for Microsoft Networks from the list of network clients and then click OK e Restart your computer so the changes you made take effect In the Network window Configuration tab select your network adapter s TCP IP entry and click Properties 2 Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 1 Click the IP Address tab TCP IP Properties To have your computer assigned a dynamic IP address select Obtain an IP address automatically To give your computer a static IP address select Specify an IP address and type your information into the IP Address and Subnet Mask fields Subnet Mask EE 2 Click the DNS Configuration tab TCP IP Properties If you do not know your DNS information select Disable DNS If you know your DNS information select Enable DNS and type the information in the fields below you may not need to fill them all Host GEES in Remove Setting Up Your Computer s IP Address 3 ZyWALL 2X and ZyWALL 2XW 3 Click the Gateway tab TCP IP Properties NN RR xd If you do not know your gateway s IP address Bindings Advanced NetBI
195. d Firmware and Configuration File Maintenance This part provides information on system information and diagnosis and maintaining the firmware i and configuration files VI ZyWALL 2X and ZyWALL 2XW Chapter 21 oystem Information amp Diagnosis This chapter covers SMT menus 24 1 to 24 4 Wireless LAN applies to the ZyWALL 2XW 21 1 Introduction to System Status This chapter covers the diagnostic tools that help you to maintain your ZyWALL These tools include updates on system status port status and log and trace capabilities Select menu 24 in the main menu to open Menu 24 System Maintenance as shown below Menu 24 System Maintenance System Status System Information and Console Port Speed Log and Trace Diagnostic Backup Configuration Restore Configuration Upload Firmware Command Interpreter Mode Call Control Time and Date Setting Remote Management Setup Low Oo A Oms GA eo Enter Menu Selection Number Figure 21 1 Menu 24 System Maintenance 21 2 System Status The first selection System Status gives you information on the version of your system firmware and the status and statistics of the ports as shown in the next figure System Status is a tool that can be used to System Information and Diagnosis 21 1 ZyWALL 2X and ZyWALL 2XW monitor your ZyWALL Specifically it gives you information on your system firmware version number of packets sent and numbe
196. d ZyWALL 2XW all communications to the Internet that originate from the LAN and blocks all traffic to the LAN that originates from the Internet In summary stateful inspection D Allows all sessions originating from the LAN local network to the WAN Internet Q Denies all sessions originating from the WAN to the LAN suiit we n JC E ei T d x WAN N Protected f 3 LAN User Aiinitiates a Telnet sessiof Dee M ttre tet tert ttt anil ZyWALL Figure 13 5 Stateful Inspection The previous figure shows the ZyWALL s default firewall rules in action as well as demonstrates how stateful inspection works User A can initiate a Telnet session from within the LAN and responses to this request are allowed However other Telnet traffic initiated from the WAN is blocked 13 5 1 Stateful Inspection Process In this example the following sequence of events occurs when a TCP packet leaves the LAN network through the firewall s WAN interface The TCP packet is the first in a session and the packet s application layer protocol is configured for a firewall rule inspection 13 8 Firewalls ZyWALL 2X and ZyWALL 2XW The packet travels from the firewall s LAN to the WAN The packet is evaluated against the interface s existing outbound access list and the packet is permitted a denied packet would simply be dropped at this point The packet is inspected by a firewall rule to determine and record information about the stat
197. d eh 20 2 System Timeout sse 24 5 MI Bs urapi ect ee 20 3 T Traps eei edens 20 3 TCP Maximum Incomplete 15 4 15 6 15 7 Trusted Host 20 4 TEP Security ds eite 13 10 Index ZyWALL 2X and ZyWALL 2XW TCP IP 7 2 7 5 7 7 10 7 13 3 13 4 19 6 19 7 Traffic Redirect 1 4 10 10 10 11 VR SC E E T H 10 12 SE ew iuret nato aiat GC eelere 16 E Eege e Triangle Route Sohuttons 17 TCP IP filter rules intr 19 6 dispen Dork E 12 24 OK ee GE 13 4 p C 12 25 Telnet iere EORR PREIS 24 1 A EE 12 25 Telnet Configuration sss 24 1 Trivial File Transfer EE SE See TFTP Tora E ROE a S e Troubleshooting 28 1 Terminal Emulator eee 2 4 EE 28 3 TRTE EE 22 5 LAN Intetfit z oce ta 28 2 File Upload ES 22 14 CR 282 SIDES Eeer aoe T rming OR d iergert 2 5 TFTP and FTP over WAN 22 4 U E UDP ICMP Security s cccsssesssesssserseetne 13 10 TFTP and FTP Over WAN 24 4 Unicast z xime etc ce der RH Ae 7 4 TFTP Restrictions LLL 22 4 24 4 Universal Plug and Play sss 1 3 Three Way Handshake usc 13 5 UNIX Syslog see 21 7 21 8 Threshold Values eee 15 3 E a a Se E EEN 12 Uv E 1 3 36 Time and Date Setting s 23 5 23 6 Upper DIyeEPTOtOCOB crunt Ie EE 23 6 EE eege Sc on Se quta ba 9 3 9 5 10 6 User Name osos ev DERE Ade 5 4 Tid Ee eegent 21 6 E
198. decimal digits 0 9 A F preceded by Ox for each key Key 4 There are four data encryption keys to secure your data from eavesdropping by unauthorized wireless users The values for the keys must be set up exactly the same on the access points as they are on the wireless client computers Click Apply to save your changes back to the ZyWALL Click Reset to begin configuring this screen afresh 8 4 Network Authentication You can set the ZyWALL and your network to authenticate a wireless client before the wireless client can communicate with the ZyWALL and the wired network to which the ZyWALL is connected 8 4 1 EAP EAP is an authentication protocol designed originally to run over PPP Point to Point Protocol frames in order to support multiple types of user authentication By using EAP to interact with an EAP compatible RADIUS server the access point helps a wireless client and a RADIUS server to perform mutual authentication Wireless LAN Security Setup 8 3 ZyWALL 2X and ZyWALL 2XW 8 4 2 RADIUS RADIUS is based on a client sever model that supports authentication authorization and accounting The access point is the client and the server 1s the RADIUS server The RADIUS server handles the following tasks e Authentication Determines the identity of the users e Authorization Determines the network services available to authenticated users once they are connected to the network e Accounti
199. default remote directory path Initial Local Directory Specify the default local directory path 22 2 5 File Maintenance Over WAN TFTP FTP and Telnet over the WAN will not work when 22 4 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW 1 The firewall is active turn the firewall off in menu 21 2 or create a firewall rule to allow access from the WAN 2 You have disabled Telnet service in menu 24 11 3 You have applied a filter in menu 3 1 LAN or in menu 11 5 WAN to block Telnet service 4 The IP you entered in the Secured Client IP field in menu 24 11 does not match the client IP If it does not match the ZyWALL will disconnect the Telnet session immediately 5 You have an SMT console session running 22 2 6 Backup Configuration Using TFTP The ZyWALL supports the up downloading of the firmware and the configuration file using TFTP Trivial File Transfer Protocol over LAN Although TFTP should work over WAN as well it is not recommended To use TFTP your computer must have both telnet and TFTP clients To backup the configuration file follow the procedure shown next Step 1 Use telnet from your computer to connect to the ZyWALL and log in Because TFTP does not have any security checks the ZyWALL records the IP address of the telnet client and accepts TFTP requests only from this address Step 2 Put the SMT in command interpreter CI mode by entering 8 in Menu 24
200. der for an IPSec router behind a NAT router to receive an initiating IPSec packet set the NAT router to forward UDP port 500 to the IPSec router behind the NAT router This is the IP address or range of IP addresses of the computer or computers on the LAN for which you are configuring the VPN connection the VPN host computer This IP address or range of IP addresses must correspond to the remote secure gateway s configured remote IP address es in order for the remote secure gateway to initiate the VPN connection When the local IP address is a range enter the beginning static IP address in a range of computers on the LAN When the local IP address is a subnet enter the IP address on the LAN Local IP addresses must be static and correspond to the remote IPSec router s configured remote IP addresses Two active SAs cannot have the local and remote IP address es both the same Two active SAs can have the same local or remote IP address but not both You can configure multiple SAs between the same local and remote IP addresses as long as only one is active at any time When the local IP address is a single address type it a second time here When the local IP address is a range enter the end static IP address in a range of computers on the LAN When the local IP address is a subnet enter the subnet mask on the LAN VPN IPSec Setup 27 9 ZyWALL 2X and ZyWALL 2XW Table 27 7 Basic IKE VPN Rule Setup Re
201. detected an IGMP attack attack ESP The firewall detected an ESP attack attack GRE The firewall detected a GRE attack attack OSPF The firewall detected an OSPF attack attack ICMP type d The firewall detected an ICMP attack see the section on ICMP code d messages for type and code details land TCP The firewall detected a TCP land attack land UDP The firewall detected an UDP land attack land IGMP The firewall detected an IGMP land attack land ESP The firewall detected an ESP land attack land GRE The firewall detected a GRE land attack land OSPF The firewall detected an OSPF land attack land ICMP type d The firewall detected an ICMP land attack see the section on ICMP code d messages for type and code details ip spoofing WAN TCP The firewall detected a TCP IP spoofing attack on the WAN port ip spoofing WAN UDP The firewall detected an UDP IP spoofing attack on the WAN port ip spoofing WAN The firewall detected an IGMP IP spoofing attack on the WAN port IGMP ip spoofing WAN ESP The firewall detected an ESP IP spoofing attack on the WAN port ip spoofing WAN GRE The firewall detected a GRE IP spoofing attack on the WAN port ip spoofing WAN The firewall detected an OSPF IP spoofing attack on the WAN port OSPF ip spoofing WAN The firewall detected an ICMP IP spoofing attack on the WAN port ICMP type d See the section on ICMP messages for type and code det
202. dress put transfers the file source on the computer firmware bin name of the firmware on the computer to the file destination on the remote host ras name of the firmware on the ZyWALL Commands that you may see in GUI based TFTP clients are listed earlier in this chapter 22 4 7 Uploading Via Console Port FTP or TFTP are the preferred methods for uploading firmware to your ZyWALL However in the event of your network being down uploading files is only possible with a direct connection to your ZyWALL via the console port Uploading files via the console port under normal conditions is not recommended since FTP or TFTP is faster Any serial communications program should work fine however you must use the Xmodem protocol to perform the download upload 22 4 8 Uploading Firmware File Via Console Port Step 1 Select 1 from Menu 24 7 System Maintenance Upload Firmware to display Menu 24 7 1 System Maintenance Upload System Firmware and then follow the instructions as shown in the following screen Firmware and Configuration File Maintenance 22 15 ZyWALL 2X and ZyWALL 2XW Menu 24 7 1 System Maintenance Upload System Firmware To upload system firmware 1 Enter y at the prompt below to go into debug mode 2 Enter atur after Enter Debug Mode message 3 Wait for Starting XMODEM upload message before activating Xmodem upload on your terminal 4 After successful firmware upload enter
203. dresses Rule 3 Map the other outgoing LAN traffic to IGA3 Many 1 mapping Rule 4 You also map your third IGA to the web server and mail server on the LAN Type Server allows you to specify multiple servers of different types to other computers behind NAT on the LAN The example situation looks somewhat like this NAT 12 19 ZyWALL 2X and ZyWALL 2XW Other Computers on the LAN Web Server 192 168 1 21 Mapping Rules 1 FTP 4 lt gt IGA 1 Type 1 1 2 FTP 2 lt gt IGA 2 Type 1 1 3 Other LAN traffic gt IGA 3 Type M 1 Outgoing Traffic 4 IGA 3 Internal web server and mail server Incoming Traffic ZyWALL Mail Server 192 168 1 20 31GAs 10 132 50 1 IGA 1 10 132 50 2 IGA 2 10 132 50 3 IGA 3 FTP Server 1 192 168 1 10 FTP Server 2 192 168 1 11 Figure 12 16 NAT Example 3 Step 1 In this case you need to configure Address Mapping Set 1 from Menu 15 1 Address Mapping Sets Therefore you must choose the Full Feature option from the Network Address Translation field in menu 4 or menu 11 3 in Figure 12 17 Step 2 Then enter 15 from the main menu Step 3 Enter 1 to configure the Address Mapping Sets Step 4 Enter 1 to begin configuring this new set Enter a Set Name choose the Edit Action and then enter 1 for the Select Rule field Press ENTER to confirm Step 5 Select Type as One to One direct mapping for packets going both ways and enter the local Sta
204. e d type d code d ICMP access did not match the listed firewall rule and the ZyWALL logged it Firewall rule NOT match IGMP set d rule d IGMP access did not match the listed firewall rule and the ZyWALL logged it Firewall rule NOT match ESP set d rule d ESP access did not match the listed firewall rule and the ZyWALL logged it Firewall rule NOT match GRE set d rule d GRE ac access did not match the listed firewall rule and the ZyWALL logged it Log Descriptions 75 ZyWALL 2X and ZyWALL 2XW Chart Q 6 Access Logs LOG MESSAGE DESCRIPTION Firewall rule NOT OSPF access did not match the listed firewall rule and the ZyWALL match OSPF set d logged it rule d Firewall rule NOT Access did not match the listed firewall rule and the ZyWALL logged match set d it rule d Filter default policy TCP access matched a default filter policy and the ZyWALL dropped DROP the packet to block access Filter default policy UDP access matched a default filter policy and the ZyWALL dropped DROP the packet to block access Filter default policy ICMP access matched a default filter policy and the ZyWALL dropped DROP the packet to block access Filter default policy Access matched a default filter policy and the ZyWALL dropped the DROP packet to block access Filter default policy Access matched a default filter policy
205. e 16 1 LAN To WAN Traffic i nter terere eo Pie fe Header die Leder coe ee des 16 4 Figure 16 2 WAN to DAN Tatts lea Re eti dae ds 16 4 Figure 16 3 Firewall Rules Summary First Screen 16 5 Figure 16 4 Creating Editing A Firewall Rule 16 11 Figure 16 5 Adding Editing Source and Destination Addresses seen 16 13 Figure 16 6 Creating Editing A Custom Port 16 14 Figure 16 7 Firewall Rule Configuration Screen Example eese 16 16 Figure 16 8 Firewall IP Config Screen Example sss ene 16 17 Figure 16 9 Custom Port Example eese neret ae trennen enne tne nes 16 18 Figure 16 10 Rule Configuration Example esses nennen enne nnns 16 19 Figure 16 11 Rule Summary Example sneinen einiino eren enne enne 16 20 Figure 17 1Content Filter eese eene nennen nre t nenne tese nee nein nee EE 17 2 Figure he View egener thai pr aed Pes eter ti belii desea es 18 2 Figure 18 2 Log Settings ee ete te sere EES 18 4 Figure 18 9 Reports eR EE RR Ha HE Pet a HO 18 7 Figure 18 4 Web Site Hits Report Example sese nnne 18 9 Figure 18 5 Protocol Port Report Psample eene enne 18 10 Figure 18 6 LAN IP Address Report Example 18 11 Figure 19 1 Outgoing Packet Filtering Process eeeseeeeeeeeeee eene nennen ener enr ennt nne 19 2 Fig re 19 2 Filter Rule Process eno nien etie UP cse Pme HP eer een 19 3 List of Figures xix ZyW
206. e 18 10 Table 18 6 Protocol Port Report eise ete e ee e e e EH RR 18 11 Xxiv List of Tables ZyWALL 2X and ZyWALL 2XW Table 18 7 Reports Specifications eere enne nennen rE rre 18 12 Table 19 1 Abbreviations Used in the Filter Rules Summary Mem 19 5 Table 19 2 Rule Abbreviations Used A 19 6 Table 19 3 TCP IP Filter Rule Menu Fields esee nennen 19 7 Table 19 4 Generic Filter Rule Menu Pelde AAA 19 12 Table 20 1 SNMP Configuration Menu Helde 20 3 Table 20 2 SNMP Traps e tite tee eh esc e ERR eh due ded 20 4 Table 21 1 System Maintenance Status Menu Fields 21 2 Table 21 2 Fields in System Maintenance Information esses 21 5 Table 21 3 System Maintenance Menu Syslog Parameterg 21 8 Table 21 4 System Maintenance Menu Diagnostic eene enne 21 13 Table 22 1 EEN 22 2 Table 22 2 General Commands for GUI based FTP Clients eese 22 4 Table 22 3 General Commands for GUI based TFTP Cents 22 6 Table 23 1 Budget Management 23 3 Table 23 2 Call History Fields chere caet ee dee Eet cats 23 4 Table 23 3 Time and Date Setting Fields esses ene 23 6 Table 24 1 Menu 24 11 Remote Management Control 24 3 Table 25 1Schedule Set Setup Fields 25 2 Table 26 l EE KE 26 6 Table 27 1 AHE WE 27 1 Table 27 2 VPN Summary isis RR RR TR I UR DT RUIT edes 27 4 Table 27 3 Local ID Type and Content Fields sse ener 27 6 Table 27 4 Peer ID Type and Content Fields
207. e Period 3 field Three to 50 is usually a good number The WAN connection is considered down after the ZyWALL times out the number of times specified in the Fail Tolerance field When you have completed this menu press ENTER at the prompt Press ENTER to confirm or ESC to cancel to save your configuration or press ESC to cancel and go back to the previous screen Remote Node Setup 10 13 ZyWALL 2X and ZyWALL 2XW Chapter 11 IP Static Route Setup This chapter shows you how to configure static routes with your ZyWALL 11 1 Introduction to Static Route Static routes tell the ZyWALL routing information that it cannot learn automatically through other means This can arise in cases where RIP is disabled on the LAN Each remote node specifies only the network to which the gateway is directly connected and the ZyWALL has no knowledge of the networks beyond For instance the ZyWALL knows about network N2 in the following diagram through remote node Router 1 However the ZyWALL is unable to route a packet to network N3 because it doesn t know that there is a route through the same remote node Router 1 via gateway Router 2 The static routes are for you to tell the ZyWALL about the networks beyond the remote nodes N1 N2 N3 ZyWALL Router 2 Router 1 Figure 11 1 Example of Static Routing Topology IP Static Route Setup 11 1 ZyWALL 2X and ZyWALL 2XW 11 2 IP Static Route Setup E
208. e ZyXEL device without finding out the IP address of the ZyXEL device first This comes helpful 1f you do not know the IP address of the ZyXEL device Follow the steps below to access the web configurator ij Internet Connection is now connected Click here For more information 5 upnp2 Paint pa WP 6 43PM Y Internet Connection Status General Internet Gateway Status Connected Duration 00 00 56 Speed 100 0 Mbps Activity Internet Internet Gateway My Computer w E Packets ent 8 Received 5 943 ee Came 42 UPnP ZyWALL 2X and ZyWALL 2XW Step 1 Step 2 Step 3 Step 4 Step 5 Click start and then Control Panel Double click Network Connections Select My Network Places under Other Places An icon with the description for each UPnP enabled device displays under Local Network Right click the icon for your ZyXEL device and select Invoke The web configurator login screen displays amp Network Connections File Edit View Favorites Tools Advanced Help Q ex T I bi yo Search 17 Folders ob s e Network Connections Internet Gateway Internet Connection Disabled Internet Connection LAN or High Speed Internet Network Tasks E Create a new connection Set up a home or small office network See Also Local Area Connection i Network Troubleshooter Enabled d My Computer Details Network Connections
209. e a 0 in the left most bit In a class A address the first octet is the network number and the remaining three octets make up the host ID gt Class B addresses have a 1 in the left most bit and a 0 in the next left most bit In a class B address the first two octets make up the network number and the two remaining octets make up the host ID gt Class C addresses begin starting from the left with 1 1 0 In a class C address the first three octets make up the network number and the last octet is the host ID gt Class D addresses begin with 1 1 1 0 Class D addresses are used for multicasting There is also a class E address It is reserved for future use Chart K 1 Classes of IP Addresses IP ADDRESS OCTET 1 OCTET 2 OCTET 3 OCTET 4 Class A 0 Network number Host ID Host ID Host ID Class B 10 Network number Network number Host ID Host ID Class C 110 Network number Network number Network number Host ID Host IDs of all zeros or all ones are not allowed Therefore gt A class C network 8 host bits can have 2 2 or 254 hosts IP Subnetting 45 ZyWALL 2X and ZyWALL 2XW gt A class B address 16 host bits can have 2 2 or 65534 hosts A class A address 24 host bits can have 2 2 hosts approximately 16 million hosts Since the first octet of a class A IP address must contain a 0 the first octet of a
210. e connection is down A nailed up connection can be very expensive for obvious reasons Do not specify a nailed up connection unless your telephone company offers flat rate service or you need a constant connection and the cost is of no concern The following table describes the fields not already described in Table 10 1 10 4 Remote Node Setup ZyWALL 2X and ZyWALL 2XW Metric The metric sets the priority for the ZyWALL s routes to the Internet If the two routes have the same metric the ZyWALL uses the following pre defined priorities 1 Normal route designated by the ISP see Remote Node Setup chapter or a static route see the IP Static Route Setup chapter 2 Traffic redirect route see the Remote Node Setup chapter For example if the normal route has a metric of 1 and the traffic redirect route has a metric of 2 then the normal route acts as the primary default route If the normal route fails to connect to the Internet the ZyWALL tries the traffic redirect route next If you want the traffic redirect route to take first priority over the normal route all you need to do is set the traffic redirect route s metric to 1 and the normal route to 2 or greater Table 10 2 Fields in Menu 11 1 PPPoE Encapsulation Specific FIELD DESCRIPTION EXAMPLE Authen This field sets the authentication protocol used for outgoing calls CHAP PAP Options for this field are CHAP PAP You
211. e eneee ei 22 1 Executing a Filter Rule 19 2 Flow Control 4 1 IP Filter Logic Flow 19 9 Fragmentation Threshold 7 1 Firewall 2 siete etes 1 2 Frequency Hopping Spread Spectrum 21 Access Methode 14 1 Front Panel eoa ide eer 2 1 Activating o enren E a 14 2 Front Panel LEDS ssseeenne 2 1 Address Type ertt 16 13 E RE 22 3 24 2 24 4 Alerts idees te es 15 2 File Upload 0220 cecc cisteestencerenbee 22 13 Connection Dmrectton 16 3 GUI based Clients sees 22 4 Creating Editing Rules 16 10 Restoring les 22 8 Custom Ports See Custom Ports PIP Fil Tr nsfer sous cancun aden ab 22 11 Enabling eode 15 1 FTP Restrictions c ceescesseeseeteeeees 22 4 24 4 Firewall Vs Elter 13 12 FEP Remer eoe 1 5 12 20 Guidelines For Enhancing Security 13 11 Full Featpure ccccccceecseecseeseeeeeeseeeeees See NAT Introduction sssssseeeeee 13 2 Full Network Management 1 5 LAN to WAN Rules eene 16 3 G Remote Management 14 1 Gateway IP Addr sss 10 8 Rule Checklist sss 16 2 Gateway IP Address 9 2 11 3 Rule Lofin dieu oet ends 16 2 General Setup xus et ne 5 1 Rule Precedence ie ees 16 5 General Specfeattons sss 32 Rule Security Ramifications 16 2 Global cies 12 1 Selen rr eee ree d e dee he 16 7 H SMT Menus
212. e ert OR eet au e RR RO INTR Reg Ss 20 3 20 4 SNMP Traps iA atii er re d te RE EO E c A aaa E EG etn 20 4 System Information and Diagnosis and Firmware and Configuration File Maintenance VI Chapter 21 System Information amp Diagnosis eee eeee esee ee eerie nete entente netu natns tn as ens neto aseo 21 1 Table of Contents xi ZyWALL 2X and ZyWALL 2XW 21 1 Introduction to System Status secte d ve ariete e Ne etie 21 1 21 2 NYCISUNIPUU IC ose 21 1 21 3 System Information and Console Port Speed 21 3 21 4 Log nd EE 21 6 21 5 RI 21 11 Chapter 22 Firmware and Configuration File Maintemance ssccsscssssscssscesseccsscsceesscsseserenees 22 1 22 1 Filename Conventions one tao oe ah deed 22 1 22 2 Backup Configuration iie eee er ehe i reete ded edens 22 2 22 3 Restore Configuration sess en rne enne nnne nnne nnns 22 8 22 4 Uploading Firmware and Configuration Files sese 22 11 System Maintenance and Information and Remote Management e eeeeee eee eres eee en attento VII Chapter 23 System Maintenance amp Information eee esee esee ee esent enne tn aetas tasa sno 23 1 23 1 Command Interpreter Mode sisse ee ie be ter de estive ns 23 1 23 2 Call Control Support 2 tontos DURO OUR CROIRE ds 23 2 23 3 Timeand Date Setting ss eee ae o eee eo DOR C qe tts 23 5 Chapter 2
213. e of the packet s connection This information is recorded in a new state table entry created for the new connection If there is not a firewall rule for this packet and it is not an attack then The default action for packets not matching following rules field see Figure 16 3 determines the action for this packet Based on the obtained state information a firewall rule creates a temporary access list entry that 1s inserted at the beginning of the WAN interface s inbound extended access list This temporary access list entry 1s designed to permit inbound packets of the same connection as the outbound packet just inspected The outbound packet is forwarded out through the interface Later an inbound packet reaches the interface This packet 1s part of the connection previously established with the outbound packet The inbound packet is evaluated against the inbound access list and is permitted because of the temporary access list entry previously created The packet is inspected by a firewall rule and the connection s state table entry 1s updated as necessary Based on the updated state information the inbound extended access list temporary entries might be modified in order to permit only packets that are valid for the current state of the connection Any additional inbound or outbound packets that belong to the connection are inspected to update the state table entry and to modify the temporary inbound access list entries as required and
214. e times with three separate keys 3 x 56 168 bits 160 bit digest to authenticate packet data effectively doubling the strength of DES Select DES for minimal security and 3DES for maximum Select MD5 for minimal security and SHA 1 for Select NULL to set up a tunnel without encryption maximum security 27 3 My IP Address My IP Address is the WAN IP address of the ZyWALL If this field is configured as 0 0 0 0 then the ZyWALL will use the current ZyWALL WAN IP address static or dynamic to set up the VPN tunnel The ZyWALL has to rebuild the VPN tunnel if the My IP Address changes after setup 27 4 Secure Gateway Address Secure Gateway Address is the WAN IP address or domain name of the remote IPSec router secure gateway If the remote secure gateway has a static WAN IP address enter it in the Secure Gateway Address field You may alternatively enter the remote secure gateway s domain name if it has one in the Secure Gateway Address field You can also enter a remote secure gateway s domain name in the Secure Gateway Address field if the remote secure gateway has a dynamic WAN IP address and is using DDNS The ZyWALL has to rebuild the VPN tunnel each time the remote secure gateway s WAN IP address changes there may be a delay until the DDNS servers are updated with the remote gateway s new WAN IP address 27 4 1 Dynamic Secure Gateway Address If the remote secure gateway has a dynamic WAN IP address and doe
215. ecseeeeceeeeeceseeeeesecaeesecneeaeeeeeneees 21 6 Figure 21 7 Examples of Error and Information Messages 21 7 Figure 21 8 Menu 24 3 2 System Maintenance UNIX Syslog sese 21 7 Figure 21 9 Call Triggering Packet Example esses eere ener 21 11 Figure 21 10 Menu 24 4 System Maintenance Dagnostie 21 12 Figure 21 11 WAN amp GAN DHCP eebe hien o hc eee tee e ue ue RU ene e ted 21 13 Figure 22 1 Telnet into Menu 24 5 ien cR east e ao dire ER d e Ceteros 22 3 Figure 22 2ETP Session Ex mple i Rte e teet te oce ge ge ed le ib EN ea 22 4 Figure 22 3 System Maintenance Backup Configuration 22 7 Xx List of Figures ZyWALL 2X and ZyWALL 2XW Figure 22 4 System Maintenance Starting Xmodem Download Screen 22 7 Figure 22 5 Backup Configuration Example sese eene enne ener enne nnne 22 7 Figure 22 6 Successful Backup Confirmation Sereen 22 7 Figure 22 7 Telnet into Menu 24 65 eer catio ere E HER ECL HER PR ER REF FEE de ee dS 22 9 Figure 22 8 Restore Using FTP Session Example essere enne 22 10 Figure 22 9 System Maintenance Restore Configuration sese 22 10 Figure 22 10 System Maintenance Starting Xmodem Download Screen esses 22 10 Figure 22 11 Restore Configuration Example esses enne nnne enne 22 11 Figure 22 12 Successful Restoration Confirmation Screen sse 22 11 Figure 22 13 Telnet Into Menu 24 7 1 Upload
216. ed by server 7 lt will be supplied by server gt lt will be supplied by server gt Search comans x will be supplied by server gt Setting Up Your Computer s IP Address 11 ZyWALL 2X and ZyWALL 2XW For dynamically assigned settings select Using DHCP Server from the Configure list For statically assigned settings do the following From the Configure box select Manually Type your IP address in the IP Address box Type your subnet mask in the Subnet mask box Type the IP address of your ZyWALL in the Router address box Close the TCP IP Control Panel Click Save if prompted to save changes to your configuration Turn on your ZyWALL and restart your computer if prompted Verifying Your Computer s IP Address Check your TCP IP properties in the TCP IP Control Panel window Macintosh OS X 1 Click the Apple menu and click System Preferences I M Grab File Edit Capt to open the System Preferences window About This Mac Get Mac OS X Software System Preferences Dock gt Location gt 12 Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 2 Click Network in the icon bar 09 Network e i p pe m E e Select Automatic from the Location list EEG e mE Select Built in Ethernet from the Show list Location Automatic 3 Click the TCP IP tab Show Built in Ethernet m Tee PPPoE AppleTalk f Proxies Configure Using DHCP r3
217. ed to generate a password to turn on the debug flag in the firmware The ATSH command shows product related information such as boot module version vendor name product model RAS code revision etc ATGO allows you to continue booting the system Most other commands aid in advanced troubleshooting and should only be used by qualified engineers 68 Boot Commands ZyWALL 2X and ZyWALL 2XW AT AT ATDT ATDUx y ATRBx ATRWx ATRLx ATGO x ATGR ATGT ATRTw x y z ATSH ATDOx y ATTD ATUR DLC WEEN SR just answer OK print help change baudrate 1 38 4k 2 19 2k 3 9 6k 4 57 6k 5 115 2k set BootExtension Debug Flag y password show the seed of password generator change system time to hour min sec or show current time change system date to year month day or show current date dump RAS stack dump Boot Module Common Area dump memory contents from address x for length y display the 8 bit value of address x display the 16 bit value of address x display the 32 bit value of address x run program at addr x or boot router boot router run Hardware Test Program RAM test level w from address x to y z iterations dump manufacturer related data in ROM download from address x for length y to PC via XMODEM download router configuration to PC via XMODEM upload router firmware to flash ROM upload router configuration file to flash ROM xmodem select x 0 CRC mode default x 1 checksum mode system reboot
218. efinitions sse 12 1 Packing List Card sss xxvii Examples isch 12 17 PAP renna aaa tant ista 10 5 How NAT Works 12 2 Password 4 1 4 7 20 3 See My Password Mapping Types cccsscesseesseesceeeeseeseeees 12 4 Period ht eet ees 10 5 NAT Unfriendly Application Programs 12 23 Pihg ai east ER 21 13 Ordering Rules esses 12 11 Ping of Death 13 4 Server Sets Goo Sd ete dnd reet 12 14 Point to Point Tunneling Protocol See PPTP What NAT does 12 2 POR B 7 echter ee ee dese 13 3 13 4 NAT Traversal mininin iieii ciiis 36 Port Configuration sssssssssss 16 15 NetBIOS commande 13 7 Port Forwarding sse 1 4 Network Address Translation 9 2 Power Adaptor Specifications 34 Network Address Translation NAT 1 4 12 1 PPPOE ene 1 3 9 3 Network Topology With RADIUS Server PPPoE Encapsulation 9 1 9 3 9 4 10 2 10 3 Example 5 inier tte eed 24 10 4 10 5 10 10 ele e iii IN EE 9 2 29 O Clem euna RES 9 3 9 4 OME tet eese reta 5 4 Configuring a Client sss 9 3 9 4 One Minute Hehe 15 6 PPTP Encapsulation 1 3 1 4 9 2 10 6 One Minute Low 15 5 Private eee 7 3 7 4 10 8 11 4 Oneto One seg See NAT Private IP Adresses 7 3 Index G ZyWALL 2X and ZyWALL 2XW Protocol Filters ie 5 5 etn Res 7 9 REPO S en audi ne RR deed 18
219. egotiation and establish a VPN tunnel Table 27 5 Matching ID Type and Content Configuration Example ZYWALL A ZYWALL B Local ID type E mail Local ID type IP Local ID content tom yourcompany com Local ID content 1 1 1 2 Peer ID type IP Peer ID type E mail Peer ID content 1 1 1 2 Peer ID content tom yourcompany com The two ZyWALLs in this example cannot complete their negotiation because ZyWALL B s Local ID type is IP but ZyWALL A s Peer ID type is set to E mail An ID mismatched message displays in the IPSEC LOG Table 27 6 Mismatching ID Type and Content Configuration Example ZYWALL A ZYWALL B Local ID type IP Local ID type IP Local ID content 1 1 1 10 Local ID content 1 1 1 10 Peer ID type E mail Peer ID type IP Peer ID content aa yahoo com Peer ID content N A 27 9 Configuring Basic IKE VPN Rule Setup Select one of the VPN rules in the VPN Summary screen and click Edit to configure the rule s settings The basic IKE rule setup screen is shown next VPN IPSec Setup 27 7 ZyWALL 2X and ZyWALL 2XW Summary Rule Setup SA Monitor Global Setting Active Keep Alive NAT Traversal IPSec Keying Mode IKE M Local Address Start 0 0 0 0 Local Address End Mask 0 0 0 0 Remote Address Start hong Remote Address End Mask 0 0 0 0 My IP Address hong Local ID Type IP e Local Content Secure Gateway Address Donn Peer ID Type
220. eld FIELD DESCRIPTION EXAMPLE Edit Press SPACE BAR to select Yes or No LE Select No default if you do not want to configure this feature Select Yes and press ENTER to configure Menu 11 6 Traffic Redirect Yes Setup Press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 10 6 1 Traffic Redirect Setup Configure parameters that determine when the ZyWALL will forward WAN traffic to the backup gateway using Menu 11 6 Traffic Redirect Setup Menu 11 6 Traffic Redirect Setup Active Yes Configuration Backup Gateway IP Address 0 0 0 0 Metric 15 Check WAN IP Address 0 0 0 0 Fail Tolerance 2 Period sec 5 Timeout sec 3 Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 10 11 Menu 11 6 Traffic Redirect Setup Table 10 6 Traffic Redirect Setup FIELD DESCRIPTION EXAMPLE Active Press SPACE BAR and select Yes to enable or No to disable traffic Yes redirect setup The default is No When the Active field is Yes you must configure every field in this screen unless you are using PPPoE or PPTP encapsulation except Check WAN IP Address and Timeout If you don t configure these fields and are using PPTP or PPPoE encapsulation then the ZyWALL checks the PPPoE channel or PPTP tunnel to determine if the WAN connection is down 10 12 Remote Node Setup ZyWALL 2X
221. ename Conventions The configuration file often called the romfile or rom 0 contains the factory default settings in the menus such as password DHCP Setup TCP IP Setup etc It arrives from ZyXEL with a rom filename extension Once you have customized the ZyWALL s settings they can be saved back to your computer under a filename of your choosing ZyNOS ZyXEL Network Operating System sometimes referred to as the ras file is the system firmware and has a bin filename extension With many FTP and TFTP clients the filenames are similar to those seen next ftp put firmware bin ras This is a sample FTP session showing the transfer of the computer file firmware bin to the ZyWALL ftp get rom 0 config cfg This is a sample FTP session saving the current configuration to the computer file config cfg If your T FTP client does not allow you to have a destination filename different than the source you will need to rename them as the ZyWALL only recognizes rom 0 and ras Be sure you keep unaltered copies of both files for later use The following table is a summary Please note that the internal filename refers to the filename on the ZyWALL and the external filename refers to the filename not on the ZyWALL that is on your computer Firmware and Configuration File Maintenance 22 1 ZyWALL 2X and ZyWALL 2XW local network or FTP site and so the name but not the extension may vary Afte
222. ends Send Log To Logs are sent to the e mail address specified in this field If this field is left blank logs will not be sent via e mail Send Alerts To Alerts are sent to the e mail address specified in this field If this field is left blank alerts will not be sent via e mail UNIX Syslog UNIX syslog sends a log to an external UNIX server used to store logs Active Click Active to enable UNIX syslog Syslog IP Address Enter the server name or IP address of the syslog server that will log the selected categories of logs Log Facility Select a location from the drop down list box The log facility allows you to log the messages to different files in the syslog server Refer to your UNIX manual for more information Send Log Log Schedule This drop down menu is used to configure the frequency of log messages being sent as E mail Daily Weekly Hourly When the Log is Full None If you select Weekly or Daily specify a time of day when the E mail should be sent If you select Weekly then also specify which day of the week the E mail should be sent If you select When Log is Full an alert is sent when the log fills up If you select None no log messages are sent Centralized Logs 18 5 ZyWALL 2X and ZyWALL 2XW Table 18 2 Log Settings LABEL DESCRIPTION Day for Sending Log Use the drop down list box to select which day of the week to send the logs Time for Sending Log E
223. ep 3 Select the filter set you wish to configure 1 12 and press ENTER Step 4 Enter a descriptive name or comment in the Edit Comments field and press ENTER Step 5 Press ENTER at the message Press ENTER to confirm to open Menu 21 1 1 Filter Rules Summary This screen shows the summary of the existing rules in the filter set The following tables contain a brief description of the abbreviations used in the previous menus Table 19 1 Abbreviations Used in the Filter Rules Summary Menu FIELD DESCRIPTION The filter rule number 1 to 6 A Active Y means the rule is active N means the rule is inactive Type The type of filter rule GEN for Generic IP for TCP IP Filter These parameters are displayed here Rules M More Y means there are more rules to check which form a rule chain with the present rule An action cannot be taken until the rule chain is complete N means there are no more rules to check You can specify an action to be taken i e forward the packet drop the packet or check the next rule For the latter the next rule is independent of the rule just checked m Action Matched F means to forward the packet immediately and skip checking the remaining rules D means to drop the packet N means to check the next rule n Action Not Matched F means to forward the packet immediately and skip checking the remaining rules D means to dro
224. er UPnP enabled device this eliminates the need to manually configure port forwarding for the UPnP enabled application Allow UPnP to pass through Firewall Select this check box to allow traffic from UPnP enabled applications to bypass the firewall Clear this check box to have the firewall block all UPnP application packets for example MSN packets UPnP Name This identifies the ZyWALL in UPnP applications Apply Click Apply to save the setting to the ZyWALL Reset Click Reset to begin configuring this screen afresh Installing UPnP in Windows Examples This section shows how to install UPnP in Windows Me and Windows XP Installing UPnP in Windows Me Follow the steps below to install the UPnP in Windows Me 38 UPnP Zy WALL 2X and ZyWALL 2XW Step 1 Step 2 Step 3 Step 4 Step 5 Step 1 Step 2 Step 3 Click Start and Control Panel Double click Add Remove Programs Click the Windows Setup tab and select Communication in the Components selection box Click Details In the Communications window select the Universal Plug Add Remove Programs Properties 24 xl Instal Uninstall Windows Setup Startup Disk To add of remove a component select or clear the check box If the check box is shaded only part of the will be installed To see what s included in a component click Kee Bl Address Book 17MB sl 5 6 MB C A Desktop Themes 0 0 MB j
225. er videoconferencing solution 16 5 1 Creating Editing Firewall Rules Follow these directions to create a new rule Step 1 In the Summary screen type the index number for where you want to put the rule For example if you type 6 your new rule becomes number 6 and the previous rule 6 if there is one becomes rule 7 Step 2 Click Insert to display this screen and refer to the following table for information on the fields 16 10 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW lv Active Packet Direction AN to LAN DI Source Address PENNE Source IP Address ARH Any SrcAdd SrcEdit SrcDelete Services Destination Address Available Services Selected Services AUTH TCP 113 BGP TCP 179 BOOTP CLIENT UDP B8 BOOTP SERVER UDP 7 CU SEEME TCP UDP 7648 24032 gt Custom Port Add Edit Delete LS Is Destination IP Address SEE Any DestAdd DestEdit DestDelete Action for Matched Packets Forward D Log Alert Apply Cancel Figure 16 4 Creating Editing A Firewall Rule Table 16 3 Creating Editing A Firewall Rule FIELD DESCRIPTION OPTIONS Active Check the Active check box to have the ZyWALL use this rule Leave it unchecked if you do not want the ZyWALL to use the rule after you apply it Packet Direction Use the drop down list box to select the direction of packet LAN to LAN ZyWALL travel to which you wan
226. ervices for individuals Operationally PPPoE saves significant effort for both you and the ISP or carrier as it requires no specific configuration of the broadband modem at the customer site By implementing PPPoE directly on the ZyWALL rather than individual computers the computers on the LAN do not need PPPoE software installed since the ZyWALL does that part of the task Furthermore with NAT all of the LANs computers will have access 9 4 1 Configuring the PPPoE Client If you enable PPPoE in menu 4 you will see the next screen For more information on PPPoE please see the Appendices Menu 4 Internet Access Setup ISP s Name ChangeMe Encapsulation PPPoE Service Type N A My Login My Password Idle Timeout 100 IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Address N A Network Address Translation Full Feature Press ENTER to Confirm or ESC to Cancel Figure 9 3 Internet Access Setup PPPoE Table 9 3 New Fields in Menu 4 PPPoE screen FIELD DESCRIPTION EXAMPLE Encapsulation Press SPACE BAR and then press ENTER to choose PPPoE PPPoE The encapsulation method influences your choices in the IP Address field 9 4 Internet Access ZyWALL 2X and ZyWALL 2XW Table 9 3 New Fields in Menu 4 PPPoE screen FIELD DESCRIPTION EXAMPLE Idle Timeout This value specifies the time in seconds that elapses before the 100 ZyWALL aut
227. es Example 27 30 VPN IPSec Setup Troubleshooting Part IX Troubleshooting EE eecl ZyWALL 2X and ZyWALL 2XW Chapter 28 Troubleshooting This chapter covers potential problems and possible remedies After each problem description some instructions are provided to help you to diagnose and to solve the problem Please see the included disk for further information 23 1 Problems Starting Up the ZyWALL Table 28 1 Troubleshooting the Start Up of Your ZyWALL PROBLEM CORRECTIVE ACTION None of the Make sure that you have the included power adaptor or cord connected to the ZyWALL LEDs turn On ang to an appropriate power source when you turn on the If the error persists you may have a hardware problem In this case you should contact ZyWALL your vendor Cannot 1 Check to see if the ZyWALL is connected to your computer s console port access the 2 Check to see if the VT100 terminal emulation E communications program is 9600 bps is the default speed on leaving the factory Try configured correctly The other speeds in case the speed has been changed port communications software a should be configured as No parity 8 data bits 1 stop bit data flow set to none follows Troubleshooting 28 1 ZyWALL 2X and ZyWALL 2XW 28 1 Problems with a LAN Interface Table 2
228. ess single IP address a range of IP addresses e g Range Address 192 168 1 10 to 192 169 1 50 a subnet or any IP address Select an option from the drop down list box Subnet Address Any Address Start IP Address Enter the single IP address or the starting IP address in a range here End IP Address Enter the ending IP address in a range here Creating Custom Rules 16 13 ZyWALL 2X and ZyWALL 2XW Table 16 4 Adding Editing Source and Destination Addresses FIELD DESCRIPTION OPTIONS Subnet Mask Enter the subnet mask here if applicable When you have finished click Apply to save your customized settings and exit this screen Cancel to exit this screen without saving or Help for online HTML help on fields in this screen 16 6 Custom Ports Configure customized ports for services not predefined by the ZyWALL see section 16 5 for a list of predefined services For a comprehensive list of port numbers and services visit the IANA Internet Assigned Number Authority web site 16 7 Creating Editing A Custom Port Click the Add button under Custom Port while editing a firewall to configure a custom port This displays the following screen Figure 16 6 Creating Editing A Custom Port 16 14 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW The next table describes the fields in this screen Table 16 5 Creating Editing A Custom Port
229. ete DestAdd DestEdit DestDelete Services Available Services Selected Services AUTH TCP 113 EE BOOTP_CLIENT UDP 68 BOOTP_SERVER UDP 67 CU SEEME TCP UDP 7648 24032 v Custom Port Add Edit Delete Action for Matched Packets Forward Apply Cancel Figure 16 7 Firewall Rule Configuration Screen Example Step 4 Click Any in the Source Address box and then click ScrDelete Step 5 Click ScrAdd under the Source Address box Step 6 Configure the Firewall IP Config screen as follows and click Apply 16 16 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW FIREWALL IP CONFIG Range Address Figure 16 8 Firewall IP Config Screen Example Step 7 In the firewall rule configuration screen click Add under Custom Port to open the Custom Port Configuration screen Configure it as follows and click Apply Creating Custom Rules 16 17 ZyWALL 2X and ZyWALL 2XW CUSTOM PORT CONFIGURATION Figure 16 9 Custom Port Example Step 7 The firewall rule configuration screen displays use the arrows between Available Services and Selected Services to configure it as follows Click Apply when you are done Custom ports show up with an before their names in the Services list box and the Rule Summary list box Click Apply after you ve created your custom port 16 18 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW IV Active acke ei WA
230. ethod influences your choices for the IP Address field Service Type Press SPACE BAR and then ENTER to select Standard RR Toshiba RoadRunner Toshiba authentication method RR Manager RoadRunner Manager authentication method or RR Telstra Choose a RoadRunner service type if your ISP is Time Warner s RoadRunner otherwise choose Standard Note DSL users mu st choose the Standard option only The My Login My Password and Login Server fields are not applicable in this case My Login Enter the login name given to you by your ISP My Password Enter the password associated with the login name above Login Server The ZyWALL will find the RoadRunner Server IP if this field is left blank If it does not then you must enter the authentication server IP address IP Address If your ISP did not assign you a fixed IP address press SPACE BAR and then Assignment ENTER to select Dynamic otherwise select Static and enter the IP address and subnet mask in the following fields IP Address Enter the fixed IP address assigned to you by your ISP static IP address Assignment is selected in the previous field IP Subnet Mask Enter the subnet mask associated with your static IP Gateway IP Enter the gateway IP address associated with your static IP Address Network Address Please see the NAT chapter for a more detailed discussion on the Network Address Translation Translation feature The
231. ets 7 9 Figure 7 8 RTS Threshold thiet entities aos 7 11 Figure 7 9 Menu 3 5 Wireless LAN Setup 7 12 Figure 8 1 ZyWALL Wireless Security Levels esee nre ener ener enne nennen 8 1 Et e EE 8 2 Figure 8 3 Sequence for EAP Authentication cceessecsssecsessscseeeeceseeeessecseeeecneseceaeenesaecaessesnaveeseeeeeeeaeeates 8 5 Figure 8 4 Wireless LAN 802 1 X Authentication eene eene nennen nennen tenen 8 6 Figure 8 5 Authentication RADIUS AA 8 7 Figure 8 6 Local User Database eee edd e e tette eet 8 9 Figure 8 7 WLAN MAC Address Elter 8 10 Figure 9 1 Menu 4 Internet Access Setup Gthermet essere 9 1 Figure 9 2 Internet Access Setup BP TP eerte eet ve tee choses ding 9 3 Figure 9 3 Internet Access Setup PPPOoE sse eene nre en nennen 9 4 Figure 10 1 Menu 11 Remote Node Setup 10 1 Figure 10 2 Menu 11 1 Remote Node Profile for Ethernet Encapsulation see 10 2 Figure 10 3 Menu 11 1 Remote Node Profile for PPPoE Encapsulation eene 10 4 Figure 10 4 Menu 11 1 Remote Node Profile for PPTP Encapsulation eee 10 6 Figure 10 5 Menu 11 3 Remote Node Network Layer Options for Ethernet Encapsulation 10 7 Figure 10 6 Menu 11 5 Remote Node Filter Ethernet Encapsulapon sese 10 9 Figure 10 7 Menu 11 5 Remote Node Filter PPPoE or PPTP Encapsulation sess 10 10 Figure 10 8 Traffic Redirect WAN Setup
232. f Yes Yes a matching packet is passed to the next filter rule before No an action is taken if No the packet is disposed of according to the action fields If More is Yes then Action Matched and Action Not Matched will be N A 19 8 Filter Configuration ZyWALL 2X and ZyWALL 2XW Table 19 3 TCP IP Filter Rule Menu Fields FIELD DESCRIPTION OPTIONS Log Press SPACE BAR and then ENTER to select a logging None option from the following Acti None No packets will be logged M x Fu Action Matched Only packets that match the rule acne parameters will be logged Action Not Action Not Matched Only packets that do not match the rule Matched parameters will be logged Both All packets will be logged Both Action Matched Press SPACE BAR and then ENTER to select the action for Check Next a matching packet Rule Forward Drop Action Not Press SPACE BAR and then ENTER to select the action for Check Next Matched a packet not matching the rule Rule Forward Drop When you have Menu 21 1 1 1 TCP IP Filter Rule configured press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC to cancel This data will now be displayed on Menu 21 1 1 Filter Rules Summary The following figure illustrates the logic flow of an IP filter Filter Configuration 19 9 ZyWALL 2X and ZyWALL 2XW Packet into IP Filter Y Apply SrcAddrMask t
233. f packet data The SHA1 algorithm is generally considered stronger than MD5 but is slower Select SHA 1 for maximum security Authentication Algorithm Type a unique authentication key to be used by IPSec if applicable Enter 16 Authentication Key characters for MD5 authentication or 20 characters for SHA 1 authentication Any characters may be used including spaces but trailing spaces are truncated Click Apply to save your changes Click Reset to begin configuring this screen afresh 27 14SA Monitor In the web configurator click VPN and the SA Monitor tab Use this screen to display and manage active VPN connections VPN IPSec Setup 27 25 ZyWALL 2X and ZyWALL 2XW A Security Association SA is the group of security settings related to a specific VPN tunnel This screen displays active VPN connections Use Refresh to display active VPN connections This screen is read only The following table describes the fields in this tab When there is outbound traffic but no inbound traffic the SA times out automatically after two minutes A tunnel with no outbound or inbound traffic is idle and does not timeout until the SA lifetime period expires See the section on keep alive to have the ZyWALL renegotiate an IPSec SA when the SA lifetime expires even if there is no traffic Summary Rule Setup SA Monitor Global Setting IPSec Security Associations Table Name Encapsulation IPSec Algorithm Refresh
234. fault and signifies any protocol As a VPN setup is processing intensive the system is vulnerable to Denial of Service DOS attacks The IPSec receiver can detect and reject old or duplicate packets to protect against replay attacks Enable replay detection by setting this field to Yes Enable Replay Detection 27 16 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Local Address Start Local Address End Mask Local Port Start Local Port End Remote Address Start Remote Address End Mask Table 27 8 Advanced IKE VPN Rule Setup DESCRIPTION This is the IP address or range of IP addresses of the computer or computers on the LAN for which you are configuring the VPN connection the VPN host computer This IP address or range of IP addresses must correspond to the remote secure gateway s configured remote IP address es in order for the remote secure gateway to initiate the VPN connection When the local IP address is a range enter the beginning static IP address in a range of computers on the LAN When the local IP address is a subnet enter the IP address on the LAN Local IP addresses must be static and correspond to the remote IPSec router s configured remote IP addresses Two active SAs cannot have the local and remote IP address es both the same Two active SAs can have the same local or remote IP address but not both You can configure multiple SAs between the same local and remote IP addresses as long
235. fect Forward Secrecy PFS None Basic Reset Figure 27 6 Advanced IKE VPN Rule Setup VPN IPSec Setup 27 15 ZyWALL 2X and ZyWALL 2XW Table 27 8 Advanced IKE VPN Rule Setup LABEL DESCRIPTION Select this check box to activate this VPN IPSec policy Select this check box to turn on the Keep Alive feature for this SA Keep Alive Turn on Keep Alive to have the ZyWALL automatically reinitiate the SA after the SA lifetime times out even if there is no traffic The remote IPSec router must also have keep alive enabled in order for this feature to work NAT Traversal Select this check box to enable NAT traversal NAT traversal allows you to set up a VPN connection when there are NAT routers between the two IPSec routers The remote IPSec router must also have NAT traversal enabled You can use NAT traversal with ESP protocol using Transport or Tunnel mode but not with AH protocol nor with manual key management In order for an IPSec router behind a NAT router to receive an initiating IPSec packet set the NAT router to forward UDP port 500 to the IPSec router behind the NAT router The advanced configuration page is only available with the IKE IPSec keying mode Click the Basic button below in order to be able to choose the Manual IPSec keying IPSec Keying Mode m de Make sure the remote gateway has the same configuration in this field Protocol Number Enter 1 for ICMP 6 for TCP 17 for UDP etc 0 is the de
236. figuration ZyWALL 2X and ZyWALL 2XW Packet into J filter Fetch First A Filter Set Filter Set gt Fetch Next Fetch First Filter Set Filter Rule Fetch Next Filter Rule gt Yes A Yes Next Filter Se Available Yes D Execute No Filter Rule Check Next Rule l Forward ea Dop y E Drop ERI ZUM rat SS P m Figure 19 2 Filter Rule Process Filter Configuration 19 3 ZyWALL 2X and ZyWALL 2XW You can apply up to four filter sets to a particular port to block multiple types of packets With each filter set having up to six rules you can have a maximum of 24 rules active for a single port 19 2 Configuring a Filter Set The ZyWALL includes filtering for NetBIOS over TCP IP packets by default To configure another filter set follow the procedure below Step 1 Enter 21 in the main menu to open menu 21 Menu 21 Filter and Firewall Setup 1 Filter Setup 2 Firewall Setup Figure 19 3 Menu 21 Filter and Firewall Setup Step 2 Enter 1 to bring up the following menu Menu 21 1 Filter Set Configuration Filter Filter Set Comments Set Comments Enter Filter Set Number to Configure 0 Edit Comments N A Press ENTER to Confirm or ESC to Cancel Figure 19 4 Menu 21 1 Filter Set Configuration 19 4 Filter Configuration ZyWALL 2X and ZyWALL 2XW St
237. for UDP and ICMP 13 5 3 TCP Security The ZyWALL uses state information embedded in TCP packets The first packet of any new connection has its SYN flag set and its ACK flag cleared these are initiation packets All packets that do not have this flag structure are called subsequent packets since they represent data that occurs later in the TCP stream If an initiation packet originates on the WAN this means that someone is trying to make a connection from the Internet into the LAN Except in a few special cases see Upper Layer Protocols shown next these packets are dropped and logged If an initiation packet originates on the LAN this means that someone is trying to make a connection from the LAN to the Internet Assuming that this is an acceptable part of the security policy as is the case with the default policy the connection will be allowed A cache entry is added which includes connection information such as IP addresses TCP ports sequence numbers etc When the ZyWALL receives any subsequent packet from the Internet or from the LAN its connection information is extracted and checked against the cache A packet is only allowed to pass through if it corresponds to a valid connection that is if it is a response to a connection which originated on the LAN 13 5 4 UDP ICMP Security UDP and ICMP do not themselves contain any connection information such as sequence numbers However at the very minimum they contain an
238. g the class arrangement of an IP address 1s ignored For example a class C address no longer has to have 24 bits of network number and 8 bits of host ID With subnetting some of the host ID bits are converted into network number bits By convention subnet masks always consist of a continuous sequence of ones beginning from the left most bit of the mask followed by a continuous sequence of zeros for a total number of 32 bits Since the mask is always a continuous number of ones beginning from the left followed by a continuous number of zeros for the remainder of the 32 bit mask you can simply specify the number of ones instead of writing the value of each octet This is usually specified by writing a followed by the number of bits in the mask after the address For example 192 1 1 0 25 is equivalent to saying 192 1 1 0 with mask 255 255 255 128 The following table shows all possible subnet masks for a class C address using both notations Chart K 4 Alternative Subnet Mask Notation SUBNET MASK IP ADDRESS SUBNET MASK 1 BITS LAST OCTET BIT VALUE 255 255 255 0 124 0000 0000 255 255 255 128 125 1000 0000 255 255 255 192 126 1100 0000 255 255 255 224 27 1110 0000 255 255 255 240 28 1111 0000 255 255 255 248 129 1111 1000 255 255 255 252 30 1111 1100 The first mask shown is the class C natural mask Normally if no mask is specified it is understood that the natural mask is bein
239. g used Example Two Subnets As an example you have a class C address 192 168 1 0 with subnet mask of 255 255 255 0 NETWORK NUMBER HOST ID IP Address 192 168 1 0 IP Address Binary 11000000 10101000 00000001 00000000 Subnet Mask 255 255 255 0 Subnet Mask Binary 11111111 11111111 11111111 00000000 IP Subnetting 47 ZyWALL 2X and ZyWALL 2XW The first three octets of the address make up the network number class C You want to have two separate networks Divide the network 192 168 1 0 into two separate subnets by converting one of the host ID bits of the IP address to a network number bit The borrowed host ID bit can be either 0 or 1 thus giving two subnets 192 168 1 0 with mask 255 255 255 128 and 192 168 1 128 with mask 255 255 255 128 In the following charts shaded bolded last octet bit values indicate host ID bits borrowed to form network ID bits The number of borrowed host ID bits determines the number of subnets you can have The remaining number of host ID bits after borrowing determines the number of hosts you can have on each subnet Chart K 5 Subnet 1 NETWORK NUMBER LAST OCTET BIT VALUE IP Address 192 168 1 0 IP Address Binary 11000000 10101000 00000001 00000000 Subnet Mask 255 255 255 128 Subnet Mask Binary 11111111 11111111 11111111 10000000 Subnet Address 192 168 1 0 Lowest Host ID 192 168
240. ght on The ZyWALL is ready Light flashing The ZyWALL is performing a self test Red Light on The ZyWALL is experiencing low voltage LAN Green light The ZyWALL has a LAN connection of 10Mbps 10 100M Orange light The ZyWALL has a LAN connection of 100Mbps 1 4 Both lights off The ZyWALL does not have an Ethernet connection Light flashing The ZyWALL is sending receiving packets WAN Green light The WAN link is connected at 10Mbps Orange light The WAN link is connected at 100Mbps Light off The WAN link is not ready or has failed Light flashing The WAN link is sending receiving packets CON AUX Green light The CON AUX switch is set to CON the CON AUX port is connected to a o light management computer and someone is logged into the ZyWALL range ig The CON AUX switch is set to AUX and the CON AUX port has an Internet connection through a dial up modem Light off The CON AUX link is not ready or has failed Light flashing The CON AUX switch is set to AUX and the CON AUX port is sending or receiving data through a dial up modem or ISDN TA WLAN Light on The Wireless LAN feature is enabled Light off The Wireless LAN link is not ready or has failed Light flashing The Wireless LAN link is sending receiving packets 2 2 Hardware Installation ZyWALL 2X and ZyWALL 2XW 2 4 ZyWALL Rear Panels and Connections The following figure shows the rear panels of the ZyWALL CON AUX CON AUX WAN 1010 o c LAN 10 1004 POWER 2
241. gs Log Command Example This example shows how to set the ZyWALL to record the access logs and alerts and then view the results ras sys logs load ras sys logs category access 3 ras sys logs save ras sys logs display access 86 Log Descriptions ZyWALL 2X and ZyWALL 2XW time source destination notes message 0 11 11 2002 15 10 12 172 22 3 80 137 T72 22 255 255 137 ACCESS BLOCK Firewall default policy UDP set 8 1 11 11 2002 15 10 12 172 21 4 17 138 172 21 255 255 138 ACCESS BLOCK Firewall default policy UDP set 8 2 11 11 2002 15 10 11 172 17 2 1 224 0 1 60 ACCESS BLOCK Firewall default policy IGMP set 8 3 11 11 2002 15 10 11 172 22 3 80 137 17222255259137 ACCESS BLOCK Firewall default policy UDP set 8 4 11 11 2002 15 10 10 192 168 10 1 520 192 168 10 255 520 ACCESS BLOCK Firewall default policy UDP set 8 5 11 11 2002 15 10 10 172 21 4 67 137 12722T1 255 259 t37 ACCESS BLOCK Log Descriptions 87 ZyWALL 2X and ZyWALL 2XW Appendix R Brute Force Password Guessing Protection The following describes the commands for enabling disabling and configuring the brute force password guessing protection mechanism for the password See the Command Interpreter appendix for information on the command structure Chart R 1 Brute Force Password Guessing Protection Commands COMI IAND DESCRIPTION Sys pwderrtm This command displays the
242. hat the equipment meets 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 connections themselves but should contact the appropriate electrical inspection authority or electrician as appropriate Note This d
243. he service Action for Should packets that match this rule be blocked or Block Matched Packets forwarded Make your choice from the drop down list box F d Note that Block means the firewall silently discards the orwar packet Log This field determines if a log is created for packets that Match match the rule don t match the rule both or no log is Not Match created Both None Alert Check the Alert check box to determine that this rule generates an alert when the rule is matched When you have finished click Apply to save your customized settings and exit this screen Cancel to exit this screen without saving or Help for online HTML help on fields in this screen 16 12 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW 16 5 2 Source and Destination Addresses To add a new source or destination address click SrcAdd or DestAdd from the previous screen To edit an existing source or destination address select it from the box and click SrcEdit or DestEdit from the previous screen Either action displays the following screen IP CONFIG Address Type Subnet Address v Start IP Addres 000 EndIPAddress Subnet Mask 0 0 0 0 Cancel Figure 16 5 Adding Editing Source and Destination Addresses Table 16 4 Adding Editing Source and Destination Addresses FIELD DESCRIPTION OPTIONS Address Type Do you want your rule to apply to packets with a particular Single Addr
244. he Attack Alert screen Figure 15 2 check the Generate alert when attack detected checkbox or when a rule is matched in the Rule Config screen see Figure 16 4 When an event generates an alert a message is immediately sent to an e mail account specified by you Enter the complete e mail address to which alert messages will be sent in the E mail Alerts To field and schedule times for sending alerts in the Log Timer fields in the E mail screen following screen 15 2 Firewall Configuration ZyWALL 2X and ZyWALL 2XW 15 3 Attack Alert Attack alerts are the first defense against DOS attacks In the Attack Alert screen shown later you may choose to generate an alert whenever an attack is detected For DoS attacks the ZyWALL uses thresholds to determine when to drop sessions that do not become fully established These thresholds apply globally to all sessions You can use the default threshold values or you can change them to values more suitable to your security requirements 15 3 1 Threshold Values Tune these parameters when something is not working and after you have checked the firewall counters These default values should work fine for normal small offices with ADSL bandwidth Factors influencing choices for threshold values are 1 The maximum number of opened sessions 2 The minimum capacity of server backlog in your LAN network 3 The CPU power of servers in your LAN network 4 Network bandwidth 5 Type of traffi
245. he ZyWALL also has packet filtering capabilities The ZyWALL is installed between the LAN and a broadband modem connecting to the Internet This allows it to act as a secure gateway for all data passing between the Internet and the LAN The ZyWALL has one Ethernet WAN port and one Ethernet LAN port which are used to physically separate the network into two areas Q The WAN Wide Area Network port attaches to the broadband modem cable or ADSL connecting to the Internet Q The LAN Local Area Network port attaches to a network of computers which needs security from the outside world These computers will have access to Internet services such as e mail FTP and the World Wide Web However inbound access will not be allowed unless the remote host is authorized to use a specific service 13 2 Firewalls ZyWALL 2X and ZyWALL 2XW e Deniaj WAN Attacks Ethernet Ethernet ZyWALL LAN WAN Figure 13 1 ZyWALL Firewall Application 13 4 Denial of Service Denials of Service DoS attacks are aimed at devices and networks with a connection to the Internet Their goal is not to steal information but to disable a device or network so users no longer have access to network resources The ZyWALL is pre configured to automatically detect and thwart all known DoS attacks 13 4 1 Basics Computers share information over the Internet using a common language called TCP IP TCP IP in turn is a set of application
246. hen the ZyWALL s WAN port receives a response with a specific port number and protocol incoming port the ZyWALL forwards the traffic to the LAN IP address of the computer that sent the request After that computer s connection for that service closes another computer on the LAN can use the service in the same manner This way you do not need to configure a new IP address each time you want a different LAN computer to use the application 12 6 1 Trigger Port Forwarding Process The following is an example of trigger port forwarding Real Audio server Figure 12 24 Trigger Port Forwarding Process Example Jane requests a file from the Real Audio server port 7070 2 Port 7070 is a trigger port and causes the ZyWALL to record Jane s computer IP address The ZyWALL associates Jane s computer IP address with the incoming port range of 6970 7170 3 The Real Audio server responds using a port number ranging between 6970 7170 4 The ZyWALL forwards the traffic to Jane s computer IP address NAT 12 25 ZyWALL 2X and ZyWALL 2XW 5 Only Jane can connect to the Real Audio server until the connection is closed or times out The ZyWALL times out in three minutes with UDP User Datagram Protocol or two hours with TCP IP Transfer Control Protocol Internet Protocol 12 6 2 Two Points To Remember About Trigger Ports 1 Trigger events only happen on data that is going coming from inside the ZyWALL and going to the outside 2
247. ial starting to trigger a call and drop dropping a call if you re using PPPoE Encapsulation 21 2 System Information and Diagnosis ZyWALL 2X and ZyWALL 2XW Table 21 1 System Maintenance Status Menu Fields FIELD DESCRIPTION TxPkts The number of transmitted packets on this port RxPkts The number of received packets on this port Cols The number of collisions on this port Tx B s Shows the transmission speed in Bytes per second on this port Rx B s Shows the reception speed in Bytes per second on this port Up Time Total amount of time the line has been up Ethernet Address The Ethernet address of the port listed on the left IP Address The IP address of the port listed on the left IP Mask The IP mask of the port listed on the left DHCP The DHCP setting of the port listed on the left System up Time The total time the ZyWALL has been on ZyNOS FAN The ZyNOS Firmware version and the date created Version You may enter 1 to drop the WAN connection 9 to reset the counters or ESC to return to menu 24 21 3 System Information and Console Port Speed This section describes your system and allows you to choose different console port speeds To get to the System Information and Console Port Speed Step 1 Enter 24 to go to Menu 24 System Maintenance Step 2 Enter 2 to open Menu 24 2 System Information and Console Port Speed Step 3 From this menu you have two
248. id triangle route security issues see appendices when the backup gateway is connected to the LAN Use IP alias to configure the LAN into two or three logical networks with the ZyWALL itself as the gateway for each LAN network Put the protected LAN in one 10 10 Remote Node Setup ZyWALL 2X and ZyWALL 2XW subnet Subnet 1 in the following figure and the backup gateway in another subnet Subnet 2 Configure a LAN to LAN ZyWALL firewall rule that forwards packets from the protected LAN Subnet 1 to the backup gateway Subnet 2 Subnet 1 WAN 1192 168 1 0 192 168 1 24 Subnet 2 LAN 192 168 2 0 192 168 2 24 Figure 10 9 Traffic Redirect LAN Setup To configure the parameters for traffic redirect enter 11 from the main menu to display Menu 11 1 Remote Node Profile as shown next Menu 11 1 Remote Node Profile Rem Node Name Route IP Active Yes Encapsulation Ethernet Edit IP No Service Type Standard Session Options Service Name N A Edit er se Na Outgoing My Login N A Edit Traffic Redirect Yes My Password N A Retype to Confirm N A Server IP N A Press ENTER to Confirm or ESC to Cancel Figure 10 10 Menu 11 1 Remote Node Profile To configure traffic redirect properties press SPACE BAR to select Yes in the Edit Traffic Redirect field and then press ENTER Remote Node Setup 10 11 ZyWALL 2X and ZyWALL 2XW Table 10 5 Menu 11 1 Remote Node Profile Traffic Redirect Fi
249. ides a solution to prevent these data collisions When you enable RTS Threshold on a possible hidden station this station and its AP will use a Request to Send Clear to Send protocol RTS CTS The station send an RTS message to the AP informing that it is going to transmit the data Upon receipt the AP responds with a CTS message to all stations within its range to notify all other stations to defer transmission It also confirms with the requesting station that the AP has reserved it for the time frame of the requested transmission The ZyWALL activates the RTS function if the packet size exceeds the value you set It is highly recommended that you set the value ranging from 0 to 2432 Enabling the RTS Threshold causes redundant network overhead that could negatively affect the throughput performance instead of providing a remedy 7 6 4 Fragmentation Threshold Fragmentation improves efficiency when high traffic flows along in the wireless network 7 6 5 WEP As the first line of protection against wireless network intrusion the ZyWALL provides the standard WEP Wired Equivalent Privacy for data encryption However there may be a significant degradation of the data throughput on the wireless link when WEP is enabled See section 8 3 for more information about configuring WEP data encryption 7 7 Wireless LAN Setup Use menu 3 5 to set up your ZyWALL as the wireless access point LAN Setup 7 11 ZyWALL 2X and ZyWALL 2XW
250. ies For LAN Servers With Fixed IP Addresses 7 3 Table 7 2 Private IP Address Ranges ede eee BAT i ee oe 7 4 Table 7 3 DHCP Ethernet Setup Menu Fields 7 7 Table 7 4 LAN TCP IP Setup Menu Fields 7 7 Table 7 5 IP Alias Setup Menu Fields 7 9 Table 7 6 Wireless LAN Setup Menu Fields nennen nnne nnns 7 12 Table 8 1 Wireless LAN OD 8 3 Table 8 2 Wireless LAN 802 1X Authentication sss a i A EAT a 8 6 Table 8 3 Authentication RADIUS sse ere nente trenne eene nene nnne 8 7 Table 84 Local User RE 8 10 Tabl 8 5 WLAN MAG Address Filter ue ciated eet EEN 8 11 Table 9 1 Menu 4 Internet Access Setup Menu Helde 9 1 Table 9 2 New Fields in Menu 4 PPTP Screen sse eene enne nnne 9 3 Table 9 3 New Fields in Menu 4 PPPOE screen 9 4 Tabe TOA F1elds inm Ment 1i sisesscsvesc cies ions REO DH PRODR Deeg et 10 2 Table 10 2 Fields in Menu 11 1 PPPoE Encapsulation Specific sse 10 5 Table 10 3 Fields in Menu 11 1 PPTP Enceapsulaton nennen 10 6 Table 10 4 Remote Node Network Layer Options Menu Fields 10 8 Table 10 5 Menu 11 1 Remote Node Profile Traffic Redirect Feld 10 12 List of Tables xxiii ZyWALL 2X and ZyWALL 2XW Table 10 6 Traffic Redirect Setup iot iet d eia uie a P Rr s EROR ee 10 12 Table 11 1 IP Static Route Menu Fields 4 ettet teeth tete ete e n Eve hentai 11 3 Table 12 UNAT Definitions ss EE et re e EP HI PUT VH EE Ie RE Pee E o HERE ente Doe 12
251. igital 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 ZyWALL 2X and ZyWALL 2XW 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 da
252. igure 9 2 Internet Access Setup PPTP The following table contains instructions about the new fields when you choose PPTP in the Encapsulation field in menu 4 Table 9 2 New Fields in Menu 4 PPTP Screen FIELD DESCRIPTION EXAMPLE Encapsulation Press SPACE BAR and then press ENTER to choose PPTP The PPTP encapsulation method influences your choices for the IP Address field Idle Timeout This value specifies the time in seconds that elapses before the 100 ZyWALL automatically disconnects from the PPTP server default 9 4 PPPoE Encapsulation The ZyWALL supports PPPoE Point to Point Protocol over Ethernet PPPoE is an IETF Draft standard RFC 2516 specifying how a personal computer PC interacts with a broadband modem DSL cable wireless etc connection The PPPoE option is for a dial up connection using PPPoE Internet Access 9 3 ZyWALL 2X and ZyWALL 2XW For the service provider PPPoE offers an access and authentication method that works with existing access control systems for example Radius PPPoE provides a login and authentication method that the existing Microsoft Dial Up Networking software can activate and therefore requires no new learning or procedures for Windows users One of the benefits of PPPoE is the ability to let you access one of multiple network services a function known as dynamic service selection This enables the service provider to easily create and offer new IP s
253. ilters to prevent NetBIOS traffic from triggering calls and block incoming telnet FTP and HTTP connections Filter Configuration 19 17 ZyWALL 2X and ZyWALL 2XW Menu 11 5 Remote Node Filter Setup Input Filter Sets protocol filters device filters Output Filter Sets protocol filters device filters Press ENTER to Confirm or ESC to Cancel Figure 19 13 Filtering Remote Node Traffic 19 18 Filter Configuration ZyWALL 2X and ZyWALL 2XW Chapter 20 SNMP Configuration This chapter explains SNMP configuration menu 22 SNMP is only available if TCP IP is configured 20 1 Introduction to SNMP Simple Network Management Protocol is a protocol used for exchanging management information between network devices SNMP is a member of the TCP IP protocol suite Your ZyWALL supports SNMP agent functionality which allows a manager station to manage and monitor the ZyWALL through the network The ZyWALL supports SNMP version one SNMPv1 The next figure illustrates an SNMP management operation SNMP is only available if TCP IP 1s configured SNMP Configuration 20 1 ZyWALL 2X and ZyWALL 2XW MANAGER AGENT AGENT Managed Device Managed Device Managed Device Figure 20 1 SNMP Management Model An SNMP managed network consists of two main types of component agents and a manager An agent is a management software module that resides in a managed device the ZyWALL An agent
254. ime ends on if you selected Yes in the Daylight Saving field Once you have filled in this menu press ENTER at the message Press ENTER to Confirm or ESC to Cancel to save your configuration or press ESC to cancel 23 3 1 Resetting the Time The ZyWALL resets the time in three instances i On leaving menu 24 10 after making changes 23 6 System Maintenance amp Information ZyWALL 2X and ZyWALL 2XW ii When the ZyWALL starts up if there is a timeserver configured in menu 24 10 iii 24 hour intervals after starting System Maintenance amp Information 23 7 ZyWALL 2X and ZyWALL 2XW Chapter 24 Remote Management This chapter covers remote management found in SMT menu 24 11 24 1 Remote Management and the Firewall When you configure remote management to allow management from the WAN you still need to configure a firewall rule to allow access See the firewall chapters for details on configuring firewall rules 24 2 Telnet The only way to configure the ZyWALL for remote management is through an SMT session using the console port Once your ZyWALL is configured you can use telnet to configure it remotely as shown next ZyWALL Modem User telnets into the LAN via the ZyWALL Figure 24 1 Telnet Configuration on a TCP IP Network Remote Management 24 1 ZyWALL 2X and ZyWALL 2XW 24 3 FTP You can upload and download the ZyWALL s firmware and configuration files using F
255. in Name Enter the domain name if you know it here If you leave this field zyxel com tw blank the ISP may assign a domain name via DHCP You can go to menu 24 8 and type sys domain name to see the current domain name used by your router The domain name entered by you is given priority over the ISP assigned domain name If you want to clear this field just press SPACE BAR and then ENTER Edit Dynamic Press SPACE BAR and then ENTER to select Yes or No default No DNS Select Yes to configure Menu 1 1 Configure Dynamic DNS default discussed next 5 2 SMT Menu 1 General Setup ZyWALL 2X and ZyWALL 2XW Table 5 1 General Setup Menu Field FIELD DESCRIPTION EXAMPLE When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 5 4 1 Configuring Dynamic DNS To configure Dynamic DNS go to Menu 1 General Setup and press SPACE BAR to select Yes in the Edit Dynamic DNS field Press ENTER to display Menu 1 1 Configure Dynamic DNS shown next Menu 1 1 Configure Dynamic DNS Service Provider WWW DynDNS ORG Active Yes DDNSType DynamicDNS Hostl Host2 Host3 EMAIL USER Password KKKKKKKK Enable Wildcard No Offline N A Edit Update IP Address Use Server Detected IP Yes User Specified IP Addr No IP Address N A Press ENTER to confirm or E
256. indicates that the Xmodem download has started Starting XMODEM download CRC mode CCCCCCCCC Figure 22 10 System Maintenance Starting Xmodem Download Screen Step 3 Run the HyperTerminal program by clicking Transfer then Send File as shown in the following screen 22 10 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW Send File Type the configuration file s Folder CAProduct location or click Browse to search A for it Filename C Product contig rom Protocol modem m Figure 22 11 Restore Configuration Example Choose the Xmodem protocol Then click Send Step 4 Aftera successful restoration you will see the following screen Press any key to restart the ZyWALL and return to the SMT menu Save to ROM Hit any key to start system reboot Figure 22 12 Successful Restoration Confirmation Screen 22 4 Uploading Firmware and Configuration Files This section shows you how to upload firmware and configuration files You can upload configuration files by following the procedure in the previous Restore Configuration section or by following the instructions in Menu 24 7 2 System Maintenance Upload System Configuration File for console port WARNING Do not interrupt the file transfer process as this may PERMANENTLY DAMAGE YOUR ZyWALL 22 4 1 Firmware File Upload FTP is the preferred method for uploading the firmware and configuration To use this featu
257. ing old half opened sessions until it gets them down to the max incomplete low config edit firewall attack max This command sets the threshold where the incomplete low 0 255 ZyWALL stops deleting half opened sessions config edit firewall attack tcp This command sets the threshold of half open TCP max incomplete 0 255 sessions with the same destination where the ZyWALL starts dropping half open sessions to that destination 60 Firewall Commands ZyWALL 2X and ZyWALL 2XW FUNCTION Sets Rules Chart N 1 Firewall Commands COMMAND config edit firewall set set name desired name Config edit firewall set set d d default permit forward block Config edit firewall set set icmp timeout seconds Config edit firewall set set udp idle timeout seconds Config edit firewall set set connection timeout seconds Config edit firewall set set fin wait timeout seconds Config edit firewall set set tcp idle timeout seconds Config edit firewall set set log yes no Config edit firewall set set rule rule gt permit forward block d d d d d d DESCRIPTION This command sets a name to identify a specified set This command sets whether a packet is dropped or allowed through when it does not meet a rule within the set This command sets the time period to allow an ICMP session to wait for the ICMP response This command sets h
258. invalid conflicts Remote IP IP start IP end If the security gateway is 0 0 0 0 the ZyWALL will use the peer s Local Addr as its Remote Addr If a peer s Local Addr range conflicts with other connections then the ZyWALL will not accept VPN connection requests from this peer Active connection allowed exceeded The ZyWALL limits the number of simultaneous Phase 2 SA negotiations The IKE key exchange process fails if this limit is exceeded IKE Packet Retransmit The ZyWALL did not receive a response from the peer and so retransmits the last packet sent Failed to send IKE Packet The ZyWALL cannot send IKE packets due to a network error Too many errors Deleting SA The ZyWALL deletes an SA when too many errors occur Phase 1 ID type mismatch The ID type of an incoming packet does not match the local s peer ID type Phase 1 ID content mismatch The ID content of an incoming packet does not match the local s peer ID content No known phase 1 ID type found The ID type of an incoming packet does not match any known ID type Peer ID address IP address type IP The IP address type or IP address of an incoming packet does not match the peer IP address type or IP address configured on the local router The log displays the IP address type and IP address of the incoming packet vs My Remote IP address gt
259. is also a remote node as well as apply WAN filters 12 Static Routing Setup Configure IP static routes in this menu 15 NAT Setup Use this menu to configure Network Address Translation 21 Filter and Firewall Setup Configure filters activate deactivate the firewall and view the firewall log 22 SNMP Configuration Use this menu to configure SNMP related parameters Introducing the SMT 4 3 ZyWALL 2X and ZyWALL 2XW Table 4 1 Main Menu Summary NO Menu Title FUNCTION 23 System Password Change your password in this menu recommended 24 System Maintenance From displaying system status to uploading firmware this menu provides comprehensive system maintenance 26 Schedule Setup Use this menu to schedule outgoing calls 27 VMPN IPSec Setup Use this menu to configure VPN connections 99 Exit Use this menu to exit necessary for remote configuration 4 3 3 SMT Menus at a Glance The available SMT screens vary by ZyWALL model The wireless LAN SMT menus apply to the ZyWALL 2XW 4 4 Introducing the SMT ZyWALL 2X and ZyWALL 2XW General Setup WAN Setup LAN Setup Internet Access Setup Menu 1 1 Menu 2 1 Configure Advanced Menu 3 1 Menu 3 2 Menu 3 5 LAN Port TCP IP and Wireless Filter Setup DHCP Setup LAN Setup Dynamic DNS WAN Setup Menu 3 5 1 WLAN MAC Address Filter Menu 3 2 1 IP Alias Setup Menu 11 Remote Node Setup pal Route
260. is incompatible with the AH protocol in both Transport and Tunnel mode An IPSec VPN using the AH protocol digitally signs the outbound packet both data payload and headers with a hash value appended to the packet When using AH protocol packet contents the data payload are not encrypted Introduction to IPSec 26 5 ZyWALL 2X and ZyWALL 2XW A NAT device in between the IPSec endpoints will rewrite either the source or destination address with one of its own choosing The VPN device at the receiving end will verify the integrity of the incoming packet by computing its own hash value and complain that the hash value appended to the received packet doesn t match The VPN device at the receiving end doesn t know about the NAT in the middle so it assumes that the data has been maliciously altered IPSec using ESP in Tunnel mode encapsulates the entire original packet including headers in a new IP packet The new IP packet s source address is the outbound address of the sending VPN gateway and its destination address is the inbound address of the VPN device at the receiving end When using ESP protocol with authentication the packet contents in this case the entire original packet are encrypted The encrypted contents but not the new headers are signed with a hash value appended to the packet Tunnel mode ESP with authentication is compatible with NAT because integrity checks are performed over the combination of the original header plus
261. is turned on Active or not Inactive Rules that have not been configured display Empty Source Address This drop down list box displays the source addresses or ranges of addresses to which this firewall rule applies Please note that a blank source or destination address is equivalent to Any Destination This drop down list box displays the destination addresses or ranges of addresses to Address which this firewall rule applies Please note that a blank source or destination address is equivalent to Any Service Type This drop down list box displays the services to which this firewall rule applies Please note that a blank service type is equivalent to Any See Table 16 2 for more information Action This is the specified action for that rule either Block or Forward Note that Block means the firewall silently discards the packet 16 6 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW Table 16 1 Firewall Rules Summary First Screen FIELD DESCRIPTION Log This field shows you if a log is created for packets that match the rule Match don t match the rule Not Match both Both or no log is created None Alert This field tells you whether this rule generates an alert Yes or not No when the rule is matched Insert Type the index number for where you want to put a rule For example if you type 6 your new rule becomes number 6 and the previous rule 6 if there is one becomes r
262. ith your network If you manually assign IP information instead of using dynamic assignment make sure that your computers have IP addresses that place them in the same subnet 192 168 1 2 to 192 168 1 254 range with a subnet mask of 255 255 255 0 as the default ZyWALL s LAN port IP address 192 168 1 1 Windows 95 98 Me 1 Click Start Settings Control Panel and double click the Network 219 Network icon to open the Network window Configuration Identification Access Contal The following network components are installed i ZyAIR 100 Wireless PCMCIA 4 XT NDISWAN gt nothing Y TCP IP gt Accton EN1207D TX PCI Fast Ethemet Adapte TCP IP gt Dial Up Adapter X TCP IP gt ZyAIR 100 Wireless PCMCIA X Add Remove Properties Primary Network Logon Client for Microsoft Networks z Eile and Print Sharing r Description TCP IP is the protocol you use to connect to the Internet and wide area networks Setting Up Your Computer s IP Address 1 ZyWALL 2X and ZyWALL 2XW 2 The Network window Configuration tab displays a list of installed components You need a network adapter the TCP IP protocol and Client for Microsoft Networks If you need the adapter a In the Network window click Add b Select Adapter and then click Add C Select the manufacturer and model of your network adapter and then click OK If you need TCP IP a In the Network window click Ad
263. ithm SHA1 algorithm is generally considered stronger than MD5 but is slower Select MD5 for minimal security and SHA 1 for maximum security Advanced Click Advanced to configure more detailed settings of your IKE key management Click Apply to save your changes back to the ZyWALL Click Reset to begin configuring this screen afresh 27 10IKE Phases There are two phases to every IKE Internet Key Exchange negotiation phase 1 Authentication and phase 2 Key Exchange A phase 1 exchange establishes an IKE SA and the second one uses that SA to negotiate SAs for IPSec 27 12 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW C Phase 2 IKE SA Figure 27 5 Two Phases to Set Up the IPSec SA In phase 1 you must VVVVVV Choose a negotiation mode Authenticate the connection by entering a pre shared key Choose an encryption algorithm Choose an authentication algorithm Choose a Diffie Hellman public key cryptography key group DH1 or DH2 Set the IKE SA lifetime This field allows you to determine how long an IKE SA should stay up before it times out An IKE SA times out when the IKE SA lifetime period expires If an IKE SA times out when an IPSec SA is already established the IPSec SA stays connected In phase 2 you must VV VVVV 27 10 1 Choose which protocol to use ESP or AH for the IKE key exchange Choose an encryption algorithm Choose an authentication algorithm Choose whether to enable Perfect Forward
264. ity so PFS is disabled None by default in the ZyWALL Disabling PFS means new authentication and encryption keys are derived from the same root secret which may have security implications in the long run but allows faster SA setup by bypassing the Diffie Hellman key exchange 27 11Configuring Advanced IKE Setup Select one of the VPN rules in the VPN Summary screen and click Edit to configure the rule s settings The basic IKE rule setup screen opens Set the Key Management field to IKE and click the Advanced button to display the advanced IKE VPN rule setup screen 27 14 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Summary Rule Setup SA Monitor Global Setting Active Keep Alive NAT Traversal IPSec Keying Mode KE s Protocol Number Enable Replay Detection Local Address Start 0 0 0 0 Local Address End Mask 0 0 0 Local Port Start Local Port End fo No e o o o Remote Address Start bon Remote Address End Mask o o 0 0 Remote Port Start fo Remote Port End fo fo IP X p My IP Address 0 0 0 Local ID Type Local Content Secure Gateway Address 0 0 0 Peer ID Type IP X Peer Content IKE Phase 1 Negotiation Mode Main z Encryption Algorithm DES z Authentication Algorithm MDs SA Life Time 28800 Key Group Jon Pre Shared Key IKE Phase 2 Encapsulation Mode Tunnel IPSec Protocol ESP z Encryption Algorithm DES z Authentication Algorithm SHA z SA Life Time 23800 Per
265. k Refresh to update the report display The report also refreshes automatically when you close and reopen the screen All of the recorded reports data is erased when you turn off the ZyWALL 18 4 1 Web Site Hits In the Reports screen select Web Site Hits from the Report Type drop down list box to have the ZyWALL record and display which web sites have been visited the most often and how many times they have been visited 18 8 Centralized Logs ZyWALL 2X and ZyWALL 2XW e Web Site Hits v Stop Collection Web Site Figure 18 4 Web Site Hits Report Example Table 18 4 Web Site Hits Report LABEL DESCRIPTION Web Site This column lists the domain names of the web sites visited most often from computers on the LAN The names are ranked by the number of visits to each web site and listed in descending order with the most visited web site listed first The ZyWALL counts each page viewed in a web site as another hit on the web site Hits This column lists how many times each web site has been visited The count starts over at 0 if a web site passes the hit count limit see Table 18 7 18 4 2 Protocol Port In the Reports screen select Protocol Port from the Report Type drop down list box to have the ZyWALL record and display which protocols or service ports have been used the most and the amount of traffic for the most used protocols or service ports Centralized
266. k administrator or use trial and error to find a protocol that works The main differences between them are the format Daytime RFC 867 format is day month year time zone of the server Time RFC 868 format displays a 4 byte integer giving the total number of seconds since 1970 1 1 at 0 0 0 NTP RFC 1305 the default is similar to Time RFC 868 None enter the time manually Time Server Enter the IP address or domain name of your timeserver Check with your Address ISP network administrator if you are unsure of this information The default is tick stdtime gov tw Current Time This field displays an updated time only when you reenter this menu New Time Enter the new time in hour minute and second format Current Date This field displays an updated date only when you reenter this menu New Date Enter the new date in year month and day format Time Zone Press SPACE BAR and then ENTER to set the time difference between your time zone and Greenwich Mean Time GMT Daylight Saving Daylight saving time is a period from late spring to early fall when many countries set their clocks ahead of normal local time by one hour to give more daylight time in the evenings If you use daylight savings time then choose Yes Start Date Enter the month and day that your daylight savings time starts on if you selected Yes in the Daylight Saving field End Date Enter the month and day that your daylight savings t
267. ke 8 digits for example FFFFFFFF To configure a generic rule select Generic Filter Rule in the Filter Type field in menu 21 1 4 1 and press ENTER to open Generic Filter Rule as shown below Menu 21 1 4 1 Generic Filter Rule Filter 4 4 1 Filter Type Generic Filter Rule Active No Offset 0 Length 0 Mask N A Value N A More No Log None Action Matched Check Next Rule Action Not Matched Check Next Rule Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 19 7 Menu 21 1 4 1 Generic Filter Rule The following table describes the fields in the Generic Filter Rule menu Filter Configuration 19 11 ZyWALL 2X and ZyWALL 2XW Table 19 4 Generic Filter Rule Menu Fields FIELD DESCRIPTION OPTIONS Filter This is the filter set filter rule co ordinates i e 2 3 refers to the second filter set and the third rule of that set Filter Use SPACE BAR and then ENTER to select a rule type Parameters Generic Filter Type displayed below each type will be different TCP IP filter rules are used to Rule filter IP packets while generic filter rules allow filtering of non IP packets TCP IP Filter Rule Active Select Yes to turn on the filter rule or No to turn it off Yes No Offset Enter the starting byte of the data portion in the packet that you wish to 0 255 compare The range for this field is from 0 to 255 Length Enter the byte count
268. kly basis This command sets the minute of the hour for the firewall log to be sent via e mail if the ZyWALL is set to send it on a hourly daily or weekly basis Firewall Commands 59 ZyWALL 2X and ZyWALL 2XW Chart N 1 Firewall Commands FUNCTION COMMAND DESCRIPTION Attack config edit firewall attack send This command enables or disables the immediate alert yes no sending of DOS attack notification e mail messages config edit firewall attack block Set this command to yes to block new traffic after yes no the tcp max incomplete threshold is exceeded Set itto no to delete the oldest half open session when traffic exceeds the tcp max incomplete threshold config edit firewall attack block This command sets the number of minutes for new minute 0 255 sessions to be blocked when the tcp max incomplete threshold is reached This command is only valid when block is set to yes config edit firewall attack minute This command sets the threshold rate of new half high 0 255 open sessions per minute where the ZyWALL starts deleting old half opened sessions until it gets them down to the minute low threshold config edit firewall attack minute This command sets the threshold of half open low 0 255 sessions where the ZyWALL stops deleting half opened sessions config edit firewall attack max This command sets the threshold of half open incomplete high 0 255 sessions where the ZyWALL starts delet
269. lank to have the ZyWALL automatically use the address in the Secure Gateway field When you select DNS in the Peer ID Type field type a domain name up to 31 characters by which to identify the remote IPSec router When you select E mail in the Peer ID Type field type an e mail address up to 31 characters by which to identify the remote IPSec router The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address The domain name also does not have to match the remote router s IP address or what you configure in the Secure Gateway Addr field below Select Tunnel mode or Transport mode from the drop down list box Select ESP if you want to use ESP Encapsulation Security Payload The ESP protocol RFC 2406 provides encryption as well as some of the services offered by AH If you select ESP here you must select options from the Encryption Algorithm and Authentication Algorithm fields described next Select AH if you want to use AH Authentication Header Protocol The AH protocol RFC 2402 was designed for integrity authentication sequence integrity replay resistance and non repudiation but not for confidentiality for which the ESP was designed If you select AH here you must select options from the Authentication Algorithm field described later VPN IPSec Setup 27 11 ZyWALL 2X and ZyWALL 2XW Table 27 7
270. le if sets 1 2 3 and 4 are applied in the remote node then set 1 will take precedence over set 2 3 Call Scheduling 25 1 ZyWALL 2X and ZyWALL 2XW and 4 as the ZyWALL by default applies the lowest numbered set first Set 2 will take precedence over set 3 and 4 and so on You can design up to 12 schedule sets but you can only apply up to four schedule sets for a remote node To delete a schedule set enter the set number and press SPACE BAR and then ENTER or DEL in the Edit Name field To set up a schedule set select the schedule set you want to setup from menu 26 1 12 and press ENTER to see Menu 26 1 Schedule Set Setup as shown next Menu 26 1 Schedule Set Setup Active Yes Start Date yyyy mm dd How Often Once Once Date yyyy mm dd 2000 01 01 Weekdays Sunday N A Monday N A Tuesday N A Wednesday N A Thursday N A Friday N A Saturday N A Start Time hh mm 00 00 Duration hh mm 00 00 Action Forced On 2000 01 01 Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 25 2 Schedule Set Setup If a connection has been already established your ZyWALL will not drop it Once the connection is dropped manually or it times out then that remote node can t be triggered up until the end of the Duration Table 25 1Schedule Set Setup Fields FIELD DESCRIPTION OPTIONS Active Press SPACE BAR to select Yes or No Choose
271. le Pot 4 1 4 3 Navigating the SMT Interface cese ee see t ede RR D EE REGIE cose e dgio deis 4 2 4 4 Changing the System Password sss ener enne ener nennen nnns 4 7 4 5 Resetting the ZyW ALL incite eerie eere ee ee I ree Petr Reden 4 8 Chapter 5 SMT Menu 1 General Setup eee e eese eese esses enean ense ta setas ta sets sonst s senses sense tuae 5 1 5 1 Introduction to General Setup 5 1 BREMEN cue 5 1 ss Dynamic DNS eite eee teer E ge I UR T SENI EE D 5 1 SA Gener lSetup iiie eine RIGHE OR RE SEENEN AEN 5 2 Chapter 6 WAN E 6 1 6 1 Introduction to WAN Semi 6 1 62 Cloning The MAC Addres8 eene ec cin tod cca eie et ue eee 6 1 6 3 WAN SetUp t c a er eti ette deo e dette eo dere dee ameta 6 1 Chapter 7 LAN Setup esee esee eve veo veuve sue e run Pues ene ev Yee KE Elea Eve Yo vn Phe edu ev ve e ee NE ge e VR NEEN 7 1 7 Introduction to LAN Setup 7 1 T2 sAccessing the LAN Menu eet e etd epu dENSEE EENS 7 1 T3 LAN Port Filter Setup oco EE oe OE tss 7 1 LAE TCP IP and LAN DEHGD ine et C ER OUR E HER Pe Di Hn e 7 2 7 5 TCP IP and DHCP Ethernet Setup Menu sssssssssesseseeeeerenr enne enne 7 5 76 WEES LAN ue sasease UE upORROBERPRERDERIDE DAD I IDE I EEG 7 10 deh Wireless GANS EE 8 heed ok BES RA eon re E eet dit a RES 7 11 Chapter 8 Wireless LAN Secu
272. le on your computer config rom to the ZyWALL and renames it rom 0 Likewise get rom 0 config rom transfers the configuration file on the ZyWALL to your computer and renames it config rom See earlier in this chapter for more information on filename conventions Firmware and Configuration File Maintenance 22 13 ZyWALL 2X and ZyWALL 2XW Step 7 Enter quit to exit the ftp prompt 22 4 4 FTP Session Example of Firmware File Upload 33 Pa 23 ft 20 rft 20 15 22 ft 29 rt 1 Enter PASS command ssword 0 Logged in p gt bin 0 Type I OK p gt put firmware bin ras 0 Port command okay 0 Opening data connection for STOR ras 6 File received OK p 1103936 bytes sent in 1 10Seconds 7 89Kbytes sec p gt quit Figure 22 15 FTP Session Example of Firmware File Upload More commands found in GUI based FTP clients are listed earlier in this chapter Refer to section 22 2 5 to read about configurations that disallow TFTP and FTP over WAN 22 4 5 TFTP File Upload The ZyWALL also supports the uploading of firmware files using TFTP Trivial File Transfer Protocol over LAN Although TFTP should work over WAN as well it is not recommended To use TFTP your computer must have both telnet and TFTP clients To transfer the firmware and the configuration file follow the procedure shown next Step 1 Use telnet from your computer to connect to the ZyWALL and log in Because TFTP does
273. le port Connect the 9 pin male end of the console cable to the port labeled CON AUX on the ZyWALL and push the CON AUX switch to CON Connect the other end to a serial port COMI COM2 or other COM port on your computer You can use an extension console cable if the enclosed one is not long enough 2 5 3 Connecting the AUX Port The console port is also the auxiliary WAN port Push the CON AUX switch to AUX and use the included CON AUX converter with the console cable to connect the CON AUX port to your modem or TA 2 5 4 LAN 10 100M Ports You can connect up to four computers with Ethernet cards directly to the ZyWALL s LAN ports For each computer connect a 10 100M LAN port on the ZyWALL to the Ethernet card on the computer using an Ethernet cable If you want to connect more than four computers to your ZyWALL you must use an external hub Connect a 10 100M LAN port on the ZyWALL to a port on the hub using an Ethernet cable When the ZyWALL is on and properly connected to a computer or a hub the corresponding LAN LED on the front panel turns on 2 5 5 Connecting the Power to your ZyWALL Connect the included power adaptor to the socket labeled POWER on the rear panel of your ZyWALL 2 4 Hardware Installation ZyWALL 2X and ZyWALL 2XW 2 5 6 Antennas The ZyWALL 2XW is equipped with two reverse SMA connectors and two detachable omni directional 2dBi antennas to provide a clear radio signal between the wireless stations and
274. lect Disable in the corresponding Server Access field Enter 11 from menu 24 to bring up Menu 24 11 Remote Management Control Menu 24 11 Remote Management Control TELNET Server Port 23 Access LA Secured Client 0 0 0 0 FTP Server Port Access Secured Client 0 0 0 0 Web Server Port Access Secured Client 0 0 0 0 SNMP Service Port Access Secured Client 0 0 0 0 DNS Service Port Access Secured Client IP 0 0 0 0 Press ENTER to Confirm or ESC to Cancel Figure 24 2 Menu 24 11 Remote Management Control Table 24 1 Menu 24 11 Remote Management Control FIELD DESCRIPTION EXAMPLE Telnet Server Each of these read only labels denotes a service that you may use to FTP Server remotely manage the ZyWALL Web Server SNMP Service DNS Service Server Port This field shows the port number for the remote management service Except for DNS service you may change the port number for a service if needed but you must use the same port number to use that service for remote management Server Access Select the access interface if any by pressing SPACE BAR then LAN Only ENTER to choose from LAN only WAN only ALL or Disable default Remote Management 24 3 ZyWALL 2X and ZyWALL 2XW Table 24 1 Menu 24 11 Remote Management Control FIELD DESCRIPTION EXAMPLE Secured Client The default 0 0 0 0 allows any client to use this service to rem
275. licies for LAN to ZyW ALL the policies for managing the ZyWALL through the LAN interface and policies for LAN to LAN the policies that control routing between two subnets on the LAN Similarly WAN to WAN ZyWALL polices apply in the same way to the WAN port 16 3 1 LAN to WAN Rules The default rule for LAN to WAN traffic is that all users on the LAN are allowed non restricted access to the WAN When you configure a LAN to WAN rule you in essence want to limit some or all users from accessing certain services on the WAN See the following figure Creating Custom Rules 16 3 ZyWALL 2X and ZyWALL 2XW ZyWALL By default all outgoing connections LAN to WAN are allowed unless you create rules blocking certain LAN users Figure 16 1 LAN to WAN Traffic 16 3 2 WAN to LAN Rules The default rule for WAN to LAN traffic blocks all incoming connections WAN to LAN If you wish to allow certain WAN users to have access to your LAN you will need to create custom rules to allow it See the following figure By default NO incoming connections WAN to LAN are allowed unless you create rules allowing certain WAN users services access to your LAN Figure 16 2 WAN to LAN Traffic 16 4 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW 16 4 Rule Summary Click Firewall and the Summary tab to display the following screen This screen is a summary of the existing rules Note the order in which the rules are listed
276. ling from the LAN to the LAN or the LAN ZyWALL ZyWALL 8 WAN to ACL set 8 for packets traveling from the WAN to the WAN or the WAN ZyWALL ZyWALL Chart Q 8 ICMP Notes TYPE CODE DESCRIPTION 78 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 8 ICMP Notes TYPE CODE DESCRIPTION 0 Echo Reply 0 Echo reply message 3 Destination Unreachable Net unreachable Host unreachable Protocol unreachable Port unreachable As etol NEn O A packet that needed fragmentation was dropped because it was set to Don t Fragment DF 5 Source route failed 4 Source Quench 0 A gateway may discard internet datagrams if it does not have the buffer space needed to queue the datagrams for output to the next network on the route to the destination network 5 Redirect Redirect datagrams for the Network Redirect datagrams for the Host Redirect datagrams for the Type of Service and Network W CH Redirect datagrams for the Type of Service and Host 8 Echo 0 Echo message 11 Time Exceeded 0 Time to live exceeded in transit l Fragment reassembly time exceeded 12 Parameter Problem 0 Pointer indicates the error Log Descriptions 79 ZyWALL 2X and ZyWALL 2XW Chart Q 8 ICMP Notes TYPE CODE DESCRIPTION 13 Timestamp 0 Timestamp request message 14 Timestamp Reply 0 Timestamp reply message
277. m Node Name ChangeMe Route IP Active Yes Encapsulation PPPoE Edit IP No Service Type Standard Telco Option Service Name Allocated Budget min 0 Outgoing Period hr 0 My Login Schedules My Password x Nailed Up Connection No Retype to Confirm x Authen CHAP PAP Session Options Edit Filter Sets No Idle Timeout sec 100 Edit Traffic Redirect No Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 10 3 Menu 11 1 Remote Node Profile for PPPoE Encapsulation Outgoing Authentication Protocol Generally speaking you should employ the strongest authentication protocol possible for obvious reasons However some vendor s implementation includes a specific authentication protocol in the user profile It will disconnect if the negotiated protocol is different from that in the user profile even when the negotiated protocol is stronger than specified If you encounter a case where the peer disconnects right after a successful authentication please make sure that you specify the correct authentication protocol when connecting to such an implementation Nailed Up Connection A nailed up connection is a dial up line where the connection is always up regardless of traffic demand The ZyWALL does two things when you specify a nailed up connection The first is that idle timeout is disabled The second is that the ZyWALL will try to bring up the connection when turned on and whenever th
278. mages 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 Register online registration at www zyxel com for free future product updates and information Warranty V ZyWALL 2X and ZyWALL 2XW Customer Support When you contact your customer support representative please have the following information ready Please have the following information ready when you contact customer support e 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 METHOD E MAIL TELEPHONE FAX WEB SITE FTP SITE REGULAR MAIL SUPPORT SALES LOCATION WORLDWIDE support zyxel com tw 886 3 578 3942 www zyxel com ZyXEL Communications Corp www europe zyxel com 6
279. mand Sys filter netbios config 6 on This command blocks IPSec NetBIOS packets Command Sys filter netbios config 7 off This command stops NetBIOS commands from initiating calls NetBIOS Filter Commands 67 ZyWALL 2X and ZyWALL 2XW Appendix P Boot Commands The BootModule AT commands execute from within the router s bootup software when debug mode is selected before the main router firmware ZyNOS is started When you start up your ZyWALL you are given a choice to go into debug mode by pressing a key at the prompt shown in the following screen In debug mode you have access to a series of boot module commands for example ATUR for uploading firmware and ATLC for uploading the configuration file These are already discussed in the Firmware and Configuration File Maintenance chapter Bootbase Version V1 02 08 08 2001 15 40 50 RAM Size 16384 Kbytes DRAM Post Testing 16384K OK FLASH Intel 16M ZyNOS Version V3 50 WB 0 b3 08 08 2001 16 21 27 Press any key to enter debug mode within 3 seconds Diagram P 1 Option to Enter Debug Mode Enter ATHE to view all available ZyWALL boot module commands as shown in the next screen ATBAx allows you to change the console port speed The x denotes the number preceding the colon to give the console port speed following the colon in the list of numbers that follows for example ATBA3 will give a console port speed of 9 6 Kbps AT SE displays the seed that is us
280. method employed For a firewall to guard effectively you must design and deploy it appropriately This requires integrating the firewall into a broad information security policy In addition specific policies must be implemented within the firewall itself 13 2 Types of Firewalls There are three main types of firewalls 1 Packet Filtering Firewalls 2 Application level Firewalls 3 Stateful Inspection Firewalls 13 2 1 Packet Filtering Firewalls Packet filtering firewalls restrict access based on the source destination computer network address of a packet and the type of application 13 2 2 Application level Firewalls Application level firewalls restrict access by serving as proxies for external servers Since they use programs written for specific Internet services such as HTTP FTP and telnet they can evaluate network packets for valid application specific data Application level gateways have a number of general advantages over the default mode of permitting application traffic directly to internal hosts Firewalls 13 1 ZyWALL 2X and ZyWALL 2XW i Information hiding prevents the names of internal systems from being made known via DNS to outside systems since the application gateway is the only host whose name must be made known to outside systems ii Robust authentication and logging pre authenticates application traffic before it reaches internal hosts and causes it to be logged more effectively than if it were logged
281. mote IP addresses must be static and correspond to the remote IPSec router s configured local IP addresses The remote address fields do not apply when the Secure Gateway Address field is configured to 0 0 0 0 In this case only the remote IPSec router can initiate the VPN Remote Address Start Two active SAs can have the same local or remote IP address but not both You can configure multiple SAs between the same local and remote IP addresses as long as only one is active at any time Enter a static IP address on the network behind the remote IPSec router When the remote IP address is a single address type it a second time here When the remote IP address is a range enter the end static IP address in a range of Remote clare computers on the network behind the remote IPSec router End Mask When the remote IP address is a subnet address enter a subnet mask on the network behind the remote IPSec router Enter the WAN IP address of your ZyWALL The ZyWALL uses its current WAN IP address static or dynamic in setting up the VPN tunnel if you leave this field as My IP Address 0 0 0 0 The VPN tunnel has to be rebuilt if this IP address changes Select IP to identify this ZyWALL by its IP address Local ID Type Select DNS to identify this ZyWALL by a domain name Select E mail to identify this ZyWALL by an e mail address When you select IP in the Local ID Type field type the IP address of your computer or leave the field blank t
282. munication in an Ad hoc Network Wireless LAN and IEEE 802 11 21 ZyWALL 2X and ZyWALL 2XW Infrastructure Wireless LAN Configuration For Infrastructure WLANs multiple Access Points APs link the WLAN to the wired network and allow users to efficiently share network resources The Access Points not only provide communication with the wired network but also mediate wireless network traffic in the immediate neighborhood Multiple Access Points can provide wireless coverage for an entire building or campus All communications between stations or between a station and a wired network client go through the Access Point The Extended Service Set ESS shown in the next figure consists of a series of overlapping BSSs each containing an Access Point connected together by means of a Distribution System DS Although the DS could be any type of network it is almost invariably an Ethernet LAN Mobile nodes can roam between Access Points and seamless campus wide coverage is possible a Notebook with 3333557771 ber V i Wireless NIE Desktop with H I Wireless NIC i Desktop with Wireless NIC Access Point mmi U j Access Point BSS 1 BSS 2 Sk Gene j f j D Desktop with d d Wireless NIC a Em f j b Desktop with _ S X ESS S Wireless NIC 7 T id xx NM Se a a SS S Notebook with Wireless NIC Diagram E 2 ESS Pro
283. must register for this service with a Dynamic DNS service provider IP Multicast Deliver IP packets to a specific group of hosts using IP multicast IGMP Internet Group Management Protocol is the protocol used to support multicast groups The latest version is version 2 see RFC 2236 the ZyWALL supports both versions 1 and 2 IP Alias IP Alias allows you to partition a physical network into logical networks over the same Ethernet interface The ZyWALL supports three logical LAN interfaces via its single physical Ethernet LAN interface with the ZyWALL itself as the gateway for each LAN network Central Network Management Central Network Management CNM allows an enterprise or service provider network administrator to manage your ZyWALL The enterprise or service provider network administrator can configure your ZyWALL perform firmware upgrades and do troubleshooting for you SNMP SNMP Simple Network Management Protocol is a protocol used for exchanging management information between network devices SNMP is a member of the TCP IP protocol suite Your ZyWALL supports SNMP agent functionality which allows a manager station to manage and monitor the ZyWALL through the network The ZyWALL supports SNMP version one SNMPv1 Network Address Translation NAT NAT Network Address Translation NAT RFC 1631 allows the translation of multiple IP addresses used within one network to different IP addresses known within another network
284. must N My ISP ID Name follow the c id and n name format This field is optional and depends on the requirements of your DSL modem Schedules You can apply up to four schedule sets here For more details refer to the Call Schedule Setup chapter Nailed Up Press SPACE BAR and then ENTER to select Yes if you want to No Connections make the connection to this remote node a nailed up connection 10 4 Edit IP Move the cursor to the Edit IP field in menu 11 1 then press SSPACE BAR to select Yes Press ENTER to open Menu 11 3 Network Layer Options Menu 11 3 Remote Node Network Layer Options IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Addr N A Network Address Translation SUA Only Metric N A Private N A RIP Direction None Version N A Multicast None Enter here to CONFIRM or ESC to CANCEL Figure 10 5 Menu 11 3 Remote Node Network Layer Options for Ethernet Encapsulation This menu displays the My WAN Addr field for PPPoE and PPTP encapsulations and Gateway IP Addr field for Ethernet encapsulation Remote Node Setup 10 7 ZyWALL 2X and ZyWALL 2XW Table 10 4 Remote Node Network Layer Options Menu Fields FIELD DESCRIPTION EXAMPLE IP Address If your ISP did not assign you an explicit IP address press SPACE Dynamic Assignment BAR and then ENTER to select Dynamic otherwise select Static default
285. ndices for more on triangle route topology Total Configured Rules This read only number is the total number of rules that have been configured for the ZyWALL the combined total for all packet directions The ZyWALL allows you to configure up to 30 firewall rules total Vacant Rules This read only number is the number of rules that can still be configured for the ZyWALL the combined total available for all packet directions Packet Direction Use the drop down list box to select a direction of travel of packets LAN to LAN ZyWALL LAN to WAN WAN to WAN ZyWALL WAN to LAN for which you want to configure firewall rules Block Use the option buttons to select whether to Block discard or Forward allow the Forward passage of packets that are traveling in the selected direction Log Select the check box to create a log when the above action is taken for packets that are traveling in the selected direction and do not match any of the rules below The following read only fields summarize the rules you have created that apply to traffic traveling in the selected packet direction The firewall rules that you configure summarized below take priority over the general firewall action settings above Index This is your firewall rule number The ordering of your rules is important as rules are applied in turn The Move field below allows you to reorder your rules Status This field displays whether a firewall
286. net chat program MSN Microsoft Networks messenger service uses this protocol Messenger TCP 1863 MULTICAST IGMP 0 Internet Group Multicast Protocol is used when sending packets to a specific group of hosts NEW ICQ TCP 5190 An Internet chat program NEWS TCP 144 A protocol for news groups 16 8 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW Table 16 2 Predefined Services SERVICE DESCRIPTION NFS UDP 2049 Network File System NFS is a client server distributed file service that provides transparent file sharing for network environments NNTP TCP 119 Network News Transport Protocol is the delivery mechanism for the USENET newsgroup service PING ICMP 0 Packet INternet Groper is a protocol that sends out ICMP echo requests to test whether or not a remote host is reachable PPTP TCP 1723 Point to Point Tunneling Protocol enables secure transfer of data over public networks This is the control channel PPTP_TUNNEL GRE 0 Point to Point Tunneling Protocol enables secure transfer of data over public networks This is the data channel RCMD TCP 512 Remote Command Service REAL AUDIO TCP 7070 A streaming audio service that enables real time sound over the web REXEC TCP 514 Remote Execution Daemon RLOGIN TCP 513 Remote Login RTELNET TCP 107 Remote Telnet RTSP TCP UDP 554 The Real Time Streaming media control Protocol RTSP is a remote control for multimedia on the Internet SFTP TCP 115 Simple File Transfe
287. ng Keeps track of the client s network activity RADIUS is a simple package exchange in which your ZyWALL acts as a message relay between the wireless client and the network RADIUS server Types of RADIUS Messages The following types of RADIUS messages are exchanged between the access point and the RADIUS server for user authentication e Access Request Sent by an access point requesting authentication e Access Reject Sent by a RADIUS server rejecting access e Access Accept Sent by a RADIUS server allowing access e Access Challenge Sent by a RADIUS server requesting more information in order to allow access The access point sends a proper response from the user and then sends another Access Request message The following types of RADIUS messages are exchanged between the access point and the RADIUS server for user accounting 8 4 Wireless LAN Security Setup ZyWALL 2X and ZyWALL 2XW e Accounting Request Sent by the access point requesting accounting e Accounting Response Sent by the RADIUS server to indicate that it has started or stopped accounting In order to ensure network security the access point and the RADIUS server use a shared secret key which is a password they both know The key is not sent over the network In addition to the shared key password information exchanged is also encrypted to protect the network from unauthorized access 8 4 3 Sequence for EAP Authentication The following figure sh
288. ng packet used within one network is changed to a different IP address known within another network 12 1 1 NAT Definitions Inside outside denotes where a host is located relative to the ZyWALL For example the computers of your subscribers are the inside hosts while the web servers on the Internet are the outside hosts Global local denotes the IP address of a host in a packet as the packet traverses a router For example the local address refers to the IP address of a host when the packet is in the local network while the global address refers to the IP address of the host when the same packet is traveling in the WAN side Note that inside outside refers to the location of a host while global local refers to the IP address of a host used in a packet Thus an inside local address ILA is the IP address of an inside host in a packet when the packet is still in the local network while an inside global address IGA is the IP address of the same inside host when the packet is on the WAN side The following table summarizes this information Table 12 1 NAT Definitions TERM DESCRIPTION Inside This refers to the host on the LAN Outside This refers to the host on the WAN Local This refers to the packet address source or destination as the packet travels on the LAN Global This refers to the packet address source or destination as the packet travels on the WAN NAT 12 1 ZyWALL 2X and ZyWALL 2XW
289. nnection from the Click Apply to save your settings WAN to IP addresses 10 0 0 10 through 10 0 0 15 back to the ZyWALL on the LAN Figure 16 11 Rule Summary Example 16 20 Creating Custom Rules ZyWALL 2X and ZyWALL 2XW Chapter 17 Content Filtering This chapter provides a brief overview of content filtering using the web embedded configurator 17 1 Introduction to Content Filtering Internet content filtering allows you to create and enforce Internet access policies tailored to their needs Content filtering 1s the ability to block certain web features or specific URL keywords and should not be confused with packet filtering via SMT menu 21 1 To access these functions from the Main Menu click Content Filter to expand the Content Filter menus 17 2 Restrict Web Features The ZyWALL can block web features such as ActiveX controls Java applets cookies and disable web proxies 17 3 Days and Times The ZyWALL also allows you to define time periods and days during which the ZyWALL performs content filtering 17 4 Configure Content Filtering Click Content Filter on the navigation panel to open the following screen Content Filtering 17 1 ZyWALL 2X and ZyWALL 2XW Filter Restrict Web Features ActiveX Java J Cookies Web Proxy Enable URL Keyword Blocking Keyword oo Keyword List Add Delete Clear All Day to Block Everyday Sun Mon Tue Wed Thu Fri Sat Time of Day to Block
290. no server available adjtime task pause 60 seconds SMT Session Begin No DNS server available Wrong domain name No DNS server available Last errorlog repeat 8 Times getDateTime fail no server available adjtime task pause 1 day SNMP TRAP 0 cold start main init completed adjtime task pause 1 day SMT Session Begin system name is not configured LAN promiscuous mode lt 0 gt SMT Session End SMT Session Begin SMT Session End SMT Session Begin Figure 21 7 Examples of Error and Information Messages 21 4 2 UNIX Syslog The ZyWALL uses the UNIX syslog facility to log the CDR Call Detail Record and system messages to a syslog server Syslog and accounting can be configured in Menu 24 3 2 System Maintenance Unix Syslog as shown next Syslog Active No Syslog IP Address Log Facility Local 1 Menu 24 3 2 System Maintenance UNIX Syslog Press ENTER to Confirm or ESC to Cancel Figure 21 8 Menu 24 3 2 System Maintenance UNIX Syslog System Information and Diagnosis 21 7 ZyWALL 2X and ZyWALL 2XW You need to configure the UNIX syslog parameters described in the following table to activate syslog then choose what you want to log Table 21 3 System Maintenance Menu Syslog Parameters PARAMETER DESCRIPTION UNIX Syslog Active Press SPACE BAR and then ENTER to turn syslog on or off Syslog IP Address Enter the IP Address of the server that will log the CDR Call Detail
291. not provide identity protection It is useful in remote access situations where the address of the initiator is not know by the responder and both parties want to use pre shared key authentication 27 10 2 Pre Shared Key A pre shared key identifies a communicating party during a phase 1 IKE negotiation It is called pre shared because you have to share it with another party before you can communicate with them over a secure connection 27 10 3 Diffie Hellman DH Key Groups Diffie Hellman DH is a public key cryptography protocol that allows two parties to establish a shared secret over an unsecured communications channel Diffie Hellman is used within IKE SA setup to establish session keys 768 bit Group 1 DH1 and 1024 bit Group 2 DH2 Diffie Hellman groups are supported Upon completion of the Diffie Hellman exchange the two peers have a shared secret but the IKE SA is not authenticated For authentication use pre shared keys 27 10 4 Perfect Forward Secrecy PFS Enabling PFS means that the key is transient The key is thrown away and replaced by a brand new key using a new Diffie Hellman exchange for each new IPSec SA setup With PFS enabled if one key is compromised previous and subsequent keys are not compromised because subsequent keys are not derived from previous keys The time consuming Diffie Hellman exchange is the trade off for this extra security This may be unnecessary for data that does not require such secur
292. ntent Eltermg enne 17 1 17 2 Restrict Web Features sine de ERE ER dus 17 1 17 3 Days and Times oie SERO Re RR e DU RUNE dh 17 1 17 4 Configure Content Filtering east Rei ei 17 1 Logs Filter Configuration and SNMP Configuration eee eee eee eese ee eene nente natns tn setas tn sun V Chapter 18 Centralized Logs 4 eere eee eee esee e tns su netu seen seta setas tns ii 18 1 18 1 Introduction to Centralized Loge 18 1 18 2 View Lid tee ete eae 18 1 18 3 TiO BS Ctl S55 RR 18 3 18 4 OIM T Ze 18 6 Chapter 19 Filter Configuration e eeeee eee eee eee eene nete setenta sten sons tns sns ense su seta setas ta s tasa setas 19 1 19 1 Introduction tO Filters engineer eae ete PU p D RI EN DD one vds 19 1 19 2 Gontigurmg Filtet Set 4 scita cete on dud ud 19 4 19 3 Example Piltet ec ccc oe Reset eh Hee e eie eie ids 19 13 19 4 Filter Types and SUATNAT sse nnne nnne ener enne nennen nennen 19 16 19 5 Firewall Versus Filters s tvsse s tupac Sabena n setiieien een 19 16 19 6 Applying a Filter and Factory Defaults sssssesseseeeeereeeeeeeenn ns 19 17 Chapter 20 SNMP Configuration cresce eese etes esee eerte nete neta seen seen sese tn sios setas stone setas etes s setas enu 20 1 20 1 Introduction to SNMP ente eet e TRE TR RT TAIN 20 1 20 2 Supported MIBS 5 etra ROI iieitdii si dist 20 3 20 3 SNMP Configuration ao R
293. nter 12 from the main menu Select one of the IP static routes as shown next to configure IP static routes in menu 12 1 Menu 12 IP Static Route Setup T4 25 35 4 5 6 7 8 o PRR NHO Enter selection number Figure 11 2 Menu 12 IP Static Route Setup Now enter the index number of the static route that you want to configure 11 2 IP Static Route Setup ZyWALL 2X and ZyWALL 2XW Menu 12 1 Edit IP Static Route Route 1 Route Name Active No Destination IP Address IP Subnet Mask Gateway IP Address Metric 2 Private No Press ENTER to CONFIRM or ESC to CANCEL Figure 11 3 Menu 12 1 Edit IP Static Route The following table describes the IP Static Route Menu fields Table 11 1 IP Static Route Menu Fields FIELD DESCRIPTION Route This is the index number of the static route that you chose in menu 12 Route Name Enter a descriptive name for this route This is for identification purposes only Active This field allows you to activate deactivate this static route Destination IP This parameter specifies the IP network address of the final destination Routing is Address always based on network number If you need to specify a route to a single host use a subnet mask of 255 255 255 255 in the subnet mask field to force the network number to be identical to the host ID IP Subnet Enter the IP subnet mask for this destination Ma
294. nter the IP address of your ZyWALL in dotted decimal notation 192 168 1 1 default IP Subnet Mask Your ZyWALL will automatically calculate the subnet mask based 255 255 255 0 on the IP address that you assign Unless you are implementing subnetting use the subnet mask computed by the ZyWALL RIP Direction Press SPACE BAR and then ENTER to select the RIP direction Both Options are Both In Only Out Only or None default LAN Setup 7 7 ZyWALL 2X and ZyWALL 2XW Table 7 4 LAN TCP IP Setup Menu Fields FIELD DESCRIPTION EXAMPLE Version Press SPACE BAR and then ENTER to select the RIP version RIP 1 Options are default RIP 1 RIP 2B or RIP 2M Multicast IGMP Internet Group Multicast Protocol is a session layer None protocol used to establish membership in a Multicast group The ZyWALL supports both IGMP version 1 IGMP v1 and version 2 IGMP v2 Press SPACE BAR and then ENTER to enable IP Multicasting or select None default to disable it Edit IP Alias The ZyWALL supports three logical LAN interfaces via its single Yes physical Ethernet interface with the ZyWALL itself as the gateway for each LAN network Press SPACE BAR to select Yes and then press ENTER to display menu 3 2 1 IP Policies You can apply up to four IP Policy sets from twelve by typing 2 7 9 11 their numbers separated by commas When you have completed this menu press ENTER at the p
295. nter the time of the day in 24 hour format for example 23 00 equals 11 00 pm to send the logs Log Select the categories of logs that you want to record Logs include alerts Send immediate alert Select the categories of alerts for which you want the ZyWALL to instantly e mail alerts to the e mail address specified in the Send Alerts To field Apply Click Apply to save your customized settings and exit this screen Reset Click Reset to begin configuring this screen afresh 18 4 Reports Click the Logs and then the Reports tab to open the Reports screen The Reports page displays which computers on the LAN send and receive the most traffic what kinds of traffic are used the most and which web sites are visited the most often Use the Reports screen to have the ZyWALL record and display the following network usage details Vv Vv WK ON WV Web sites visited the most often Number of times the most visited web sites were visited The most used protocols or service ports The amount of traffic for the most used protocols or service ports The LAN IP addresses to and or from which the most traffic has been sent How much traffic has been sent to and from the LAN IP addresses to and or from which the most traffic has been sent 18 6 Centralized Logs ZyWALL 2X and ZyWALL 2XW The web site hit count may not be 100 accurate because sometimes when an individual web page loads it
296. o 3 000 000 seconds almost 35 days A short SA Life Time increases SA Life Time security by forcing the two VPN gateways to update the encryption and authentication keys However every time the VPN tunnel renegotiates all users accessing remote resources are temporarily disconnected Perfect Forward Secrecy PFS is disabled None by default in phase 2 IPSec SA setup This allows faster IPSec setup but is not so secure Choose from DH1 or DH2 to enable PFS DH1 refers to Diffie Hellman Group 1 a 768 bit random number DH2 refers to Diffie Hellman Group 2 a 1024 bit 1Kb random number more secure yet slower Click Basic to go to the previous VPN configuration screen Perfect Forward Secrecy PFS Click Apply to save your changes Click Reset to begin configuring this screen afresh 27 12Manual Key Setup Manual key management is useful if you have problems with IKE key management 27 12 1 Security Parameter Index SPI An SPI is used to distinguish different SAs terminating at the same destination and using the same IPSec protocol This data allows for the multiplexing of SAs to a single gateway The SPI Security Parameter Index along with a destination IP address uniquely identify a particular Security Association SA The SPI is transmitted from the remote VPN gateway to the local VPN gateway The local VPN gateway then uses the network encryption and key values that the administrator associated with the SPI to establish
297. o Src Addr y Check r IP Ad dr m Matched Matched Y Apply DestAddrMask to Dest Addr t LL Check DS IP Ad ea Mot Matched Matched _ Check on lt p Protocol Not Matched T Matched Check Seck Not Matched Deet Port Matched Y Action Not Matched No Y Action Matched Drop Forward d Drop Packet MV SS Check Next Rule Check Next Rule Drop Forward Accept Packet Ki Check Next Rule bw Figure 19 6 Executing an IP Filter 19 10 Filter Configuration ZyWALL 2X and ZyWALL 2XW 19 2 3 Configuring a Generic Filter Rule This section shows you how to configure a generic filter rule The purpose of generic rules is to allow you to filter non IP packets For IP it is generally easier to use the IP rules directly For generic rules the ZyWALL treats a packet as a byte stream as opposed to an IP or IPX packet You specify the portion of the packet to check with the Offset from 0 and the Length fields both in bytes The ZyWALL applies the Mask bit wise ANDing to the data portion before comparing the result against the Value to determine a match The Mask and Value are specified in hexadecimal numbers Note that it takes two hexadecimal digits to represent a byte so if the length is 4 the value in either field will ta
298. o block certain packets reduce traffic and prevent security breaches LAN Setup 7 1 ZyWALL 2X and ZyWALL 2XW Menu 3 1 LAN Port Filter Setup Input Filter Sets protocol filters device filters Output Filter Sets protocol filters device filters Press ENTER to Confirm or ESC to Cancel Figure 7 2 Menu 3 1 LAN Port Filter Setup 7 4 TCP IP and LAN DHCP The ZyWALL has built in DHCP server capability that assigns IP addresses and DNS servers to systems that support DHCP client capability 7 4 1 Factory LAN Defaults The LAN parameters of the ZyWALL are preset in the factory with the following values IP address of 192 168 1 1 with subnet mask of 255 255 255 0 24 bits 2 DHCP server enabled with 32 client IP addresses starting from 192 168 1 33 These parameters should work for the majority of installations If your ISP gives you an explicit DNS server address es skip ahead to section 7 5 to see how to enter the DNS server address es 7 4 2 DHCP Configuration DHCP Dynamic Host Configuration Protocol RFC 2131 and RFC 2132 allows individual clients to obtain TCP IP configuration at start up from a server You can configure the ZyWALL as a DHCP server or disable it When configured as a server the ZyWALL provides the TCP IP configuration for the clients If set to None DHCP service will be disabled and you must have another DHCP server on your LAN or else the computer must be manually configured
299. o have the ZyWALL automatically use its own IP address When you select DNS in the Local ID Type field type a domain name up to 31 characters by which to identify this ZyWALL Local Content When you select E mail in the Local ID Type field type an e mail address up to 31 characters by which to identify this ZyWALL The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address 27 10 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Secure Gateway Address Peer ID Type Peer Content Encapsulation Mode IPSec Protocol Table 27 7 Basic IKE VPN Rule Setup DESCRIPTION Type the WAN IP address or the URL up to 31 characters of the IPSec router with which you re making the VPN connection Set this field to 0 0 0 0 if the remote IPSec router has a dynamic WAN IP address the Key Management field must be set to IKE The remote address fields do not apply when the Secure Gateway Address field is configured to 0 0 0 0 In this case only the remote IPSec router can initiate the VPN Select IP to identify the remote IPSec router by its IP address Select DNS to identify the remote IPSec router by a domain name Select E mail to identify the remote IPSec router by an e mail address When you select IP in the Peer ID Type field type the IP address of the computer with which you will make the VPN connection or leave the field b
300. obtain your network number depends on your particular situation If the ISP or your network administrator assigns you a block of registered IP addresses follow their instructions in selecting the IP addresses and the subnet mask If the ISP did not explicitly give you an IP network number then most likely you have a single user account and the ISP will assign you a dynamic IP address when the connection is established If this is the case it 1s recommended that you select a network number from 192 168 0 0 to 192 168 255 0 and you must enable the Network Address Translation NAT feature of the ZyWALL The Internet Assigned Number Authority IANA reserved this block of addresses specifically for private use please do not use any other number unless you are told otherwise Let s say you select 192 168 1 0 as the network number which covers 254 individual addresses from 192 168 1 1 to 192 168 1 254 zero and 255 are reserved In other words the first three numbers specify the network number while the last number identifies an individual workstation on that network Once you have decided on the network number pick an IP address that 1s easy to remember for example192 168 1 1 for your ZyWALL but make sure that no other device on your network is using that IP address The subnet mask specifies the network number portion of an IP address Your ZyWALL will compute the subnet mask automatically based on the IP address that you entered You don t need to
301. ock specific URLs by using the keyword feature It also allows the administrator to define time periods and days during which content filtering is enabled Packet Filtering The packet filtering mechanism blocks unwanted traffic from entering leaving your network Universal Plug and Play UPnP Using the standard TCP IP protocol the ZyWALL and other UPnP enabled devices can dynamically join a network obtain an IP address and convey its capabilities to other devices on the network Call Scheduling Configure call time periods to restrict and allow access for users on remote nodes PPPoE PPPoE facilitates the interaction of a host with an Internet modem to achieve access to high speed data networks via a familiar dial up networking user interface PPTP Encapsulation Point to Point Tunneling Protocol PPTP is a network protocol that enables secure transfer of data from a remote client to a private server creating a Virtual Private Network VPN using a TCP IP based network Getting to Know Your ZyWALL 1 3 ZyWALL 2X and ZyWALL 2XW PPTP supports on demand multi protocol and virtual private networking over public networks such as the Internet The ZyWALL supports one PPTP server connection at any given time Dynamic DNS Support With Dynamic DNS Domain Name System support you can have a static hostname alias for a dynamic IP address allowing the host to be more easily accessible from various locations on the Internet You
302. ocol AH or ESP located after the original IP header and options but before any upper layer protocols contained in the packet such as TCP and UDP With ESP protection is applied only to the upper layer protocols contained in the packet The IP header information and options are not used in the authentication process Therefore the originating IP address cannot be verified for integrity against the data With the use of AH as the security protocol protection is extended forward into the IP header to verify the integrity of the entire packet by use of portions of the original IP header in the hashing process 26 3 2 Tunnel Mode Tunnel mode encapsulates the entire IP packet to transmit it securely A Tunnel mode is required for gateway services to provide access to internal systems Tunnel mode is fundamentally an IP tunnel with authentication and encryption This is the most common mode of operation Tunnel mode is required for gateway to gateway and host to gateway communications Tunnel mode communications have two sets of IP headers gt Outside header The outside IP header contains the destination IP address of the VPN gateway gt Inside header The inside IP header contains the destination IP address of the final system behind the VPN gateway The security protocol appears after the outer IP header and before the inside IP header 26 4 IPSec and NAT Read this section if you are running IPSec on a host computer behind the ZyWALL NAT
303. od 1 ChangeMe No Budget No Budget Reset Node 0 to update screen Figure 23 4 Budget Management The total budget is the time limit on the accumulated time for outgoing calls to a remote node When this limit is reached the call will be dropped and further outgoing calls to that remote node will be blocked After each period the total budget is reset The default for the total budget is 0 minutes and the period is 0 hours meaning no budget control You can reset the accumulated connection time in this menu by entering the index of a remote node Enter 0 to update the screen The budget and the reset period can be configured in menu 11 1 for the remote node Table 23 1 Budget Management FIELD DESCRIPTION EXAMPLE Remote Node Enter the index number of the remote node you 1 want to reset just one in this case Connection This is the total connection time that has gone by 5 10 means that 5 Time Total Budget within the allocated budget that you set in menu minutes out of a total 11 1 allocation of 10 minutes have lapsed Elapsed Time Total The period is the time cycle in hours that the 0 5 1 means that 30 Period allocation budget is reset see menu 11 1 The minutes out of the 1 elapsed time is the time used up within this period hour time period has lapsed Enter 0 to update the screen or press ESC to return to the previous screen System Maintenance amp Information 23 3 ZyWALL
304. of the data portion in the packet that you wish to 0 8 compare The range for this field is O to 8 Mask Enter the mask in Hexadecimal notation to apply to the data portion before comparison Value Enter the value in Hexadecimal notation to compare with the data portion More If Yes a matching packet is passed to the next filter rule before an action is Yes taken else the packet is disposed of according to the action fields No If More is Yes then Action Matched and Action Not Matched will be No Log Select the logging option from the following None None No packets will be logged Action Action Matched Only packets that match the rule parameters will be Matched logged Action Not Action Not Matched Only packets that do not match the rule parameters Matched will be logged Both Both All packets will be logged Action Select the action for a packet matching the rule Check Next Matched Rule Forward Drop Action Select the action for a packet not matching the rule Check Next Not Rule Matched Forward Drop Once you have completed filling in Menu 21 4 1 1 Generic Filter Rule press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC to cancel This data will now be displayed on Menu 21 1 1 Filter Rules Summary 19 12 Filter Configuration ZyWALL 2X and ZyWALL 2XW 19 3 Example Filter Let s look at an example to block outside users from accessing the ZyWALL via telnet
305. omatically disconnects from the PPPoE server default If you need a PPPoE service name to identify and reach the PPPoE server please go to menu 11 and enter the PPPoE service name provided to you in the Service Name field 9 5 Basic Setup Complete Well done You have successfully connected installed and set up your ZyWALL to operate on your network as well as access the Internet When the firewall is activated the default policy allows all communications to the Internet that originate from the LAN and blocks all traffic to the LAN that originates from the Internet You may deactivate the firewall in menu 21 2 or via the ZyWALL embedded web configurator You may also define additional firewall rules or modify existing ones but please exercise extreme caution in doing so See the firewall chapters for more information on the firewall Internet Access 9 5 Advanced Applications Part III Advanced Applications This part covers Remote Node Setup IP Static Route Setup and Network Address Translation NAT ZyWALL 2X and ZyWALL 2XW Chapter 10 Remote Node Setup This chapter shows you how to configure a remote node 10 1 Introduction to Remote Node Setup A remote node is required for placing calls to a remote gateway A remote node represents both the remote gateway and the network behind it across a WAN connection Note that when you use menu 4 to set up Internet access you a
306. on Total disk space required Space available on disk Using UPnP in Windows XP Example This appendix shows you how to use the UPnP feature in Windows XP You must already have UPnP installed in Windows XP and UPnP activated on the ZyXEL device O JB RIP Listener O d i Simple TCP IP Services components of Networking Services DOMB 0 0 MB s Universal Plug and Play Allows your computer to discover and control Universal Plug and Play devices 0 0 MB 260 8 MB Make sure the computer is connected to a LAN port of the ZyXEL device Turn on your computer and the ZyXEL device Auto discover Your UPnP enabled Network Device 40 UPnP ZyWALL 2X and ZyWALL 2XW Step 1 Step 2 Step 3 Click start and Control Panel Double click Network Connections An icon displays under Internet Gateway Right click the icon and select Properties In the Internet Connection Properties window click Settings to see the port mappings that were automatically created Z Internet Connection Properties Connect to the Intemet using Intemet Connection This connection allows you to connect to the Internet through a shared connection on another computer Show icon in notification area when connected Ca Network Connections File Edt View Favorites Tools Advanced Help OQ P seah gt Foes F Address Network Connections
307. on restrictions an AH can be employed to ensure integrity This type of implementation does not protect the information from dissemination but will allow for verification of the integrity of the information and authentication of the originator 27 2 2 ESP Encapsulating Security Payload Protocol The ESP protocol RFC 2406 provides encryption as well as some of the services offered by AH ESP authenticating properties are limited compared to the AH due to the non inclusion of the IP header information during the authentication process However ESP is sufficient if only the upper layer protocols need to be authenticated An added feature of the ESP is payload padding which further protects communications by concealing the size of the packet being transmitted Table 27 1 AH and ESP ESP AH Select DES for minimal security and 3DES for maximum Select MD5 for minimal security and SHA 1 for Select NULL to set up a tunnel without encryption maximum security VPN IPSec Setup 27 1 ZyWALL 2X and ZyWALL 2XW Table 27 1 AH and ESP ESP AH DES default MD5 default Data Encryption Standard DES is a widely used method MD5 Message Digest 5 produces a 128 bit of data encryption using a private secret key DES digest to authenticate packet data applies a 56 bit key to each 64 bit block of data 3DES SHA1 Triple DES 3DES is a variant of DES which iterates SHA1 Secure Hash Algorithm produces a thre
308. on tab note the entry for the Computer name field and enter it in the ZyWALL System Name field e In Windows 2000 click Start gt Settings gt Control Panel and then double click System Click the Network Identification tab and then the Properties button Note the entry for the Computer name field and enter it in the ZyWALL System Name field e In Windows XP click start My Computer gt View system information and then click the Computer Name tab Note the entry in the Full computer name field and enter it as the ZyWALL System Name The Domain Name entry is what is propagated to the DHCP clients on the LAN If you leave this field blank the domain name obtained by DHCP from the ISP is used While you must enter the host name System Name on each individual machine the domain name can be assigned from the ZyWALL via DHCP 5 3 Dynamic DNS Dynamic DNS Domain Name System allows you to update your current dynamic IP address with one or many dynamic DNS services so that anyone can contact you in NetMeeting CU SeeMe or other services You can also access your FTP server or Web site on your own computer using a DNS like address for example myhost dhs org where myhost is a name of your choice that will never change instead of using an IP address that changes each time you reconnect Your friends or relatives will always be able to call you even if they don t know your IP address First of all you need to have registered a dynamic DNS acco
309. on the back of the ZyWALL Uploading this configuration file replaces the current configuration file with the factory default configuration file This means that you will lose all configurations that you had previously and the speed of the console port will be reset to the default of 9600bps with 8 data bit no parity one stop bit and flow control set to none The password will be reset to 1234 also 4 5 1 Uploading a Configuration File Via Console Port Step 1 Download the default configuration file from the ZyXEL FTP site unzip it and save it in a folder Step 2 Turn off the ZyWALL begin a terminal emulation software session and turn on the ZyWALL again When you see the message Press Any key to enter Debug Mode within 3 seconds press any key to enter debug mode Step 3 Enter y at the prompt below to go into debug mode Step 4 Enter atlc after Enter Debug Mode message Step 5 Wait for Starting XMODEM upload message before activating Xmodem upload on your terminal This is an example Xmodem configuration upload using HyperTerminal Step 6 Click Transfer then Send File to display the following screen Send File 2f x Type the configuration file s location or click Browse to search for it Folder C Program Files Filename C Product config rom Browse i Choose the Xmodem Protocat protocol modem X Then click Send Figure 4 8 Example Xmodem Upload Step 7 After successful firmware upload enter
310. onal fields in a command are enclosed in square brackets The symbol means or For example sys filter netbios config type lt on off gt means that you must specify the type of netbios filter and whether to turn it on or off Command Usage A list of valid commands can be found by typing help or at the command prompt Always type the full command Type exit to return to the SMT main menu when finished Command Interpreter 57 ZyWALL 2X and ZyWALL 2XW the command structure Appendix N Firewall Commands The following describes the firewall commands See the Command Interpreter appendix for information on Chart N 1 Firewall Commands FUNCTION COMMAND DESCRIPTION Firewall Set Up config edit firewall active yes This command turns the firewall on or off no config retrieve firewall This command returns the previously saved firewall settings config save firewall This command saves the current firewall settings Display config display firewall This command shows the of all the firewall settings including e mail attack and the sets rules config display firewall set set gt This command shows the current configuration of a set including timeout values name default permit and etc If you don t put use a number after set information about all of the sets rules appears config display firewall set set 4 This command shows the current entries of a rule in rule rule 4
311. onfiguration File Menu 24 8 Command Interpreter Mode Menu 24 9 1 Budget Management Menu 24 9 System Maintenance Menu 24 9 2 Call Control Call History Figure 4 5 Advanced Management SMT Menus Introducing the SMT ZyWALL 2X and ZyWALL 2XW Menu 26 Menu 27 M 27 1 1 1 Schedule Setup VPN IPSec Setup KE Setup Menu 26 1 Menu 27 1 Menu 27 1 1 Schedule Set Setup IPSec SA VPN IPSec Tunnel Security Association Profile Summary Menu 27 1 1 2 Manual Setup Menu 27 2 SA Monitor Figure 4 6 Schedule Setup and IPSec VPN Configuration SMT Menus 4 4 Changing the System Password Change the default system password by following the steps shown next Step 1 Enter 23 in the main menu to open Menu 23 System Password as shown next Menu 23 System Password Old Password New Password Retype to confirm Enter here to CONFIRM or ESC to CANCEL Figure 4 7 Menu 23 System Password Step 2 Type your existing password and press ENTER Step 3 Type your new system password and press ENTER Step 4 Re type your new system password for confirmation and press ENTER Note that as you type a password the screen displays an X for each character you type Introducing the SMT 4 7 ZyWALL 2X and ZyWALL 2XW 4 5 Resetting the ZyWALL If you forget your password or cannot access the SMT menu you will need to reload the factory default configuration file or use the RESET butt
312. ory requirements of the country in which it is installed If necessary consult the appropriate regulatory agencies and inspection authorities to ensure compliance A rare condition can create a voltage potential between the earth grounds of two or more buildings If products installed in separate building are interconnected the voltage potential can cause a hazardous condition Consult a qualified electrical consultant to determine whether or not this phenomenon exists and if necessary implement corrective action before interconnecting the products Safety Warnings and Instructions 53 Command and Log Appendices Part XI Command and Log Appendices This part provides information on the command line interface firewall and NetBIOS commands logs and password protection XI ZyWALL 2X and ZyWALL 2XW Appendix M Command Interpreter The following describes how to use the command interpreter Enter 24 in the main menu to bring up the system maintenance menu Enter 8 to go to Menu 24 8 Command Interpreter Mode See the included disk or zyxel com for more detailed information on these commands Use of undocumented commands or misconfiguration can damage the unit and possibly render it unusable Command Syntax The command keywords are in courier new font Enter the command keywords exactly as shown do not abbreviate The required fields in a command are enclosed in angle brackets lt gt The opti
313. ossible ZyWALL from the LANor When NAT is enabled WAN gt Use the ZyWALL s WAN IP address when configuring from the WAN gt Use the ZyWALL s LAN IP address when configuring from the LAN Refer to the Problems with the LAN Interface section for instructions on checking your LAN connection Refer to the Problems with the WAN Interface section for instructions on checking your WAN connection Troubleshooting General Appendices Part X General Appendices This part provides background information about setting up your computer s IP address antennas triangle route how functions are related wireless LAN 802 1x PPPoE PPTP hardware specifications Universal Plug and Play IP subnetting and safety warnings UE ZyWALL 2X and ZyWALL 2XW Appendix A Setting up Your Computer s IP Address All computers must have a 10M or 100M Ethernet adapter card and TCP IP installed Windows 95 98 Me NT 2000 XP Macintosh OS 7 and later operating systems and all versions of UNIX LINUX include the software components you need to install and use TCP IP on your computer Windows 3 1 requires the purchase of a third party TCP IP application package TCP IP should already be installed on computers using Windows NT 2000 XP Macintosh OS 7 and later operating systems After the appropriate TCP IP components are installed configure the TCP IP settings in order to communicate w
314. ost common IP ports are 21 FTP 53 DNS 23 Telnet 80 HTTP 25 SMTP 110 POP3 Enter a port number in this field to define a port range This port number must be Remote Port End greater than that specified in the previous field or equal to it for configuring an individual port Enter the WAN IP address of your ZyWALL The ZyWALL uses its current WAN IP My IP Address address static or dynamic in setting up the VPN tunnel if you leave this field as 0 0 0 0 The VPN tunnel has to be rebuilt if this IP address changes Select IP to identify this ZyWALL by its IP address Local ID Type Select DNS to identify this ZyWALL by a domain name Select E mail to identify this ZyWALL by an e mail address When you select IP in the Local ID Type field type the IP address of your computer or leave the field blank to have the ZyWALL automatically use its own IP address When you select DNS in the Local ID Type field type a domain name up to 31 characters by which to identify this ZyWALL Local Content When you select E mail in the Local ID Type field type an e mail address up to 31 characters by which to identify this ZyWALL The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address Type the WAN IP address or the URL up to 31 characters of the remote secure Secure Gateway gateway with which you re making the VPN connection Se
315. otely IP manage the ZyWALL Enter an IP address to restrict access to a client with a matching IP address Once you have filled in this menu press ENTER at the message Press ENTER to Confirm or ESC to Cancel to save your configuration or press ESC to cancel 24 7 1 Remote Management Limitations Remote management over LAN or WAN will not work when 1 A filter in menu 3 1 LAN or in menu 11 5 WAN is applied to block a Telnet FTP or Web service 2 You have disabled that service in menu 24 11 3 The IP address in the Secured Client IP field menu 24 11 does not match the client IP address If it does not match the ZyWALL will disconnect the session immediately 4 There is an SMT console session running 5 There is already another remote management session of the same type web FTP or Telnet running You may only have one remote management session of the same type running at one time 6 There is a web remote management session running with a Telnet session A Telnet session will be disconnected if you begin a web session it will not begin if there already is a web session 24 8 Remote Management and SUA NAT When SUA NAT is enabled gt Use the ZyWALL s WAN IP address when configuring from the WAN gt Use the ZyWALL s LAN IP address when configuring from the LAN 24 4 Remote Management ZyWALL 2X and ZyWALL 2XW 24 9 System Timeout There is a system timeout of five minutes three hundred
316. oth logs and alerts You may differentiate them by their color in the View Log screen Alerts display in red and logs display in black 18 2 View Log Click the Logs link in the navigation panel to open the View Log screen Use the View Log screen to see the logs for the categories that you selected in the Log Settings screen see section 18 3 Options include logs about system maintenance system errors access control allowed or blocked web sites blocked web features such as ActiveX controls java and cookies attacks such as DoS and IPSec Centralized Logs 18 1 ZyWALL 2X and ZyWALL 2XW Log entries in red indicate system error logs The log wraps around and deletes the old entries after it fills Click a column heading to sort the entries A triangle indicates ascending or descending sort order View Log Log Settings Reports Display Au Logs Di Email Log Now Refresh Clear Log dE i UG login from SEP successfully d 192 188 133 ee 2 Ges User login from WEB successfully 192 168 1 33 User admin p DOD425 G server assigns 192 158 1 33 to steve 01 01 2000 4 00 04 23 S DHCP server assigns 192 158 1 33 to steve B ae lee A TN 6 Pet Eeoa User login from WEB successfully 192 168 1 33 User admin C D1 01 2000 Unsupported out oorder ICMP ICMP type D ij ACCESS 00 01 23 code 0 192 188 1 1 192 168 133 BLOCK Pinoa EE i EE 01 01 2000 LA 3
317. ou have a static IP address click Use the Use the following IP address following IP Address and fill in the IP address Subnet mask and Default gateway fields Click Advanced to go to the Advanced TCP IP Settings screen shown next Obtain DNS server address automatically Use the following DNS server addresses 8 Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 6 If you do not know your gateway s IP address remove any previously installed gateways in the IP Settings tab and click OK Do one or more of the following if you want to configure additional IP addresses In the IP Settings tab in IP addresses click Add In TCP IP Address type an IP address in IP address and a subnet mask in Subnet mask and then click Add Repeat the above two steps for each IP address you want to add Configure additional default gateways in the IP Settings tab by clicking Add in Default gateways In TCP IP Gateway Address type the IP address of the default gateway in Gateway To manually configure a default metric the number of transmission hops clear the Automatic metric check box and type a metric in Metric Click Add Advanced TCP IP Settings IP Settings DNS WINS Options IP addresses IP address Subnet mask DHCP Enabled Default gateways Gateway Metric Automatic metric Repeat the previous three steps for each default gateway you
318. ough the ZyWALL to the computer on the LAN in Subnet 1 LAN Subnet 1 WAN ISP 2 f 2 Reroute boansssoureaszneuunsasnnonencnssnssnanensnsnnsnsosansnuami gt 3 SYN ACK B ISP 1 Subnet 2 Diagram C 3 IP Alias Triangle Route 17 ZyWALL 2X and ZyWALL 2XW Gateways on the WAN Side A second solution to the triangle route problem is to put all of your network gateways on the WAN side as the following figure shows This ensures that all incoming network traffic passes through your ZyWALL to your LAN Therefore your LAN is protected B ISP 1 Diagram C 4 Gateways on the WAN Side 18 Triangle Route ZyWALL 2X and ZyWALL 2XW Appendix D The Big Picture The following figure gives an overview of how filtering the firewall VPN and NAT are related LAN WAN LAN to WAN Outbound Traffic DeviceFilter LAN to WAN Firewall Call Device Call Protocol Filter Filter WAN to L AN Firewall WAN to LAN Firewall Remote Node N LA Ae Device Filter WAN to LAN Inbound Traffic Diagram D 1 Big Picture Filtering Firewall VPN and NAT The Big Picture 19 ZyWALL 2X and ZyWALL 2XW Appendix E Wireless LAN and IEEE 802 11 A wireless LAN WLAN provides a flexible data communications system that you can use to access various services navigating the Internet email printer services etc withou
319. outing information with other routers The RIP Direction field controls the sending and receiving of RIP packets When set to Both or Out Only the ZyWALL will broadcast its routing table periodically When set to Both or In Only it will incorporate the RIP information that it receives when set to None it will not send any RIP packets and will ignore any RIP packets received The Version field controls the format and the broadcasting method of the RIP packets that the ZyWALL sends it recognizes both formats when receiving RIP 1 is universally supported but RIP 2 carries more information RIP 1 is probably adequate for most networks unless you have an unusual network topology Both RIP 2B and RIP 2M sends the routing data in RIP 2 format the difference being that RIP 2B uses subnet broadcasting while RIP 2M uses multicasting Multicasting can reduce the load on non router machines since they generally do not listen to the RIP multicast address and so will not receive the RIP packets However if one router uses multicasting then all routers on your network must use multicasting also By default RIP Direction is set to Both and the Version set to RIP 1 7 4 5 IP Multicast Traditionally IP packets are transmitted in one of either two ways Unicast one sender one recipient or Broadcast one sender everybody on the network Multicast delivers IP packets to a group of hosts on the network not everybody and not just one IGMP Inte
320. ow long a UDP connection is allowed to remain inactive before the ZyWALL considers the connection closed This command sets how long ZyWALL waits for a TCP session to be established before dropping the session This command sets how long the ZyWALL leaves a TCP session open after the firewall detects a FIN exchange indicating the end of the TCP session This command sets how long ZyWALL lets an inactive TCP connection remain open before considering it closed This command sets whether or not the ZyWALL creates logs for packets that match the firewall s default rule set This command sets whether packets that match this rule are dropped or allowed through Firewall Commands 61 ZyWALL 2X and ZyWALL 2XW Chart N 1 Firewall Commands FUNCTION COMMAND DESCRIPTION Config edit firewall set set gt This command sets whether a rule is enabled or rule rule 4 active yes no not Config edit firewall set set gt This command sets the protocol specification rule rule 4 protocol integer number made in this rule for ICMP protocol value Config edit firewall set set gt This command sets the ZyWALL to log traffic that rule rule gt log none match matches the rule doesn t match both or neither not match both Config edit firewall set set gt This command sets whether or not the ZyWALL rule rule gt alert yes no sends an alert e mail when a DOS attack or a violation of a p
321. ows the authentication steps when you enable EAP and specify a RADIUS server on your access point ES Laptop computer C SEN Figure 8 3 Sequence for EAP Authentication The steps below describe how the IEEE 802 1x EAP authentication works Step 1 The wireless client sends a request message to the ZyWALL Step 2 The ZyWALL sends a request message to the wireless client for identity information Step 3 The wireless client replies with the password and username information Step 4 The ZyWALL receives the message and repackets this information into an Access Request package which is then sent to the remote RADIUS server or the Authentication server Step 5 The RADIUS server checks the user information against its user profile database and sends an accept or a deny packet to the ZyWALL Step 6 When the ZyWALL receives the accept packet the client port is placed into an authorized state and traffic is allowed to proceed Otherwise no traffic is allowed 8 4 4 Enable EAP Authentication on Your ZyWALL Click Wireless and the 802 1X tab to display the Wireless LAN 802 1X Authentication screen Wireless LAN Security Setup 8 5 ZyWALL 2X and ZyWALL 2XW Database Force Authorized 3600 g Figure 8 4 Wireless LAN 802 1X Authentication The following table describes the fields in this screen Table 8 2 Wireless LAN 802 1X Authentication FIELD DESCRIPTION Au
322. p the packet N means to check the next rule The protocol dependent filter rules abbreviation are listed as follows Filter Configuration 19 5 ZyWALL 2X and ZyWALL 2XW Table 19 2 Rule Abbreviations Used ABBREVIATION DESCRIPTION IP Pr Protocol SA Source Address SP Source Port number DA Destination Address DP Destination Port number GEN Off Offset Len Length Refer to the next section for information on configuring the filter rules 19 2 1 Configuring a Filter Rule To configure a filter rule type its number in Menu 21 1 x Filter Rules Summary and press ENTER to open menu 21 1 x x for the rule To speed up filtering all rules in a filter set must be of the same class 1 e protocol filters or generic filters The class of a filter set is determined by the first rule that you create When applying the filter sets to a port separate menu fields are provided for protocol and device filter sets If you include a protocol filter set in a device filter field or vice versa the ZyWALL will warn you and will not allow you to save 19 2 2 Configuring a TCP IP Filter Rule This section shows you how to configure a TCP IP filter rule TCP IP rules allow you to base the rule on the fields in the IP and the upper layer protocol for example UDP and TCP headers 19 6 Filter Configuration ZyWALL 2X and ZyWALL 2XW To configure TCP IP rules select TCP IP Filter
323. pendix of firewall commands 14 4 Using ZyWALL SMT Menus From the main menu enter 21 to go to Menu 21 Filter Set and Firewall Configuration to display the screen shown next Menu 21 Filter and Firewall Setup l ee eue Firewall Setup Figure 14 1 Menu 21 Filter and Firewall Setup Introducing the ZyWALL Firewall 14 1 ZyWALL 2X and ZyWALL 2XW 14 4 1 Activating the Firewall Enter option 2 in this menu to bring up the following screen Press SPACE BAR and then ENTER to select Yes in the Active field to activate the firewall The firewall must be active to protect against Denial of Service DoS attacks Use the web configurator to configure firewall rules This screen varies by ZyWALL model Menu 21 2 Firewall Setup The firewall protects against Denial of Service DoS attacks when it is active Your network is vulnerable to attacks when the firewall is turned off Refer to the User s Guide for details about the firewall default policies You may define additional policy rules or modify existing ones but please exercise extreme caution in doing so You can use the Web Configurator to configure the firewall Press ENTER to Confirm or ESC to Cancel Figure 14 2 Menu 21 2 Firewall Setup Configure the firewall rules using the web configurator or command line interface 14 2 Introducing the ZyWALL Firewall ZyWALL 2X and ZyWALL 2XW Chapter 15 Firewall Configuration This chap
324. pload and you don t have to rename the files Please note that terms download and upload are relative to the computer Download means to transfer from the ZyWALL to the computer while upload means from your computer to the ZyWALL 22 2 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW 22 2 1 Backup Configuration Follow the instructions as shown in the next screen Menu 24 5 System Maintenance Backup Configuration To transfer the configuration file to your workstation follow the procedure below 1 Launch the FTP client on your workstation 2 Type open and the IP address of your router Then type root and SMT password as requested 3 Locate the rom 0 file 4 Type get rom 0 to back up the current router configuration to your workstation For details on FTP commands please consult the documentation of your FTP client program For details on backup using TFTP note that you must remain in this menu to back up using TFTP please see your router manual Press ENTER to Exit Figure 22 1 Telnet into Menu 24 5 22 2 2 Using the FTP Command from the Command Line Step 1 Launch the FTP client on your computer Step 2 Enter open followed by a space and the IP address of your ZyWALL Step 3 Press ENTER when prompted for a username Step 4 Enter your password as requested the default is 1234 Step 5 Enter bin to set transfer mode to binary
325. poofing attack while the ZyWALL did not have a default route ip spoofing no routing entry OSPF The firewall detected an OSPF IP spoofing attack while the ZyWALL did not have a default route ip spoofing no routing entry ICMP type d code d The firewall detected an ICMP IP spoofing attack while the ZyWALL did not have a default route see the section on ICMP messages for type and code details vulnerability ICMP type d code d The firewall detected an ICMP vulnerability attack see the section on ICMP messages for type and code details traceroute ICMP type d code d The firewall detected an ICMP traceroute attack see the section on ICMP messages for type and code details Log Descriptions 73 ZyWALL 2X and ZyWALL 2XW Chart Q 6 Access Logs LOG MESSAGE DESCRIPTION Firewall defaul ct ct TCP access matched the default policy of the listed ACL set and the policy TCP set d ZyWALL blocked or forwarded it according to the ACL set s configuration Firewall default UDP access matched the default policy of the listed ACL set and the policy UDP set d ZyWALL blocked or forwarded it according to the ACL seis configuration Firewall default policy ICMP set d type d code d ICMP access matched the default policy of the listed ACL set and the ZyWALL blocked or forwarded it according to the ACL set s configur
326. port 500 to IPSec router A 27 8 ID Type and Content With aggressive negotiation mode see section 27 10 1 the ZyWALL identifies incoming SAs by ID type and content since this identifying information is not encrypted This enables the ZyWALL to distinguish between multiple rules for SAs that connect from remote IPSec routers that have dynamic WAN IP VPN IPSec Setup 27 5 ZyWALL 2X and ZyWALL 2XW addresses Telecommuters can use separate passwords to simultaneously connect to the ZyWALL from IPSec routers with dynamic IP addresses see section 27 16 2 for a telecommuter configuration example With main mode see section 27 10 1 the ID type and content are encrypted to provide identity protection In this case the ZyWALL can only distinguish between up to eight different incoming SAs that connect from remote IPSec routers that have dynamic WAN IP addresses The ZyWALL can distinguish up to eight incoming SAs because you can select between two encryption algorithms DES and 3DES two authentication algorithms MD5 and SHA1 and two key groups DH1 and DH2 when you configure a VPN rule see section 27 11 The ID type and content act as an extra level of identification for incoming SAs The type of ID can be a domain name an IP address or an e mail address The content is the IP address domain name or e mail address Table 27 3 Local ID Type and Content Fields LOCAL ID TYPE CONTENT IP Type the IP address of you
327. port also have a 9 pin adaptor for the console cable with these pin assignments on the male end Chart I 3 Ethernet Cable Pin Assignments WANILAN Ethernet Cable Pin Layout Straight Through Crossover Switch Adapter Switch Switch 1 IRD 1 OTD 1 IRD 1 IRD 2 IRD 2 OTD 2 IRD 2 IRD 3 OTD 3 IRD 3 OTD 3 OTD 6 OTD 6 IRD 6 OTD 6 OTD Hardware Specifications 33 ZyWALL 2X and ZyWALL 2XW Power Adaptor Specifications Chart l 4 North American AC Power Adaptor Specifications AC Power Adapter model AD48 1201200DUY Input power AC120Volts 60Hz 0 25A Output power DC12Volts 1 2A Power consumption 10 W Plug North American standards Safety standards UL CUL UL 1950 CSA C22 2 No 234 M90 AC Power Adapter model AD48 1201200DUY Input power AC120Volts 60Hz Output power DC12Volts 1 2A Power consumption 9 W Plug North American standards Safety standards UL CUL UL1950 CSA C22 2 NO 234 M90 Chart l 5 European Union AC Power Adaptor Specifications AC Power Adapter model AD 1201200DV Input power AC230Volts 50Hz 0 2A Output power DC12Volts 1 2A Power consumption 10 W Plug European Union standards Safety standards TUV CE EN 60950 AC Power Adapter model JAD I21200E 00 Input power AC230Volts 50Hz Output power DC12Volts 1 2A Power consumption 9 W Plug European Union standards
328. pplication is shown next pex Bl Wireless LAN ZyWALL E Computer B ai EI Computer Computer Broadband modem Figure 1 2 ZyWALL 2XW Wireless LAN Application 1 6 Getting to Know Your ZyWALL ZyWALL 2X and ZyWALL 2XW Chapter 2 Hardware Installation This chapter explains the LEDs and ports as well as how to connect the hardware The wireless LAN information applies to the ZyWALL 2XW only 2 14 Introduction to Hardware Installation This chapter provides graphics of the front and rear panels descriptions of the ZyWALL s front panel LEDs and hardware connection instructions 2 2 Front Panels LEDs The LEDs on the front panel indicate the operational status of the ZyWALL ZyXEL TS SS SS SS SS SST ZyWALL SYS 1 2 3 4 10 100M CON AUX WLAN INTERNET SECURITY GATEWAY LAN 10 1004 WAN Figure 2 1 ZyWALL 2XW Front Panel Hardware Installation 2 1 ZyWALL 2X and ZyWALL 2XW ZyWALL ZyXEL CON AUX 1 2 3 4 10 100M t LAN 10 1004 3 WAN INTERNET SECURITY GATEWAY Figure 2 2 ZyWALL 2X Front Panel 2 3 LED Descriptions The following table describes the LED functions The SYS and WLAN LEDs apply to the ZyWALL 2XW Table 2 1 LED Descriptions LED STATUS LED DESCRIPTION PWR Green Light on The ZyWALL is on and receiving power Light flashing The ZyWALL is performing a self test Green Light off The ZyWALL is not receiving power SYS Green Li
329. protocols that perform specific functions An extension number called the TCP port or UDP port identifies these protocols such as HTTP Web FTP File Transfer Protocol POP3 E mail etc For example Web traffic by default uses TCP port 80 When computers communicate on the Internet they are using the client server model where the server listens on a specific TCP UDP port for information requests from remote client computers on the network For example a Web server typically listens on port 80 Please note that while a computer may be intended Firewalls 13 3 ZyWALL 2X and ZyWALL 2XW for use over a single port such as Web on port 80 other ports are also active If the person configuring or managing the computer is not careful a hacker could attack it over an unprotected port Some of the most common IP ports are Table 13 1 Common IP Ports 21 FTP 53 DNS 23 Telnet 80 HTTP 25 SMTP 110 POP3 13 4 2 Types of DoS Attacks There are four types of DoS attacks 1 Those that exploit bugs in a TCP IP implementation 2 Those that exploit weaknesses in the TCP IP specification 3 Brute force attacks that flood a network with useless data 4 IP Spoofing 1 Ping of Death and Teardrop attacks exploit bugs in the TCP IP implementations of various computer and host systems l a Ping of Death uses a ping utility to create an IP packet that exceeds the maximum 65 536
330. r Protocol SMTP TCP 25 Simple Mail Transfer Protocol is the message exchange standard for the Internet SMTP enables you to move messages from one e mail server to another SNMP TCP UDP 161 Simple Network Management Program SNMP Traps for use with the SNMP RFC 1215 TRAPS TCP UDP 162 SQL NET TCP 1521 Structured Query Language is an interface to access data on many different types of database systems including mainframes midrange systems UNIX systems and network servers SSH TCP UDP 22 Secure Shell Remote Login Program POP3 TCP 110 Post Office Protocol version 3 lets a client computer get e mail from a POP3 server through a temporary connection TCP IP or other Creating Custom Rules 16 9 ZyWALL 2X and ZyWALL 2XW Table 16 2 Predefined Services SERVICE DESCRIPTION STRM WORKS UDP 1558 Stream Works Protocol SYSLOG UDP 514 Syslog allows you to send system logs to a UNIX server TACACS UDP 49 Login Host Protocol used for Terminal Access Controller Access Control System TELNET TCP 23 Telnet is the login and terminal emulation protocol common on the Internet and in UNIX environments It operates over TCP IP networks Its primary function is to allow users to log into remote host systems TFTP UDP 69 Trivial File Transfer Protocol is an Internet file transfer protocol similar to FTP but uses the UDP User Datagram Protocol rather than TCP Transmission Control Protocol VDOLIVE TCP 7000 Anoth
331. r ZyWALL will accept either CHAP or PAP when requested by this remote node CHAP accept CHAP only PAP accept PAP only Telco Option Allocated The field sets a ceiling for outgoing call time for this remote node The 0 Budget default for this field is 0 meaning no budget control default Period hr This field is the time period that the budget should be reset For 0 example if we are allowed to call this remote node for a maximum of 10 default minutes every hour then the Allocated Budget is 10 minutes and the Period hr is 1 hour Schedules You can apply up to four schedule sets here For more details please refer to the Call Schedule Setup chapter Nailed Up This field specifies if you want to make the connection to this remote No Connection node a nailed up connection More details are given earlier in this default section Remote Node Setup 10 5 ZyWALL 2X and ZyWALL 2XW Table 10 2 Fields in Menu 11 1 PPPoE Encapsulation Specific FIELD DESCRIPTION EXAMPLE Session Type the length of idle time when there is no traffic from the ZyWALL to 100 Options the remote node in seconds that can elapse before the ZyWALL seconds Idle Ti t automatically disconnects the PPPoE connection This option only default mer eod applies when the ZyWALL initiates the call 10 3 3 PPTP Encapsulation If you change the Encapsulation to PPTP in menu 11 1 then you will see the next screen Please see the appendi
332. r computer or leave the field blank to have the ZyWALL automatically use its own IP address DNS Type a domain name up to 31 characters by which to identify this ZyWALL E mail Type an e mail address up to 31 characters by which to identify this ZyWALL The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address Table 27 4 Peer ID Type and Content Fields PEER ID TYPE CONTENT IP Type the IP address of the computer with which you will make the VPN connection or leave the field blank to have the ZyWALL automatically use the address in the Secure Gateway field DNS Type a domain name up to 31 characters by which to identify the remote IPSec router E mail Type an e mail address up to 31 characters by which to identify the remote IPSec router The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address The domain name also does not have to match the remote router s IP address or what you configure in the Secure Gateway Addr field below 27 6 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW 27 8 11D Type and Content Examples Two IPSec routers must have matching ID type and content configuration in order to set up a VPN tunnel The two ZyWALLs in this example can complete n
333. r ener nnne nnne tnter enne 1 1 l2 Eeatutes aos6snsoltihie ene pon obti ia tei e e a oreet 1 1 L Apphc tions for the ZyWALL E eed UR ROI T e UE 1 5 Chapter 2 Hardware Installation sci sccccccssusssvuscccusssvscsvenveseesecssoosesecusesestssensussevssevedssovseseussecvesssessvenusceens 2 1 2 1 Introduction to Hardware Installation esee rennen enne 2 1 2 2 Front Panels EEDS Senen a T p eR RP SUI Te UN Da EON EE 2 1 SEO dee aee oie Ee re IRE eod ge RUN Ee 2 2 2 4 ZyWALL Rear Panels and Connections sess 2 3 2 5 Hardware Connections eire ehe e re e thi EP e teen 2 3 2 6 Hardware Mounting Optons nennen enne ennt ener 2 5 2 7 Additional Installation Requirements for Using SO Is 2 5 28 T te On YoutZyWADLL ct tee REC EIS TU eR 2 5 Initial Setup and Configuration 4 eeeeeee eee ee eee eese esee n sense tn seta seta sets sets sistens sensns sens sensns stus e suse tnn II Chapter 3 Introducing the Web Configurator eese eee eee eese eene ense sten aeneis ttn sensn netus etn seen 3 1 3 1 Introduction to the Web Configurator eene ener enne 3 1 Table of Contents vii ZyWALL 2X and ZyWALL 2XW 3 2 Accessing the ZyWALL Web Configurator sess 3 1 3 3 Web Configurator Navigation rede E TR TR SUERTE ER ETE 3 2 Chapter A Introducing the SMT ese 4 1 4 Introductionito the SMT 5 isto e tede 4 1 4 2 Accessing the Console Port via the Conso
334. r of packets received To get to the System Status Step 1 Enter number 24 to go to Menu 24 System Maintenance Step 2 In this menu enter 1 to open System Maintenance Status Step 3 There are three commands in Menu 24 1 System Maintenance Status Entering 1 drops the WAN connection 9 resets the counters and ESC takes you back to the previous screen Menu 24 1 System Maintenance Status 09 20 95 7 Sat Jan 01 2000 Port Status TxPkts RxPkts Cols Tx B s Rx B s Up Time WAN Down 0 0 0 0 0 0 00 00 LAN Down 463 792 0 0 0 0 00 00 WLAN Down 0 0 0 0 0 0 00 00 Port Ethernet Address IP Address IP Mask DHCP WAN 00 a0 c5 01 23 46 0 0 0 0 0 0 0 0 Client LAN 00 a0 c5 01 23 45 192 768 1 1 255425525540 Server WLAN 00 00 00 00 00 00 System up Time 3 06 20 Press Command COMMANDS 1 Drop WAN 9 Reset Counters ESC Exit Figure 21 2 Menu 24 1 System Maintenance Status ZyWALL 2XW The following table describes the fields present in Menu 24 1 System Maintenance Status These fields are READ ONLY and meant for diagnostic purposes The upper right corner of the screen shows the time and date according to the format you set in menu 24 10 Table 21 1 System Maintenance Status Menu Fields FIELD DESCRIPTION Port Identifies a port WAN LAN or WLAN on the ZyWALL Status Shows the port speed and duplex setting if you re using Ethernet Encapsulation and Down line is down idle line ppp idle d
335. r the WAN IP address of your ZyWALL The ZyWALL uses its current WAN IP My IP Address address static or dynamic in setting up the VPN tunnel if you leave this field as 0 0 0 0 The VPN tunnel has to be rebuilt if this IP address changes Type the WAN IP address or the URL up to 31 characters of the remote secure Secure Gateway IP gateway with which you re making the VPN connection Set this field to 0 0 0 0 if the Address remote secure gateway has a dynamic WAN IP address the Key Management field must be set to IKE Type a unique SPI from one to four characters long Valid Characters are 0 1 2 3 SPI d 4 5 6 7 8 and 9 Select Tunnel mode or Transport mode from the drop down list box The ZyWALL s Encapsulation Mode 3 i encapsulation mode should be identical to the secure remote gateway As a VPN setup is processing intensive the system is vulnerable to Denial of Service DOS attacks The IPSec receiver can detect and reject old or duplicate packets to protect against replay attacks Enable replay detection by setting this field to Yes Enable Replay Detection 27 24 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Table 27 9 Manual IKE VPN Rule Setup Select ESP or AH from the drop down list box The ZyWALL s IPSec Protocol should be identical to the secure remote gateway The ESP Encapsulation Security Payload protocol RFC 2406 provides encryption as well as the authentication offered by AH If you select ESP he
336. r uploading new firmware see the ZyNOS F W Version field in Menu 24 2 1 System Maintenance Information to confirm that you have uploaded the correct firmware version The AT command is the command you enter after you press y when prompted in the SMT menu to go into debug mode Table 22 1 Filename Conventions FILE TYPE INTERNAL EXTERNAL NAME DESCRIPTION NAME Configuration Rom 0 This is the configuration filename on the ZyWALL rom File Uploading the rom 0 file replaces the entire ROM file system including your ZyWALL configurations system related data including the default password the error log and the trace log Firmware Ras This is the generic name for the ZyNOS firmware on bin the ZyWALL 22 2 Backup Configuration The ZyWALL displays different messages explaining different ways to backup restore and upload files in menus 24 5 24 6 24 7 1 and 24 7 2 depending on whether you use the console port or Telnet Option 5 from Menu 24 System Maintenance allows you to backup the current ZyWALL configuration to your computer Backup is highly recommended once your ZyWALL is functioning properly FTP is the preferred method for backing up your current configuration to your computer since it is faster You can also perform backup and restore using menu 24 through the console port Any serial communications program should work fine however you must use Xmodem protocol to perform the download u
337. rced Down Forced Down means that the connection is blocked whether or not there is a demand call on the line Enable Dial On Demand Enable Dial On Demand means that this schedule permits a demand call on the line Disable Dial On Disable Dial On Demand means that this schedule prevents a demand Demand call on the line When you have completed this menu press ENTER at the prompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 25 3 Applying Schedule Sets Once your schedule sets are configured you must then apply them to the desired remote node s Enter 11 from the Main Menu and then enter the target remote node index Press SPACE BAR and then ENTER to select PPPoE in the Encapsulation field to make the schedule sets field available as shown next Call Scheduling 25 3 ZyWALL 2X and ZyWALL 2XW Menu 11 1 Remote Node Profile Rem Node Name ChangeMe Route IP Active Yes Encapsulation PPPoE Edit IP No Service Type Standard Telco Option Service Name Allocated Budget min 0 Outgoing Period hr 0 My Login Schedules 1 2 3 4 My Password x Nailed Up CoXnection No Retype to Confirm x Authen CHAP PAP Session Options Edit Filter Se s No Apply your schedule sets here Edit Traffic Redireq Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 25 3 Applying Schedule Set s to a Remote Node PPPoE
338. re you must select options from the Encryption IPSec Protocol Algorithm and Authentication Algorithm fields described below The AH protocol Authentication Header Protocol RFC 2402 was designed for integrity authentication sequence integrity replay resistance and non repudiation but not for confidentiality for which the ESP was designed If you select AH here you must select an option from the Authentication Algorithm field Select DES or 3DES from the drop down list box The ZyWALL s encryption algorithm should be identical to the secure remote gateway When DES is used for data communications both sender and receiver must know the same secret key which Encryption Algorithm can be used to encrypt and decrypt the message The DES encryption algorithm uses a 56 bit key Triple DES 3DES is a variation on DES that uses a 168 bit key As a result 3DES is more secure than DES It also requires more processing power resulting in increased latency and decreased throughput With DES type a unique key 8 characters long With 3DES type a unique key 24 characters long Any characters may be used including spaces but trailing spaces are truncated Encryption Key only with ESP Select SHA1 or MD5 from the drop down list box The ZyWALL s authentication algorithm should be identical to the secure remote gateway MD5 Message Digest 5 and SHA1 Secure Hash Algorithm are hash algorithms used to authenticate the source and integrity o
339. re your computer must have an FTP client Firmware and Configuration File Maintenance 22 11 ZyWALL 2X and ZyWALL 2XW When you telnet into the ZyWALL you will see the following screens for uploading firmware and the configuration file using FTP Menu 24 7 1 System Maintenance Upload System Firmware To upload the system firmware follow the procedure below 1 Launch the FTP client on your workstation 2 Type open and the IP address of your system Then type root and SMT password as requested 3 Type put firmwarefilename ras where firmwarefilename is the name of your firmware upgrade file on your workstation and ras is the remote file name on the system 4 The system reboots automatically after a successful firmware upload For details on FTP commands please consult the documentation of your FTP client program For details on uploading system firmware using TFTP note that you must remain on this menu to upload system firmware using TFTP please see your manual Press ENTER to Exit Figure 22 13 Telnet Into Menu 24 7 1 Upload System Firmware 22 4 2 Configuration File Upload You see the following screen when you telnet into menu 24 7 2 22 12 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW Menu 24 7 2 System Maintenance Upload System Configuration File To upload the system configuration file follow the procedure below Launch the FTP client on yo
340. re 12 5 Menu 15 NAT Setup Configure LAN IP addresses in NAT menus 15 1 and 15 2 12 3 1 Address Mapping Sets Enter 1 to bring up Menu 15 1 Address Mapping Sets Menu 15 1 Address Mapping Sets T5 255 SUA read only Enter Menu Selection Number Figure 12 6 Menu 15 1 Address Mapping Sets SUA Address Mapping Set Enter 255 to display the next screen see also section 12 2 1 The fields in this menu cannot be changed NAT 12 9 ZyWALL 2X and ZyWALL 2XW Set Name Idx Local 25s 3 4 5 6 uo 8 9 0 n Menu 15 1 255 Address Mapping Rules SUA Start IP Local End IP Global Start IP Global End IP Server Press ENTER to Confirm or ESC to Cancel Figure 12 7 Menu 15 1 255 SUA Address Mapping Rules The following table explains the fields in this screen Menu 15 1 255 is read only Table 12 4 SUA Address Mapping Rules FIELD DESCRIPTION SAMPLE Set Name This is the name of the set you selected in menu 15 1 or enter the SUA name of a new set you want to create Idx This is the index or rule number 1 Local Start IP Local Start IP is the starting local IP address ILA see Figure 12 1 0 0 0 0 Local End IP Local End IP is the ending local IP address ILA If the rule is for all 255 255 255 255 local IPs then the start IP is 0 0 0 0 and the end IP is 255 255 255 255 Global Start This is the starting global IP address IGA
341. re actually configuring a remote node The following describes how to configure Menu 11 1 Remote Node Profile Menu 11 3 Remote Node Network Layer Options and Menu 11 5 Remote Node Filter 10 2 Remote Node Setup From the main menu select menu option 11 to open Menu 11 Remote Node Setup shown below Then enter 1 to open Menu 11 1 Remote Node Profile and configure the setup for your regular ISP Menu 11 Remote Node Setup 1 ChangeMe ISP SUA 2 Enter Node to Edit Figure 10 1 Menu 11 Remote Node Setup Remote Node Setup 10 1 ZyWALL 2X and ZyWALL 2XW 10 3 Remote Node Profile Setup The following explains how to configure the remote node profile menu 10 3 1 Ethernet Encapsulation There are two variations of menu 11 1 depending on whether you choose Ethernet Encapsulation or PPPoE Encapsulation You must choose the Ethernet option when the WAN port is used as a regular Ethernet The first menu 11 1 screen you see is for Ethernet encapsulation shown next Menu 11 1 Remote Node Profile Rem Node Name ChangeMe Route IP Active Yes Encapsulation Ethernet Edit IP No Service Type Standard Session Options Service Name N A Edit Filter Sets No Outgoing My Login N A My Password N A Edit Traffic Redirect No Retype to Confirm N A Server IP N A Press ENTER to Confirm or ESC to Cancel Figure 10 2 Menu 11 1 Remote Node Profile for Ethernet Encapsulation Table 10 1 Fields in Menu 11
342. rence 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 Certifications Refer to the product page at www zyxel com FCC iii ZyWALL 2X and ZyWALL 2XW Information for Canadian Users The Industry Canada label identifies certified equipment This certification means t
343. reshold one minute high the ZyWALL starts deleting half open sessions as required to accommodate new connection requests The ZyWALL continues to delete half open sessions as necessary until the rate of new connection attempts drops below another threshold one minute low The rate is the number of new attempts detected in the last one minute sample period TCP Maximum Incomplete and Blocking Time An unusually high number of half open sessions with the same destination host address could indicate that a Denial of Service attack is being launched against the host Whenever the number of half open sessions with the same destination host address rises above a threshold TCP Maximum Incomplete the ZyWALL starts deleting half open sessions according to one of the following methods 1 Ifthe Blocking Time timeout is 0 the default then the ZyWALL deletes the oldest existing half open session for the host for every new connection request to the host This ensures that the number of half open sessions to a given host will never exceed the threshold 2 Ifthe Blocking Time timeout is greater than 0 then the ZyWALL blocks all new connection requests to the host giving the server time to handle the present connections The ZyWALL continues to block all new connection requests until the Blocking Time expires The ZyWALL also sends alerts whenever TCP Maximum Incomplete is exceeded The global values specified for the threshold and timeout apply to
344. reter Appendix explains how to access and use the commands Configuring What You Want the ZyWALL to Log Usethesys logs load command to load the log setting buffer that allows you to configure which logs the ZyWALL is to record Usesys logs category followed by a log category and a parameter to decide what to record Chart Q 13 Log Categories and Available Settings LOG CATEGORIES AVAILABLE PARAMETERS access Do V lt 2 3 Log Descriptions 85 ZyWALL 2X and ZyWALL 2XW Chart Q 13 Log Categories and Available Settings LOG CATEGORIES AVAILABLE PARAMETERS attack De M 22 3 error Qs LZ lt 3 ike Qa 2 3 ipsec OQ dp Ze 8 javablocked OY us 324 23 mten 0 1 upnp 0 1 urlblocked Oy Tu 2 amp 3 urlforward 0 1 Use 0 to not record logs for that category 1 to record only logs for that category 2 to record only alerts for that category and 3 to record both logs and alerts for that category Use the sys logs save command to store the settings in the ZyWALL you must do this in order to record logs Displaying Logs Use the sys logs display command to show all of the logs in the ZyWALL s log Usethe sys logs category display command to show the log settings for all of the log categories Use the sys logs display log category command to show the logs in an individual ZyWALL log category Use the sys logs clear command to erase all of the ZyWALL s lo
345. rity Setup cssccsscssscssscssssssssssssscssesessssssessssssenesssesssesssessesssessoees 8 1 8 1 Introduction to Wireless LAN Security ssssssssesesseeee eere 8 1 viii Table of Contents ZyWALL 2X and ZyWALL 2XW 8 2 5 Peye Sof Security oie RERO RID ERR d wa RR E ROI eats 8 1 8 5 Data Encryption with WEP ee e S ee 8 2 8 4 Network Authentication eese eene enne nennen nne tn tnnt tnne rre treten enne 8 3 8 5 Local User Authentication AANEREN ENEE 8 8 Sr IMAC Address Filtering utto ete obire ete diete 8 10 Chapter 9 Internet ACCESS P 9 1 9 1 Introduction to Internet Access Setup 9 1 92 Ether et Encapsulation EE 9 1 9 3 PPTP Encapsulation EE 9 2 9 44 PPPOE Encapsulation abe hee eap Die de da esee 9 3 9 5 Basic Setup Gombplete uu eege Ee eI Ia 9 5 Advanced E OU SSS E Ssss II Chapter 10 Remote Node Setup eee ee eee eee eee eese testen atta sten sensns ens tn netu netu nei 10 1 10 1 Introduction to Remote Node Setup 10 1 10 2 Remote Node Setups sive ode eod deo eR e ce d Qe t dude 10 1 10 3 Remote Node Profile Set p 5 oet acide c et e Edd 10 2 10 4 Edit IP RH te oem ren ed eene 10 7 10 5 Remote Node Filter sere e tee deat 10 9 10 6 Trafic Et iu oen sten udi pho at odas ah Get tom telae 10 10 Chapter 11 IP Static Route Setup eeeeee eee eres eee e nette ee eene eren seen n et ts seen sse ta stone setas tos
346. rnet Group Multicast Protocol is a session layer protocol used to establish membership in a multicast group it is not used to carry user data IGMP version 2 RFC 2236 is an improvement over version 1 RFC 1112 but IGMP version 1 is still in wide use If you would like to read more detailed 7 4 LAN Setup ZyWALL 2X and ZyWALL 2XW information about interoperability between IGMP version 2 and version 1 please see sections 4 and 5 of RFC 2236 The class D IP address is used to identify host groups and can be in the range 224 0 0 0 to 239 255 255 255 The address 224 0 0 0 1s not assigned to any group and is used by IP multicast computers The address 224 0 0 1 1s used for query messages and is assigned to the permanent group of all IP hosts including gateways All hosts must join the 224 0 0 1 group in order to participate in IGMP The address 224 0 0 2 1s assigned to the multicast routers group The ZyWALL supports both IGMP version 1 IGMP v1 and IGMP version 2 IGMP v2 At start up the ZyWALL queries all directly connected networks to gather group membership After that the ZyWALL periodically updates this information IP Multicasting can be enabled disabled on the ZyWALL LAN and or WAN interfaces using menus 3 2 LAN and 11 3 WAN Select None to disable IP Multicasting on these interfaces 7 4 6 IP Alias IP Alias allows you to partition a physical network into different logical networks over the same Ethernet interface The Zy
347. rompt Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 7 5 1 IP Alias Setup You must use menu 3 2 to configure the first network Move the cursor to the Edit IP Alias field press SPACE BAR to choose Yes and press ENTER to configure the second and third network Press ENTER to open Menu 3 2 1 IP Alias Setup as shown next 7 8 LAN Setup ZyWALL 2X and ZyWALL 2XW Menu 3 2 1 IP Alias Setup IP Alias 1 2 No P Address N A P Subnet Mask N A RIP Direction N A Version N A ncoming protocol filters N A Outgoing protocol filters N A IP Alias 2 No P Address N A P Subnet Mask N A RIP Direction N A Version N A ncoming protocol filters N A Outgoing protocol filters N A Enter here to CONFIRM or ESC to CANCEL Press Space Bar to Toggle Figure 7 7 Menu 3 2 1 IP Alias Setup Use the instructions in the following table to configure IP Alias parameters Table 7 5 IP Alias Setup Menu Fields FIELD DESCRIPTION DEFAULT IP Alias Choose Yes to configure the LAN network for the ZyWALL Yes IP Address Enter the IP address of your ZyWALL in dotted decimal notation 192 168 2 1 IP Subnet Mask Your ZyWALL will automatically calculate the subnet mask based 255 255 255 0 on the IP address that you assign Unless you are implementing subnetting use the subnet mask computed by the ZyWALL RIP Direction Press S
348. route 13 7 2 Firewall Q The firewall inspects packet contents as well as their source and destination addresses Firewalls of this type employ an inspection module applicable to all protocols that understands data in the packet is intended for other layers from the network layer IP headers up to the application layer The firewall performs stateful inspection It takes into account the state of connections it handles so that for example a legitimate incoming packet can be matched with the outbound request for that packet and allowed in Conversely an incoming packet masquerading as a response to a nonexistent outbound request can be blocked The firewall uses session filtering 1 e smart rules that enhance the filtering process and control the network session rather than control individual packets in a session The firewall provides e mail service to notify you of routine reports and when alerts occur 13 12 Firewalls ZyWALL 2X and ZyWALL 2XW When To Use The Firewall 1 To prevent DoS attacks and prevent hackers cracking your network 2 Arange of source and destination IP addresses as well as port numbers can be specified within one firewall rule making the firewall a better choice when complex rules are required 3 To selectively block allow inbound or outbound traffic between inside host networks and outside host networks Remember that filters cannot distinguish traffic originating from an inside host or an out
349. rt IP as 192 168 1 10 the IP address of FTP Server 1 the global Start IP as 10 132 50 1 our first IGA See Figure 12 16 Step 6 Repeat the previous step for rules 2 to 4 as outlined above Step 7 When finished menu 15 1 1 should look like as shown in Figure 12 19 12 20 NAT ZyWALL 2X and ZyWALL 2XW Menu 11 3 Remote Node Network Layer Options IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Addr N A Network Address Translation Full Feature Metric N7A Private N A RIP Direction None Version N A Enter here to CONFIRM or ESC to CANCEL Figure 12 17 Example 3 Menu 11 3 The following figure shows how to configure the first rule Menu 15 1 1 1 Address Mapping Rule Ka Local IP Start 192 168 1 10 End Global IP Start End MA Press ENTER to Confirm or ESC to Cancel Press Space Bar to Toggle Figure 12 18 Example 3 Menu 15 1 1 1 NAT 12 21 ZyWALL 2X and ZyWALL 2XW Menu 15 1 1 Address Mapping Rules Global End IP 192 168 1 10 192 168 1 11 0 0 0 0 255 255 255 255 Action Edit Select Rule Press ENTER to Confirm or ESC to Cancel Figure 12 19 Example 3 Final Menu 15 1 1 Now configure the IGA3 to map to our web server and mail server on the LAN Step 8 Enter 15 from the main menu Step 9 Now enter 2 from this menu and configure it as shown in Figure 12 20 Menu 15 2 NAT Server Setup Start Port No End Port No
350. rt more than one service for example both FTP and web service it might be better to specify a range of port numbers In addition to the servers for specified services NAT supports a default server A service request that does not have a server explicitly designated for it is forwarded to the default server If the default is not defined the service request is simply discarded Many residential broadband ISP accounts do not allow you to run any server processes such as a Web or FTP server from your location Your ISP may periodically check for servers and may suspend your account if it discovers any active services at your location If you are unsure refer to your ISP The most often used port numbers are shown in the following table Please refer to RFC 1700 for further information about port numbers Please also refer to the included disk for more examples and details on NAT Table 12 7 Services amp Port Numbers SERVICES PORT NUMBER ECHO 7 FTP File Transfer Protocol 21 Telnet 23 SMTP Simple Mail Transfer Protocol 25 DNS Domain Name System 53 Finger 79 HTTP Hyper Text Transfer protocol or WWW Web 80 12 14 NAT ZyWALL 2X and ZyWALL 2XW Table 12 7 Services amp Port Numbers SERVICES PORT NUMBER POP3 Post Office Protocol 110 NNTP Network News Transport Protocol 119 SNMP Simple Network Management Protocol 161 SNMP trap 162 PPTP Point to Point
351. rting XMODEM download Figure 22 4 System Maintenance Starting Xmodem Download Screen Step 3 Run the HyperTerminal program by clicking Transfer then Receive File as shown in the following screen Receive File Type a location for storing the configuration file or click Browse to Place received file in the followinefotder look for one c Product Use receiving protocol Choose the Xmodem protocol Xmodem zi Then click Receive Figure 22 5 Backup Configuration Example Recei Step 4 After a successful backup you will see the following screen Press any key to return to the SMT menu Backup Configuration completed OK Hit any key to continue Figure 22 6 Successful Backup Confirmation Screen Firmware and Configuration File Maintenance 22 7 ZyWALL 2X and ZyWALL 2XW 22 3 Restore Configuration This section shows you how to restore a previously saved configuration Note that this function erases the current configuration before restoring a previous back up configuration please do not attempt to restore unless you have a backup configuration file stored on disk FTP is the preferred method for restoring your current computer configuration to your ZyWALL since FTP is faster Please note that you must wait for the system to automatically restart after the file transfer is complete WARNING Do not interrupt the file transfer process as this may PERMANENTLY DAMAGE YOU
352. rver 192 168 1 1 Corporation B PC2 Server in Sales Network IP 2 IGA 2 LAN2 192 168 2 X a TEPEE Network Server Sales 192 168 2 1 NT Server 192 168 2 1 PC PC Serverin d R amp D Network NT Servel zIP 3 IGA 3 LANZ 192 168 3 X 192 168 3 1 Network Server R amp D 192 168 3 1 d WAN Addresses LAN Addresses Default IP s IGA 1 gt 192 168 1 1 We ido IGA 2 192 168 2 1 IGA 3 192 168 3 1 Figure 12 2 NAT Application With IP Alias 12 1 5 NAT Mapping Types NAT supports five types of IP port mapping They are 1 One to One In One to One mode the ZyWALL maps one local IP address to one global IP address 12 4 NAT ZyWALL 2X and ZyWALL 2XW 2 Many to One In Many to One mode the ZyWALL maps multiple local IP addresses to one global IP address This is equivalent to SUA i e PAT port address translation ZyXEL s Single User Account feature the SUA Only option 3 Many to Many Overload In Many to Many Overload mode the ZyWALL maps the multiple local IP addresses to shared global IP addresses 4 Many One to One In Many One to One mode the ZyWALL maps each local IP address to a unique global IP address 5 Server This type allows you to specify inside servers of different services behind the NAT to be accessible to the outside world Port numbers do not change for One to One and Many One to One NAT mapping type
353. s The following table summarizes these types Table 12 2 NAT Mapping Types TYPE IP MAPPING SMT ABBREVIATION One to One ILA1 amp IGA1 1 1 Many to One SUA PAT ILA1 amp IGA1 M 1 ILA2 amp IGA1 Many to Many Overload ILA1 IGA1 M M Ov ILA2 gt IGA2 ILA3 gt IGA1 ILA4 lt gt IGA2 Many One to One ILA1 lt 7 gt IGA1 M 1 1 ILA2 IGA2 ILA3 IGA3 NAT 12 5 ZyWALL 2X and ZyWALL 2XW Table 12 2 NAT Mapping Types TYPE IP MAPPING SMT ABBREVIATION Server Server 1 IPX amp IGA1 Server Server 2 IP gt IGA1 Server 3 IP gt IGA1 12 2 Using NAT You must create a firewall rule in addition to setting up SUA NAT to allow traffic from the WAN to be forwarded through the ZyWALL 12 2 1 SUA Single User Account Versus NAT SUA Single User Account is a ZyNOS implementation of a subset of NAT that supports two types of mapping Many to One and Server See section 12 3 1 for a detailed description of the NAT set for SUA The ZyWALL also supports Full Feature NAT to map multiple global IP addresses to multiple private LAN IP addresses of clients or servers using mapping types as outlined in Table 12 2 1 Choose SUA Only if you have just one public WAN IP address for your ZyWALL 2 Choose Full Feature if you have multiple public WAN IP addresses for your ZyWALL 12 2 2 Applying NAT You apply NAT via menus 4 or 11 3 as displayed ne
354. s On September 16 1999 the 802 11b provided much higher data rates of up to 11Mbps while maintaining the 802 11 protocol 20 Wireless LAN and IEEE 802 11 ZyWALL 2X and ZyWALL 2XW The IEEE 802 11 specifies three different transmission methods for the PHY the layer responsible for transferring data between nodes Two of the methods use spread spectrum RF signals Direct Sequence Spread Spectrum DSSS and Frequency Hopping Spread Spectrum FHSS in the 2 4 to 2 4825 GHz unlicensed ISM Industrial Scientific and Medical band The third method is infrared technology using very high frequencies just below visible light in the electromagnetic spectrum to carry data Ad hoc Wireless LAN Configuration The simplest WLAN configuration is an independent Ad hoc WLAN that connects a set of computers with wireless nodes or stations STA which is called a Basic Service Set BSS In the most basic form a wireless LAN connects a set of computers with wireless adapters Any time two or more wireless adapters are within range of each other they can set up an independent network which is commonly referred to as an Ad hoc network or Independent Basic Service Set IBSS See the following diagram of an example of an Ad hoc wireless LAN lg Soe E X Notebook with Desktop with Wireless NIC Wireless NIC d Ad hoc Wireless LAN i Notebook with Desktop with Wireless NIC Wireless NIC Diagram E 1 Peer to Peer Com
355. s to apply to the incoming and outgoing traffic between this remote node and the ZyWALL to prevent certain packets from triggering calls You can specify up to 4 filter sets separated by commas for example 1 5 9 12 in each filter field Note that spaces are accepted in this field For more information on defining the filters please refer to the Filters chapter For PPPoE or PPTP encapsulation you have the additional option of specifying remote node call filter sets Menu 11 5 Remote Node Filter Input Filter Sets protocol filters device filters Output Filter Sets protocol filters device filters Enter here to CONFIRM or ESC to CANCEL Figure 10 6 Menu 11 5 Remote Node Filter Ethernet Encapsulation Remote Node Setup 10 9 ZyWALL 2X and ZyWALL 2XW Menu 11 5 Remote Node Filter Input Filter Sets protocol filters Device filters Output Filter Sets protocol filters device filters Call Filter Sets protocol filters Device filters Enter here to CONFIRM or ESC to CANCEL Figure 10 7 Menu 11 5 Remote Node Filter PPPoE or PPTP Encapsulation 10 6 Traffic Redirect Traffic redirect forwards WAN traffic to a backup gateway when the ZyWALL cannot connect to the Internet through its normal gateway Connect the backup gateway on the WAN so that the ZyWALL still provides firewall protection Figure 10 8 Traffic Redirect WAN Setup The following network topology allows you to avo
356. s and firewall logs Select menu 24 in the main menu to open Menu 24 System Maintenance as shown next Menu 24 System Maintenance 1 System Status 2 System Information and Console Port Speed 3 Log and Trace 4 Diagnostic 5 Backup Configuration 6 Restore Configuration 7 Upload Firmware 8 Command Interpreter Mode 9 ea Ontro D Time and Date Setting 11 Remote Management Setup Enter Menu Selection Number Figure 23 6 Menu 24 System Maintenance Enter 10 to go to Menu 24 10 System Maintenance Time and Date Setting to update the time and date settings of your ZyWALL as shown in the following screen Menu 24 10 System Maintenance Time and Date Setting Use Time Server when Bootup NTP RFC 1305 Time Server Address tick stdtime gov tw Current Time 00 00 New Time hh mm ss Pk e E 8 Current Date 2000 01 New Date yyyy mm dd 2001 03 Time Zone GMT 0800 Daylight Saving No Start Date mm dd eS End Date mm dd angg Press ENTER to Confirm or ESC to Cancel Figure 23 7 Menu 24 10 System Maintenance Time and Date Setting System Maintenance amp Information 23 5 ZyWALL 2X and ZyWALL 2XW Table 23 3 Time and Date Setting Fields FIELD DESCRIPTION Use Time Server Enter the time service protocol that your timeserver sends when you turn on the when Bootup ZyWALL Not all timeservers support all protocols so you may have to check with your ISP networ
357. s not use DDNS enter 0 0 0 0 as the secure gateway s address In this case only the remote secure gateway can initiate SAs This may be useful for telecommuters initiating a VPN tunnel to the company network See section 27 16 for configuration examples 27 2 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW The Secure Gateway IP Address may be configured as 0 0 0 0 only when using IKE key management and not Manual key management 27 5 Summary Screen The following figure helps explain the main fields in the web configurator Local Remote Network Network Local Remote IP Agd osses IP Addresses ZyWALL VPN Tunnel My IP Address Secure Gatew IP Address Figure 27 1 IPSec Summary Fields Local and remote IP addresses must be static Click VPN to open the Summary screen This is a read only menu of your IPSec rules tunnels Edit or create an IPSec rule by selecting an index number and then clicking Edit to configure the associated submenus _ Rule Setup SAMonitor Global Setting Active Local Addr Remote Addr Algorithm DH DHL ILt L m 1 J Figure 27 2 VPN Summary VPN IPSec Setup 27 3 ZyWALL 2X and ZyWALL 2XW Table 27 2 VPN Summary LABEL DESCRIPTION This field displays the VPN rule number Y signifies that this VPN rule is active L c lAddr NN displays the IP address of the computer using the VPN IPSec feature of your Remote Addr This field
358. s screen Use the Log Settings screen to configure to where the ZyWALL is to send logs the schedule for when the ZyWALL is to send the logs and which logs and or immediate alerts the ZyWALL is to send Centralized Logs 18 3 ZyWALL 2X and ZyWALL 2XW View Log Log Settings Reports Address Info Mail Server ees Outgoing SMTP Server Name or IP Address Mail Subject E ooo Send log to Lee E Mail Address Send alerts to E Mail Address UNIX Syslog Active Syslog IP Address 0 0 0 0 Serer Name or IP Address Log Facility Local 1 DI Send Log Log Schedule None Day for Sending Log Time for Sending Log fo hour i minute Log Send immediate alert lv System Maintenance System Errors v System Errors Access Control lv Access Control Blocked Web Sites M UPnP Blocked Java etc Iv Forward Web Sites Attacks Iv Blocked Web Sites PSec Iv Blocked Java etc IKE lv Attacks Iv IPSec Iv IKE Reset Figure 18 2 Log Settings 18 4 Centralized Logs ZyWALL 2X and ZyWALL 2XW Table 18 2 Log Settings LABEL DESCRIPTION Address Info Mail Server Enter the server name or the IP address of the mail server for the e mail addresses specified below If this field is left blank logs and alert messages will not be sent via e mail Mail Subject Type a title that you want to be in the subject line of the log e mail message that the ZyWALL s
359. s seta sse tn neenon 11 1 11 1 Introduction to Static Route erp e ERG UP e ee oer ce Pedes Rte te rhe 11 1 11 2 IP St tic Route Setup cuseiieeene nine nte ede RE RR E Ren 11 2 Chapter 12 Network Address Translation NAT eres ee ee esee ee ee eene eren nete n netta netos ens seen neenon 12 1 12 1 Introduction to NAT na uesduec adele aaah on eu IU e t dais 12 1 12 2 BEE RE 12 6 12 3 NAT Setups 3 aime te dE oa een t e teta deti dte ts 12 8 12 4 NAT Server Sets Port Forwarding essere enne enne 12 14 Table of Contents ix ZyWALL 2X and ZyWALL 2XW 12 5 Generali NAT Examples asiento aeri ve eiae m esi d 12 17 12 6 Trigger Port Forwardtmig i o eee ies 12 24 Firewall and Content Filters eerie eese eese eee seen einen enne tn natns tasa ororo setas tias essen senses soss s orrian IV Chapter 13 Firewalls g 13 1 13 1 Introduction to Firewalls nee eee d een IO dues e de EUROS gees 13 1 13 2 Types of Firewalls oae hup Re OC ge eee AT REED QU INE 13 1 13 3 Introduction to ZyXEL s Firewall eese eene enne nennen 13 2 13 4 Denial of Service ico Ceo eed eem deeem eek 13 3 13 5 Statetul TaspecttOm 5n o c aee d e diete rite Wen E ed 13 7 13 6 Guidelines For Enhancing Security With Your Frewall sss 13 11 13 7 P cket Filtennig Ve Firewall 5 erneute RE 13 12 Chapter 14 Introducing the ZyWALL Firewall
360. scribes some of the fields that you may see in GUI based TFTP clients Table 22 3 General Commands for GUI based TFTP Clients COMMAND DESCRIPTION Host Enter the IP address of the ZyWALL 192 168 1 1 is the ZyWALL s default IP address when shipped Send Fetch Use Send to upload the file to the ZyWALL and Fetch to back up the file on your computer Local File Enter the path and name of the firmware file bin extension or configuration file rom extension on your computer Remote File This is the filename on the ZyWALL The filename for the firmware is ras and for the configuration file is rom 0 Binary Transfer the file in binary mode Abort Stop transfer of the file Refer to section 22 2 5 to read about configurations that disallow TFTP and FTP over WAN 22 2 9 Backup Via Console Port Back up configuration via console port by following the HyperTerminal procedure shown next Procedures using other serial communications programs should be similar ee 99 Step 1 Display menu 24 5 and enter y at the following screen 22 6 Firmware and Configuration File Maintenance ZyWALL 2X and ZyWALL 2XW Ready to backup Configuration via Xmodem Do you want to continue y n Figure 22 3 System Maintenance Backup Configuration Step 2 The following screen indicates that the Xmodem download has started You can enter ctrl x to terminate operation any time Sta
361. seesoesseees XI Appendix M Command Interpreter sccsscssscssscsssssssssssesscssscesssssssssssssesssessssssssessssesscssessseesseesseseens 57 Appendix N Firewall Commands eee ee eee esee ee seen eene nete natuss tn seta sense tasa tosta sess stesse esso netu seen 58 Appendix O NetBIOS Filter Comma nnd cssccsssssssssscecscssscssssssssssssssssssesssssssnessssessessecsssessesseseees 65 Appendix P Boot Command scsscssccssccsscssscssccsscssssssssssscscsssessssssesssssesssessssessnessnsessesseesseesessenseees 68 Appendix Q Log Descriptions eere eee eese eese en ette sten sts sns sn netus etn setas tasto sesos tosta seta stesse ense siose 70 Appendix R Brute Force Password Guessing Protection eese esee eerte reete tnnt tn nnn tn nnn 88 O XII xiv Table of Contents ZyWALL 2X and ZyWALL 2XW Table of Contents XV ZyWALL 2X and ZyWALL 2XW List of Figures Figure 1 1 Secure Internet Access and VPN Application cccccecceesseeseeesceeeceseeeeceeceseceeecaeceeceeeaeeeneeneeees 1 6 Figure 1 2 ZyWALL 2XW Wireless LAN Application nennen nennen enne 1 6 Figure 2 1 ZyWALL 2XW Front Dance 2 1 Figure 2 2 ZyWALL 2X Front Panel tere RR Te Ra eee e ee 2 2 Figure 2 3 ZyWALL 2XW Rear Panel eee nb o p Ee e tpe ete does 2 3 Figure 2 4 ZyWALTLI 2X Rear Panel 2 25 a Sao gute
362. side host by IP address 4 The firewall performs better than filtering if you need to check many rules 5 Use the firewall if you need routine e mail reports about your system or need to be alerted when attacks occur 6 The firewall can block specific URL traffic that might occur in the future The URL can be saved in an Access Control List ACL database Firewalls 13 13 ZyWALL 2X and ZyWALL 2XW Chapter 14 Introducing the ZyWALL Firewall This chapter shows you how to get started with the ZyWALL firewall 14 1 Introduction to the ZyWALL Firewall The ZyWALL provides a configurable stateful inspection firewall The firewall is also sometimes referred to as Access Control and the firewall rules are known as the ACL Access Control List 14 2 Remote Management and the Firewall When you configure remote management to allow management from the WAN you still need to configure a firewall rule to allow access See the Remote Management chapter for details on remote management 14 3 Access Methods The web configurator is by far the most comprehensive firewall configuration tool your ZyWALL has to offer For this reason it is recommended that you configure your firewall using the web configurator see the following chapters for instructions SMT screens allow you to activate the firewall The command interpreter interface provides limited configuration options and is only recommended for advanced users please refer to the ap
363. sion establishment attempts have been detected in the last minute and to stop deleting half open sessions when fewer than 80 session establishment attempts have been detected in the last minute Maximum Incomplete Low This is the number of existing half open sessions that causes the firewall to stop deleting half open sessions The ZyWALL continues to delete half open requests as necessary until the number of existing half open sessions drops below this number 80 existing half open sessions Maximum Incomplete This is the number of existing half open 100 existing half open sessions host IP address that causes the firewall to start dropping half open sessions to that same destination host IP address Enter a number between 1 and 250 As a general rule you should choose a smaller number for a smaller network a slower system or limited bandwidth High sessions that causes the firewall to start The above values causes the deleting half open sessions When the ZyWALL to start deleting half number of existing half open sessions open sessions when the number rises above this number the ZyWALL of existing half open sessions deletes half open sessions as required to rises above 100 and to stop accommodate new connection requests deleting half open sessions with Do not set Maximum Incomplete High to the number of existing half open lower than the current Maximum sessions drops below 80 Incomplete Low n
364. sk Gateway IP Enter the IP address of the gateway The gateway is an immediate neighbor of your Address ZyWALL that will forward the packet to the destination On the LAN the gateway must be a router on the same segment as your ZyWALL over the WAN the gateway must be the IP address of one of the remote nodes Metric Enter a number from 1 to 15 to set this route s priority among the ZyWALL s routes see the Metric section in the Remote Node Setup chapter The smaller the number the higher priority the route has IP Static Route Setup ZyWALL 2X and ZyWALL 2XW Table 11 1 IP Static Route Menu Fields FIELD DESCRIPTION Private This parameter determines if the ZyWALL will include the route to this remote node in its RIP broadcasts If set to Yes this route is kept private and not included in RIP broadcast If No the route to this remote node will be propagated to other hosts through RIP broadcasts Once you have completed filling in this menu press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC to cancel 11 4 IP Static Route Setup ZyWALL 2X and ZyWALL 2XW Chapter 12 Network Address Translation NAT This chapter discusses how to configure NAT on the ZyWALL 12 1 Introduction to NAT NAT Network Address Translation NAT RFC 1631 is the translation of the IP address of a host in a packet For example the source address of an outgoi
365. t the use of a cabled connection In effect a wireless LAN environment provides you the freedom to stay connected to the network while roaming around in the coverage area WLAN is not available on all models Benefits of a Wireless LAN Wireless LAN offers the following benefits 1 It provides you with access to network services in areas otherwise hard or expensive to wire such as historical buildings buildings with asbestos materials and classrooms 2 It provides healthcare workers like doctors and nurses access to a complete patient s profile on a handheld or notebook computer upon entering a patient s room 3 Itallows flexible workgroups a lower total cost of ownership for workspaces that are frequently reconfigured 4 It allows conference room users access to the network as they move from meeting to meeting getting up to date access to information and the ability to communicate decisions while on the go 5 It provides campus wide networking mobility allowing enterprises the roaming capability to set up easy to use wireless networks that cover the entire campus transparently IEEE 802 11 The 1997 completion of the IEEE 802 11 standard for wireless LANs WLANs was a first important step in the evolutionary development of wireless networking technologies The standard was developed to maximize interoperability between differing brands of wireless LANs as well as to introduce a variety of performance improvements and benefit
366. t this field to 0 0 0 0 if the Address remote secure gateway has a dynamic WAN IP address the Key Management field must be set to IKE Select IP to identify the remote IPSec router by its IP address Peer ID Type Select DNS to identify the remote IPSec router by a domain name Select E mail to identify the remote IPSec router by an e mail address 27 18 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW Peer Content IKE Phase 1 Negotiation Mode Encryption Algorithm Authentication Algorithm SA Life Time Table 27 8 Advanced IKE VPN Rule Setup DESCRIPTION When you select IP in the Peer ID Type field type the IP address of the computer with which you will make the VPN connection or leave the field blank to have the ZyWALL automatically use the address in the Secure Gateway field When you select DNS in the Peer ID Type field type a domain name up to 31 characters by which to identify the remote IPSec router When you select E mail in the Peer ID Type field type an e mail address up to 31 characters by which to identify the remote IPSec router The domain name or e mail address that you use in the Content field is used for identification purposes only and does not need to be a real domain name or e mail address The domain name also does not have to match the remote router s IP address or what you configure in the Secure Gateway Addr field below A phase 1 exchange establishes an IKE SA Security Association
367. t to apply this firewall rule LAN to WAN WAN to WAN ZyWALL WAN to LAN Creating Custom Rules 16 11 ZyWALL 2X and ZyWALL 2XW Table 16 3 Creating Editing A Firewall Rule FIELD DESCRIPTION OPTIONS Source Address Click SrcAdd to add a new address SrcEdit to edit an SrcAdd existing one or SrcDelete to delete one Please see the SrcEdit next section for more information on adding and editing recai source addresses SrcDelete Destination Click DestAdd to add a new address DestEdit to edit an DestAdd Address existing one or DestDelete to delete one Please see the DestEdit following section on adding and editing destination e addresses DestDelete Services Please see Table 16 2 for more information on services gt gt Available Selected available Highlight a service from the Available Services ER GC RARR box on the left then click gt gt to add it to the Selected E Services box on the right To remove a service highlight it in the Selected Services box on the right then click Custom Port Add Click this button to bring up the screen that you use to configure a new custom service that is not in the predefined list of services Edit Select a custom service denoted by an from the Available Services list and click this button to edit the service Delete Select a custom service denoted by an from the Available Services list and click this button to remove t
368. tched the listed firewall rule and the ZyWALL blocked or forwarded it according to the rule s configuration See the section on ICMP messages for type and code details 74 Log Descriptions ZyWALL 2X and ZyWALL 2XW Chart Q 6 Access Logs LOG MESSAGE DESCRIPTION Firewall rule match IGMP access matched the listed firewall rule and the ZyWALL IGMP set 3d blocked or forwarded it according to the rule s configuration rule d Firewall rule match ESP access matched the listed firewall rule and the ZyWALL blocked ESP set d rule d or forwarded it according to the rule s configuration Firewall rule match GRE access matched the listed firewall rule and the ZyWALL blocked GRE set d rule d or forwarded it according to the rule s configuration Firewall rule match OSPF access matched the listed a firewall rule and the ZyWALL OSPF set d blocked or forwarded it according to the rule s configuration rule d Firewall rule match Access matched the listed firewall rule and the ZyWALL blocked or set d rule d forwarded it according to the rule s configuration Firewall rule NOT match TCP set d rule d TCP access did not match the listed firewall rule and the ZyWALL logged it Firewall rule NOT match UDP set d rule d UDP access did not match the listed firewall rule and the ZyWALL logged it Firewall rule NOT match ICMP set d rul
369. te gateway has the same configuration in this field Enter 1 for ICMP 6 for TCP 17 for UDP etc 0 is the default and signifies any Protocol Number protocol This is the IP address or range of IP addresses of the computer or computers on the LAN for which you are configuring the VPN connection the VPN host computer This IP address or range of IP addresses must correspond to the remote secure gateway s configured remote IP address es in order for the remote secure gateway to initiate the VPN connection When the local IP address is a range enter the beginning static IP address in a range of computers on the LAN Local Address Start When the local IP address is a subnet enter the IP address on the LAN Local IP addresses must be static and correspond to the remote IPSec router s configured remote IP addresses Two active SAs cannot have the local and remote IP address es both the same Two active SAs can have the same local or remote IP address but not both You can configure multiple SAs between the same local and remote IP addresses as long as only one is active at any time When the local IP address is a single address type it a second time here Local Address When the local IP address is a range enter the end static IP address in a range of End Mask computers on the LAN When the local IP address is a subnet enter the subnet mask on the LAN 0 is the default and signifies any port Type a port number from 0 to
370. ter shows you how to configure your firewall with the web configurator 15 1 Introduction to Firewall Configuration Use the ZyWALL web configurator to configure your firewall Refer to the Introducing the Web Configurator chapter for details on how to access and navigate the web configurator 15 2 Enabling the Firewall Click Firewall and then the Summary tab enable or activate the firewall by clicking the Enable Firewall check box as seen in the following screen Firewall Configuration 15 1 ZyWALL 2X and ZyWALL 2XW Summary Attack Alert The firewall protects against Denial of Service DoS attacks when it is dereen M Enable Firewall Total Configured M Bypass Triangle Route d Select this check box to enable the firewall Packet Direction LAN to LAN ZyWVALL j Configured rules for this packet direction are displayed in the summary table below What action do you want to take for packets NOT matching these Firewall rules C Block Forward Do you want to log packets that don t match these rules Log Status Source Address Dosis Service Action Log Alert Address Type Insert New Rule Before 1 Number Move Rule select an Index Number To fi Rule Number Apply Ecit Delete Figure 15 1 Enabling the Firewall 15 2 1 Alerts Alerts are reports on events such as attacks that you may want to know about right away You can choose to generate an alert when an attack is detected in t
371. ternet The embedded web configurator 1s easy to operate and totally independent of your operating system platform 1 2 Features Here is a list of the ZyWALL s key features 1 2 1 Physical Features 4 Port Switch A combination of switch and router makes your ZyWALL a cost effective and viable network solution You can connect up to four computers to the ZyWALL without the cost of a hub Use a hub to add more than four computers to your LAN Auto negotiating 10 100 Mbps Ethernet LAN The LAN interfaces automatically detect 1f they are on a 10 or a 100 Mbps Ethernet Auto sensing 10 100 Mbps Ethernet LAN The LAN interfaces automatically adjust to either a crossover or straight through Ethernet cable Auto negotiating 10 100 Mbps Ethernet WAN The 10 100 Mbps Ethernet WAN port attaches to the Internet via broadband modem or router and automatically detects if it s on a 10 or a 100 Mbps Ethernet Getting to Know Your ZyWALL 1 1 ZyWALL 2X and ZyWALL 2XW Auxiliary Port The ZyWALL 2X and 2XW use the same port for console management and for an auxiliary WAN backup The AUX port can be used in reserve as a traditional dial up connection when if ever the broadband connection to the WAN port fails Time and Date The ZyWALL allows you to get the current time and date from an external server when you turn on your ZyW ALL You can also set the time manually Reset Button The ZyWALL reset button is built into the rear panel Use
372. ters each use a different VPN rule to initiate a VPN connection to a ZyWALL located at headquarters The ZyWALL at headquarters identifies each by its ID type and contents and uses the appropriate VPN rule to establish the VPN connection VPN IPSec Setup 27 29 ZyWALL 2X and ZyWALL 2XW LAN qTelecommuter s ZyWALL Local IP Address 192 168 1 12 Local IDType IP Local ID Content 192 168 1 12 Dynamic public IP address 0 0 0 0 LAN LAN Telecommuter s ZyWALL Headquarters ZyWALL Local IP Address 192 168 1 2 R Local ID Type DNS Dynamic public Local ID Content www telecommuter com IP address 0 0 0 0 Hub switch Static public IP address a b c d Rule 1 Peer ID Type IP Peer D Content 192 168 1 12 Rule 2 Peer IDType DNS Peer ID Content wwwtelecommuter com Rule 3 Peer ID Type E mail Peer ID Content myVPN myplace com All rules use LAN Telecommuter s ZyWALL Local IP Address 192 168 1 15 Local ID Type E mail Dynamic public Local ID Content myVPN myplace com IP address 0 0 0 0 My IPAddress a b c d Secure Gateway Address 0 0 0 0 Remote Address N A Local IP Address 192 168 1 10 Local ID Type E mail Local ID Content HQ yourcompany com Al telecom muters use My IP Address 0 0 0 0 Secure Gateway Address a b c d Remote IP Address 192 168 1 10 Peer ID Type E mail Peer ID Content HQ yourcompany com Figure 27 11 Telecommuters Using Unique VPN Rul
373. the LAN computer that sent the traffic to a server on the WAN Start Port Enter a port number or the starting port number in a range of port numbers 7070 End Port Enter a port number or the ending port number in a range of port numbers 7070 Press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC at any time to cancel NAT 12 27 Firewall and Content Filters Part IV Firewall and Content Filters This part introduces firewalls in general and the ZyWALL firewall It also explains custom ports and gives example firewall rules and an overview of content filtering ZyWALL 2X and ZyWALL 2XW Chapter 13 Firewalls This chapter gives some background information on firewalls and explains how to get started with the ZyWALL firewall 13 1 Introduction to Firewalls Originally the term firewall referred to a construction technique designed to prevent the spread of fire from one room to another The networking term firewall is a system or group of systems that enforces an access control policy between two networks It may also be defined as a mechanism used to protect a trusted network from an untrusted network Of course firewalls cannot solve every security problem A firewall is one of the mechanisms used to establish a network security perimeter in support of a network security policy It should never be the only mechanism or
374. thentication Select Force Authorized Force UnAuthorized or Auto from the drop down list Control box Select Auto to authenticate all wireless clients before they can access the wired network Select Force Authorized to allow all wireless clients to access your wired network without authentication Select Force UnAuthorized to deny all wireless clients access to your wired network Reauthentication Specify the time interval between the RADIUS server s authentication checks of Period wireless users connected to the network This field is activated only when you select Auto authentication control Click Apply to save these settings back to the ZyWALL Click Reset to start this screen afresh 8 4 5 Configuring an External RADIUS Server Once you enable the EAP authentication you need to specify the external sever for remote user authentication and accounting Click Wireless and the RADIUS tab to the display the Authentication RADIUS screen 8 6 Wireless LAN Security Setup ZyWALL 2X and ZyWALL 2XW Wireless MAC Filter 802 1X Local User RADIUS Database Authentication Server Active No 7 Server IP Address nono Port Number he Key Accounting Server Active No Server IP Address Wunn Port Number he Key Apply Reset Figure 8 5 Authentication RADIUS The following table describes the fields in this screen Table 8 3 Authentication RAD
375. this button to restore the factory default password to 1234 IP address to 192 168 1 1 subnet mask to 255 255 255 0 and DHCP server enabled with a pool of 32 IP addresses starting at 192 168 1 33 IEEE 802 11b 11 Mbps Wireless LAN The ZyWALL 2XW has an internal 11 Mbps wireless LAN card that provides mobility and a fast network environment for small and home offices You can connect to the local area network without any wiring efforts and enjoy reliable high speed connectivity 1 2 2 Non Physical Features IPSec VPN Capability Establish Virtual Private Network VPN tunnels to connect home office computers to your company network using data encryption and the Internet thus providing secure communications without the expense of leased site to site lines The ZyWALL VPN is based on the IPSec standard and is fully interoperable with other IPSec based VPN products The ZyWALL supports two simultaneous VPN connections Firewall The ZyWALL has a stateful inspection firewall with DoS Denial of Service protection By default when the firewall is activated all incoming traffic from the WAN to the LAN is blocked unless it is initiated from the LAN The ZyWALL firewall supports TCP UDP inspection DoS detection and protection real time alerts reports and logs EAP RFC2284 The ZyWALL 2XW uses EAP Extensible Authentication Protocol EAP supports multiple authentication methods to ensure the highest security level available
376. this connection View status of this connection l Change settings of this connection Create Shortcut Rename Properties Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 4 SelectInternet Protocol TCP IP under the T Local Area Connection Properties General tab in Win XP and click Properties a General Authentication Advanced Connect using E9 Accton EN1207D TX PCI Fast Ethemet Adapter This connection uses the following items El Client for Microsoft Networks 8 File and Printer Sharing for Microsoft Networks dl QoS Packet Scheduler Internet Protocol TCP IP SASK Description Transmission Control Protocol Intemet Protocol The default wide area network protocol that provides communication across diverse interconnected networks C Show icon in notification area when connected Setting Up Your Computer s IP Address ZyWALL 2X and ZyWALL 2XW 5 Thelnternet Protocol TCP IP Properties Internet Protocol TCP IP Properties window opens the General tab in Windows XP eneral Alternate Configuration To have your computer assigned a dynamic IP You can get IP settings assigned automatically if your network supports address click Obtain an IP address this capability Otherwise you need to ask your network administrator for the appropriate IP settings automatically Obtain an IP address automatically If y
377. tic IP address assigned by the ISP Secure Gateway Public static IP address or domain 0 0 0 0 With this IP address only the IP Address name telecommuter can initiate the IPSec tunnel 27 28 VPN IPSec Setup ZyWALL 2X and ZyWALL 2XW LAN Telecommuter s ZyWALL Dynamic public IP address 0 0 0 0 Local IP Address 192 168 1 12 Headquarters LAN ZyWALL Local IP Address 192 168 1 1C LAN Telecommuter s ZyWALL Hub switch Local IP Address 192 168 1 2 Dynamic public IP address 0 0 0 0 Static public IP address a b c d Telecommuter s ZyWALL My IP Address a b c d Secure Gateway Address 0 0 0 0 Remote Address N A Dynamic public Local IP Address 192 168 1 10 IP address 0 0 0 0 Local IP Address 192 168 1 15 All telecommuters use My IP Address 0 0 0 0 Secure Gateway Address a b c d Remote IP Address 192 168 1 10 Figure 27 10 Telecommuters Sharing One VPN Rule Example 27 16 2 Telecommuters Using Unique VPN Rules Example With aggressive negotiation mode see section 27 10 1 the ZyWALL can use the ID types and contents to distinguish between VPN rules Telecommuters can each use a separate VPN rule to simultaneously access a ZyWALL at headquarters They can use different IPSec parameters including the pre shared key and the local IP addresses or ranges of addresses can overlap See the following graphic for an example where three telecommu
378. to make sure that you have entered it Confirm correctly Server IP This field is valid only when RoadRunner is selected in the Service Type field The ZyWALL will find the RoadRunner Server IP automatically if this field is left blank If it does not then you must enter the authentication server IP address here Route This field refers to the protocol that will be routed by your ZyWALL IP IP is the only option for the ZyWALL Edit IP This field leads to a hidden menu Press SPACE BAR to select No Yes and press ENTER to go to Menu 11 3 Remote Node default Network Layer Options Session Options This field leads to another hidden menu Use SPACE BAR to No select Yes and press ENTER to open menu 11 5 to edit the filter default Edit Filter sets sets See the Remote Node Filter section for more details Once you have configured this menu press ENTER at the message Press ENTER to Confirm to save your configuration or press ESC at any time to cancel 10 3 2 PPPoE Encapsulation The ZyWALL supports PPPoE Point to Point Protocol over Ethernet You can only use PPPoE encapsulation when you re using the ZyWALL with a DSL modem as the WAN device If you change the Remote Node Setup 10 3 ZyWALL 2X and ZyWALL 2XW Encapsulation to PPPoE then you will see the next screen Please see the Appendices for more information on PPPoE Menu 11 1 Remote Node Profile Re
379. ttp www website com bad html would be blocked Select this check box to enable this feature Domain Name Type a keyword in this field You may use any character up to 64 characters Wildcards are not allowed Click Add after you have typed a keyword Repeat this procedure to add other keywords Up to 64 keywords are allowed Add A When you try to access a web page containing a keyword you will get a message telling you that the content filter is blocking this request Highlight a keyword in the lower box and click Delete to remove it The keyword disappears Delete i from the text box after you click Apply Clear All Click this button to remove all of the listed keywords Day to Block Select check boxes for the days that you want the ZyWALL to perform content filtering Select the Everyday check box to have content filtering turned on all days of the week Time of Day to Block Time of Day to Block allows the administrator to define during which time periods content filtering is enabled Time of Day to Block restrictions only apply to the keywords see above Restrict web server data such as ActiveX Java Cookies and Web Proxy are not affected Content Filtering 17 3 ZyWALL 2X and ZyWALL 2XW Table 17 1 Content Filter LABEL DESCRIPTION Time of Day to Block Enter the time period in 24 hour format during which content filtering will be enforced Select the All Day
380. ule 7 Click Insert to display this screen and refer to the following table for information on the fields Move Select a rule s Index option button and type a number for where you want to put that rule Click Move to move the rule to the number that you typed The ordering of your rules is important as they are applied in order of their numbering Rule to Rule Click a rule s option button and type the number for where you want to put that rule Number Click Apply to save your changes to the ZyWALL Click Edit to create or edit a rule Click Delete to delete an existing firewall rule Note that subsequent firewall rules move up by one when you take this action Click Help for online HTML help on fields in this screen 16 5 Predefined Services The Available Services list box in the Rule Config uration screen see Figure 16 4 displays all predefined services that the ZyWALL already supports Next to the name of the service two fields appear in brackets The first field indicates the IP protocol type TCP UDP or ICMP The second field indicates the IP port number that defines the service Note that there may be more than one IP protocol type For example look at the default configuration labeled DNS UDP TCP 53 means UDP port 53 and TCP port 53 Up to 128 entries are supported Custom services may also be configured using the Custom Ports function discussed later Table 16 2 Predefined Services SERVICE DESCRI
381. umber TCP Maximum This is the number of existing half open 10 existing half open TCP Incomplete TCP sessions with the same destination sessions 15 6 Firewall Configuration ZyWALL 2X and ZyWALL 2XW Table 15 1 Attack Alert FIELD DESCRIPTION DEFAULT VALUES Blocking Time When TCP Maximum Incomplete is reached you can choose if the next session should be allowed or blocked If you check Blocking Time any new sessions will be blocked for the length of time you specify in the next field min and all old incomplete sessions will be cleared during this period If you want strong security it is better to block the traffic for a short time as it will give the server some time to digest the loading Select this check box to specify a number in minutes min text box min Enter the length of Blocking Time in minutes When you have finished click Apply to save your customized settings and exit this screen Cancel to exit this screen without saving or Help for online HTML help on fields in this screen Firewall Configuration 15 7 ZyWALL 2X and ZyWALL 2XW Chapter 16 Creating Custom Rules This chapter contains instructions for defining both Local Network and Internet rules 16 1 Introduction to Custom Rules Firewall rules are grouped based on the direction of travel of packets to which they apply e LAN to LAN ZyWALL e WAN to LAN e LAN to WAN e WAN to WAN Z
382. unt limit Up to ot bytes can be counted per protocol port or LAN IP address The count starts over at 0 if it passes 2 bytes 18 12 Centralized Logs ZyWALL 2X and ZyWALL 2XW Chapter 19 Filter Configuration This chapter shows you how to create and apply filters 19 1 Introduction to Filters Your ZyWALL uses filters to decide whether to allow passage of a data packet and or to make a call There are two types of filter applications data filtering and call filtering Filters are subdivided into device and protocol filters which are discussed later Data filtering screens the data to determine if the packet should be allowed to pass Data filters are divided into incoming and outgoing filters depending on the direction of the packet relative to a port Data filtering can be applied on either the WAN side or the LAN side Call filtering is used to determine if a packet should be allowed to trigger a call Remote node call filtering is only applicable when using PPPoE encapsulation Outgoing packets must undergo data filtering before they encounter call filtering as shown in the following figure Filter Configuration 19 1 ZyWALL 2X and ZyWALL 2XW ctive Data Sa Built in User defined Los uigolng gt default Call Filters ee Packet Data Call Filters if applicable if line not up Send packet and reset Idle Timer Match
383. unt with www dyndns org This is for people with a dynamic IP from their ISP or DHCP server that would still like to have a DNS name SMT Menu 1 General Setup 5 1 ZyWALL 2X and ZyWALL 2XW To use this service you must register with the Dynamic DNS service provider The Dynamic DNS service provider will give you a password or key The ZyWALL supports www dyndns org You can apply to this service provider for Dynamic DNS service 5 3 1 DYNDNS Wildcard Enabling the wildcard feature for your host causes yourhost dyndns org to be aliased to the same IP address as yourhost dyndns org This feature is useful if you want to be able to use for example www yourhost dyndns org and still reach your hostname 5 4 General Setup Step 1 Enter 1 in the main menu to open Menu 1 General Setup Step 2 The Menu 1 General Setup screen appears as shown next Fill in the required fields Menu 1 General Setup System Name ZyWALL Domain Name zyxel com tw Edit Dynamic DNS No Press ENTER to Confirm or ESC to Cancel Figure 5 1 Menu 1 General Setup Table 5 1 General Setup Menu Field FIELD DESCRIPTION EXAMPLE System Name Choose a descriptive name for identification purposes It is ZyWALL recommended you enter your computer s Computer name see section 5 1 in this field This name can be up to 30 alphanumeric characters long Spaces are not allowed but dashes and underscores are accepted Doma
384. up Management Protocol IGMP IEEE 802 1 oe Peer ud 1 4 Adhvantages ninpis iai i ei aiis 23 o a a e adiing Ge IGMP Internet Group Multicast Protocol 7 4 IP Policies mb erede 7 8 E EE 7 9 IP Roeltgen EE 7 2 7 7 independent BasicSebvico Seb eet cae 21 SOUP a ned t EE eae 7 2 idus Canada cuu manc er e iv IP Pot neiaie 13 4 iiaiai CON en 22 IP Spoofing seier dE hte 13 4 13 7 Initial Screen 4 1 ere Pss es IN d eet di ets 11 3 Index E ZyWALL 2X and ZyWALL 2XW Destination IP Address 11 3 IP Subnet Mask 11 3 Np es catens coke 11 3 Route Number see 11 3 IPSubnet Mask 5 totes 7 9 IPSec VPN Capability sssssss 1 2 ISPs Nate ridere ittis 9 1 K Key Fields For Configuring Rules 16 3 L LAN 10 100M REENEN 2 4 LAN Defaults 2 rete remet 7 2 LAN IP Address ees 18 8 18 11 LAN Port Filter Sep 7 1 LAN Sep oso Ee 7 1 7 5 LAN to WAN Rules eee 16 3 LAND aia eene 13 4 13 6 EED f nctions o esten 2 2 Eeer deest 2 1 Local cette ti pete 12 1 LE08 ica eate od eR OR TRE ER EE GS 21 6 Log Descnpttons 70 L g Facility ue RERO UR ede 21 8 Log Setun GS ed aee e 18 3 LOS GIN Giese se Relies eon See eR 1 5 Login Name See My Login Name Login Sereen See Password e dae ite disait te doter 18 1 M MAC Address 6 1 6 2 28 2 MAC Address Filter Action 8
385. ur workstation Type open and the IP address of your system Then type root and SMT password as requested Type put configurationfilename rom 0 where configurationfilename is the name of your system configuration file on your workstation which will be transferred to the rom 0 file on the system The system reboots automatically after the upload system configuration file process is complete For details on FTP commands please consult the documentation of your FTP client program For details on uploading configuration file using TFTP note that you must remain on this menu to upload configuration file using TFTP please see your manual Press ENTER to Exit Figure 22 14 Telnet Into Menu 24 7 2 System Maintenance To upload the firmware and the configuration file follow these examples 22 4 3 FTP File Upload Command from the DOS Prompt Example Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Launch the FTP client on your computer Enter open followed by a space and the IP address of your ZyWALL Press ENTER when prompted for a username Enter your password as requested the default is 1234 Enter bin to set transfer mode to binary Use put to transfer files from the computer to the ZyWALL for example put firmware bin ras transfers the firmware on your computer firmware bin to the ZyWALL and renames it ras Similarly put config rom rom 0 transfers the configuration fi
386. ure your ZyWALL Several operations that you should be familiar with before you attempt to modify the configuration are listed in the table below OPERATION DESCRIPTION Move down to another menu To move forward to a submenu type in the number of the desired submenu and press ENTER Move up toa previous menu Press the ESC key to move back to the previous menu Move toa hidden menu Fields beginning with Edit lead to hidden menus and have a default setting of No Press SPACE BAR to change No to Yes and then press ENTER to go to a hidden menu Move the cursor Within a menu press ENTER to move to the next field You can also use the UP DOWN arrow keys to move to the previous and the next field respectively Entering You need to fill in two types of fields The first requires you to type in the appropriate information information The second allows you to cycle through the available choices by pressing SPACE BAR and then pressing ENTER to select your choice and move to the next field Required fields All fields with the symbol lt gt or ChangeMe must be filled in order be able to save the new configuration N A fields Some of the fields in the SMT will show a lt N A gt This symbol refers to an option that is Not Applicable Save your Save your configuration by pressing ENTER at the message Press ENTER to confirm or configuration
387. vides Campus Wide Coverage 22 Wireless LAN and IEEE 802 11 ZyWALL 2X and ZyWALL 2XW Appendix F Wireless LAN With IEEE 802 1x As wireless networks become popular for both portable computing and corporate networks security is now a priority Security Flaws with IEEE 802 11 Wireless networks based on the original IEEE 802 11 have a poor reputation for safety The IEEE 802 11b wireless access standard first published in 1999 was based on the MAC address As the MAC address is sent across the wireless link in clear text it is easy to spoof and fake Even the WEP Wire Equivalent Privacy data encryption is unreliable as it can be easily decrypted with current computer speed Deployment Issues with IEEE 802 11 User account management has become a network administrator s nightmare in a corporate environment as the IEEE 802 11b standard does not provide any central user account management User access control is done through manual modification of the MAC address table on the access point Although WEP data encryption offers a form of data security you have to reset the WEP key on the clients each time you change your WEP key on the access point IEEE 802 1x In June 2001 the IEEE 802 1x standard was designed to extend the features of IEEE 802 11 to support extended authentication as well as providing additional accounting and control features It is supported by Windows XP and a number of network devices Advantages of the
388. ware installation chapter In addition to the contents of your package you need a computer equipped with communications software configured to the following parameters VT100 terminal emulation 9600 Baud No parity 8 data bits 1 stop bit flow control set to none 4 2 1 Initial Screen When you turn on your ZyWALL it performs several internal tests as well as line initialization After the tests the ZyWALL asks you to press ENTER to continue as shown next Copyright c 1994 2002 ZyXEL Communications Corp initialize ch 0 ethernet address 00 a0 c5 41 51 61 initialize ch 1 ethernet address 00 a0 c5 41 51 62 Press ENTER to continue Figure 4 1 Initial Screen 4 2 2 Entering the Password The login screen appears after you press ENTER prompting you to enter the password as shown below For your first login enter the default password 1234 As you type the password the screen displays an X for each character you type Introducing the SMT 4 1 ZyWALL 2X and ZyWALL 2XW Please note that if there is no activity for longer than five minutes after you log in your ZyWALL automatically logs you out and displays a blank screen If you see a blank screen press ENTER to bring up the login screen again Enter Password XXXX Figure 4 2 Password Screen 4 3 Navigating the SMT Interface The SMT System Management Terminal is the interface that you use to config
389. xt The next figure shows you how to apply NAT for Internet access in menu 4 Enter 4 from the main menu to go to Menu 4 Internet Access Setup 12 6 NAT ZyWALL 2X and ZyWALL 2XW Menu 4 Internet Access Setup ISP s Name myISP Encapsulation Ethernet Service Type Standard My Login N A My Password N A Login Server IP N A IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Network Address Translation SUA Only Press ENTER to Confirm or ESC to Cancel Figure 12 3 Menu 4 Applying NAT for Internet Access The following figure shows how you apply NAT to the remote node in menu 11 1 Step 1 Enter 11 from the main menu Step 2 Move the cursor to the Edit IP field press SPACE BAR to select Yes and then press ENTER to bring up Menu 11 3 Remote Node Network Layer Options NAT 12 7 ZyWALL 2X and ZyWALL 2XW Menu 11 3 Remote Node Network Layer Options IP Address Assignment Dynamic IP Address N A IP Subnet Mask N A Gateway IP Addrz N A Network Address Translation Full Feature fetric N A Private N A RIP Direction None Version N A Multicast None Enter here to CONFIRM or ESC to CANCEL Press Space Bar to Toggle Figure 12 4 Menu 11 3 Applying NAT to the Remote Node The following table describes the options for Network Address Translation Table 12 3 Applying NAT in Menus 4 amp 11 3 FIELD DESCRIPTION OPTIONS Network When you select this option the
390. yWALL By default the ZyWALL s stateful packet inspection allows packets traveling in the following directions e LAN to LAN ZyWALL This allows computers on the LAN to manage the ZyWALL and communicate between networks or subnets connected to the LAN interface e LAN to WAN By default the ZyWALL s stateful packet inspection blocks packets traveling in the following directions e WAN to LAN e WAN to WAN ZyWALL This prevents computers on the WAN from using the ZyWALL as a gateway to communicate with other computers on the WAN and or managing the ZyWALL You may define additional rules and sets or modify existing ones but please exercise extreme caution in doing so If you configure firewall rules without a good understanding of how they work you might inadvertently introduce security risks to the firewall and to the protected network Make sure you test your rules after you configure them For example you may create rules to Block certain types of traffic such as IRC Internet Relay Chat from the LAN to the Internet Allow certain types of traffic such as Lotus Notes database synchronization from specific hosts on the Internet to specific hosts on the LAN Creating Custom Rules 16 1 ZyWALL 2X and ZyWALL 2XW Allow everyone except your competitors to access a Web server Restrict use of certain protocols such as Telnet to authorized users on the LAN These custom rules work by comparing the Sour
Download Pdf Manuals
Related Search
Related Contents
PDF - 大阪湾広域臨海環境整備センター Comité de área de San Diego-Imperial 2650 Melbourne Drive, San Panasonic ES8243A men's shaver Philips BDP2980 Table des matières - Fisher UK Extranet かた 遊び )で ル ソー 機能 る 使え バー ( VC コン ル チャ Whirlpool GJC3055RP03 User's Manual installation User`s Manual Template Copyright © All rights reserved.
Failed to retrieve file