The following information is used in this example:
pu1
none
none
bu1
bu1_pw
ftp_server
sunscreen_fw
tiny
The ping command must be enabled in the Rules page before you can perform the following procedure.
Type the following to make sure the backend FTP Server is accessible:
ping -s ftp_server |
Add an entry in the /etc/hosts file if it is accessible. For example:
1.2.3.4 ftp_server |
There is no need to create an authorized user.
Create the proxy user:
In the Common Objects section, select Proxy User from the Type list.
Select New Single from the Add New list.
The Proxy User dialog box appears.
Type a name for this Proxy User in the Name field, for example:
pu1 |
Select the User Enabled check box.
Leave the Authorized User Name field empty.
Type a name in the Backend User Name field, for example:
bu1 |
Click the OK button.
Create a Policy Rule
Click the Add New button in the Policy Rules area of the Policy Rules page.
The Rule Definition dialog box appears.
Select the following values for each field:
proxy_ftp
*
*
ALLOW
From the PROXY list, select PROXY_FTP.
Enable the FTP command options, for example:
ALLOW
ALLOW
pu1
Click the OK button.
Save the changes:
From the client machine:
Make sure the physical connections are good.
Use the ping command to make sure the client machine can access the SunScreen proxy:
# ping -s sunscreen_fw |
The ping command must be enabled in the Rules page before you can perform this procedure.
Test the FTP proxy service.
For example, the following values produce the screen output in Example C-1:
ftp sunscreen_fw
pu1@ftp_server
put_anything@bu1_pw OR:<none>@bu1_pw For example, zzz@bu1_pwPassword is not seen because it is echo suppressed.
tiny# ftp sunscreen_fw Connected to sunscreen_fw. 220- Proxy: SunScreen FTP Proxy Version 3.2 : Username to be given as <proxy-user>'@'<FTP-server-host> : Password to be given as <proxy-password>'@'<FTP-server-password> 220 Ready. Name (sunscreen_fw: root): pu1@ftp_server 331- Proxy: Authenticate & connect: 331 Password needed to authenticate 'pu1'. Password: <zzz@bu1_pw> OR Password: <@bu1_pw> 230- Proxy: : Authentication mapped 'pu1' to backend user 'bu1'. : Connecting to ftp_server (1.2.3.4) - done. Server: 220 ftp_server FTP server (SunOS 5.6) ready. Proxy: Login on server as 'bu1'. Server: 331 Password required for bu1. Proxy: Supplying password to server. 230 Server: User bu1 logged in. ftp> ls |