Chapter 52 File Manager
ZyWALL USG 100/200 Series User’s Guide
898
These files have the same syntax, which is also identical to the way you run CLI
commands manually. An example is shown below.
While configuration files and shell scripts have the same syntax, the ZyWALL
applies configuration files differently than it runs shell scripts. This is explained
below.
You have to run the example in
as a shell script because
the first command is run in
Privilege
mode. If you remove the first command,
you have to run the example as a configuration file because the rest of the
commands are executed in
Configuration
mode.
Comments in Configuration Files or Shell Scripts
In a configuration file or shell script, use “#” or “!” as the first character of a
command line to have the ZyWALL treat the line as a comment.
Figure 587
Configuration File / Shell Script: Example
# enter configuration mode
configure terminal
# change administrator password
username admin password 4321 user-type admin
# configure ge3
interface ge3
ip address 172.23.37.240 255.255.255.0
ip gateway 172.23.37.254 metric 1
exit
# create address objects for remote management / to-ZyWALL firewall rules
# use the address group in case we want to open up remote management later
address-object TW_SUBNET 172.23.37.0/24
object-group address TW_TEAM
address-object TW_SUBNET
exit
# enable Telnet access (not enabled by default, unlike other services)
ip telnet server
# open WAN-to-ZyWALL firewall for TW_TEAM for remote management
firewall WAN ZyWALL insert 4
sourceip TW_TEAM
service TELNET
action allow
exit
write
Table 261
Configuration Files and Shell Scripts in the ZyWALL
Configuration Files (.conf)
Shell Scripts (.zysh)
• Resets to default configuration.
• Goes into CLI
Configuration
mode.
• Runs the commands in the configuration
file.
• Goes into CLI
Privilege
mode.
• Runs the commands in the shell script.
Summary of Contents for ZyWALL USG 100 Series
Page 2: ......
Page 30: ...Table of Contents ZyWALL USG 100 200 Series User s Guide 30 ...
Page 31: ...31 PART I User s Guide ...
Page 32: ...32 ...
Page 46: ...Chapter 2 Features and Applications ZyWALL USG 100 200 Series User s Guide 46 ...
Page 64: ...Chapter 3 Web Configurator ZyWALL USG 100 200 Series User s Guide 64 ...
Page 186: ...Chapter 7 Tutorials ZyWALL USG 100 200 Series User s Guide 186 ...
Page 223: ...Chapter 8 L2TP VPN Example ZyWALL USG 100 200 Series User s Guide 223 ...
Page 224: ...Chapter 8 L2TP VPN Example ZyWALL USG 100 200 Series User s Guide 224 ...
Page 225: ...225 PART II Technical Reference ...
Page 226: ...226 ...
Page 240: ...Chapter 9 Dashboard ZyWALL USG 100 200 Series User s Guide 240 ...
Page 284: ...Chapter 10 Monitor ZyWALL USG 100 200 Series User s Guide 284 ...
Page 372: ...Chapter 13 Interfaces ZyWALL USG 100 200 Series User s Guide 372 ...
Page 382: ...Chapter 14 Trunks ZyWALL USG 100 200 Series User s Guide 382 ...
Page 398: ...Chapter 15 Policy and Static Routes ZyWALL USG 100 200 Series User s Guide 398 ...
Page 412: ...Chapter 16 Routing Protocols ZyWALL USG 100 200 Series User s Guide 412 ...
Page 432: ...Chapter 19 NAT ZyWALL USG 100 200 Series User s Guide 432 ...
Page 437: ...Chapter 20 HTTP Redirect ZyWALL USG 100 200 Series User s Guide 437 ...
Page 438: ...Chapter 20 HTTP Redirect ZyWALL USG 100 200 Series User s Guide 438 ...
Page 460: ...Chapter 23 Authentication Policy ZyWALL USG 100 200 Series User s Guide 460 ...
Page 478: ...Chapter 24 Firewall ZyWALL USG 100 200 Series User s Guide 478 ...
Page 519: ...Chapter 25 IPSec VPN ZyWALL USG 100 200 Series User s Guide 519 ...
Page 520: ...Chapter 25 IPSec VPN ZyWALL USG 100 200 Series User s Guide 520 ...
Page 534: ...Chapter 26 SSL VPN ZyWALL USG 100 200 Series User s Guide 534 ...
Page 544: ...Chapter 27 SSL User Screens ZyWALL USG 100 200 Series User s Guide 544 ...
Page 546: ...Chapter 28 SSL User Application Screens ZyWALL USG 100 200 Series User s Guide 546 ...
Page 554: ...Chapter 29 SSL User File Sharing ZyWALL USG 100 200 Series User s Guide 554 ...
Page 639: ...Chapter 34 IDP ZyWALL USG 100 200 Series User s Guide 639 ...
Page 640: ...Chapter 34 IDP ZyWALL USG 100 200 Series User s Guide 640 ...
Page 661: ...Chapter 35 ADP ZyWALL USG 100 200 Series User s Guide 661 ...
Page 662: ...Chapter 35 ADP ZyWALL USG 100 200 Series User s Guide 662 ...
Page 694: ...Chapter 37 Content Filter Reports ZyWALL USG 100 200 Series User s Guide 694 ...
Page 712: ...Chapter 38 Anti Spam ZyWALL USG 100 200 Series User s Guide 712 ...
Page 734: ...Chapter 39 Device HA ZyWALL USG 100 200 Series User s Guide 734 ...
Page 750: ...Chapter 40 User Group ZyWALL USG 100 200 Series User s Guide 750 ...
Page 756: ...Chapter 41 Addresses ZyWALL USG 100 200 Series User s Guide 756 ...
Page 768: ...Chapter 43 Schedules ZyWALL USG 100 200 Series User s Guide 768 ...
Page 784: ...Chapter 45 Authentication Method ZyWALL USG 100 200 Series User s Guide 784 ...
Page 806: ...Chapter 46 Certificates ZyWALL USG 100 200 Series User s Guide 806 ...
Page 818: ...Chapter 48 SSL Application ZyWALL USG 100 200 Series User s Guide 818 ...
Page 828: ...Chapter 49 Endpoint Security ZyWALL USG 100 200 Series User s Guide 828 ...
Page 880: ...Chapter 50 System ZyWALL USG 100 200 Series User s Guide 880 ...
Page 920: ...Chapter 54 Reboot ZyWALL USG 100 200 Series User s Guide 920 ...
Page 922: ...Chapter 55 Shutdown ZyWALL USG 100 200 Series User s Guide 922 ...
Page 942: ...Chapter 56 Troubleshooting ZyWALL USG 100 200 Series User s Guide 942 ...
Page 954: ...Chapter 57 Product Specifications ZyWALL USG 100 200 Series User s Guide 954 ...
Page 1126: ...Appendix F Open Software Announcements ZyWALL USG 100 200 Series User s Guide 1126 ...