D-Link NetDefend DFL-210 User Manual page 43

Network security firewall ver 2.26.01
Hide thumbs Also See for NetDefend DFL-210:
Table of Contents

Advertisement

2.1.6. Secure Copy
To upload and download files to or from the NetDefend Firewall, the secure copy (SCP) protocol
can be used. SCP is based on the SSH protocol and many freely available SCP clients exist for
almost all platforms. The command line examples below are based on the most common command
format for SCP client software.
SCP Command Format
SCP command syntax is straightforward for most console based clients. The basic command used
here is scp followed by the source and destination for the file transfer.
Upload is performed with the command:
> scp <local_filename> <destination_firewall>
Download is done with the command:
> scp <source_firewall> <local_filename>
The source or destination NetDefend Firewall is of the form:
<user_name>@<firewall_ip_address>:<filepath>.
For example: admin@10.62.11.10:config.bak. The <user_name> must be a defined NetDefendOS
user in the administrator user group.
The following table summarizes the operations that can be performed between an SCP client and
NetDefendOS:
Configuration Backup (config.bak)
System Backup (full.bak)
Firmware upgrades
Certificates
SSH public keys
Web auth banner files
Web content filter banner files
NetDefendOS File organization
NetDefendOS maintains a simple 2 level directory structure which consists of the top level root and
a number of sub-directories. However, these "directories" such as sshlclientkey should be more
correctly thought of as object types. All the files stored in the NetDefendOS root as well as all the
object types can be displayed using the CLI command ls.
The resulting output is shown below:
gw-world:/> ls
HTTPALGBanners/
HTTPAuthBanners/
certificate/
Note: SCP examples do not show the password prompt
SCP will normally prompt for the user password after the command line but that
prompt is not shown in the examples given here.
File type
Chapter 2. Management and Maintenance
Upload possible
Yes (also with WebUI)
Yes (also with WebUI)
Yes
Yes
Yes
Yes
Yes
43
Download possible
Yes (also with WebUI)
Yes (also with WebUI)
No
No
No
Yes
Yes

Advertisement

Table of Contents
loading

Table of Contents