Routing AS2 Traffic through DMZ Gateway

You can use the AS2 Send file to host Action to configure Event Rules to cause AS2 traffic to route through the DMZ Gateway. You can use the AS2 Send File to host Action in the Folder Monitor, Timer, and all file-based Events.

To route AS2 traffic through DMZ Gateway

  1. Create a new Event Rule, such as a File Uploaded event. (Refer to Creating Event Rules for details of creating Event Rules, if necessary.)

  2. Add the AS2 Send file to host Action to the Rule, then click the file or host link. The AS2 Send File dialog box appears.

  3. Define the trading partner options (in the AS2 Send File dialog box).

  4. Add the Copy/Move File to Host Action to the Rule.

  5. In the Rule Builder pane, click any one of the undefined parameters (e.g., %FS.PATH%).



    The Offload Action wizard appears.

  6. On the Offload method box, specify a protocol type for the connection: Local (Local File or LAN), FTP (standard File Transfer Protocol), FTP SSL/TLS (AUTH TLS), FTP with SSL (Explicit encryption), FTP with SSL (Implicit encryption), SFTP using SSH2 (Secure Shell), HTTP (HyperText Transfer Protocol), HTTPS (Secure HTTP access).

  7. In the Host address box, type the IP address.

  8. The Port number for the selected protocol changes automatically based on the offload method. Provide a different port number, if necessary.

  9. Provide the Username and Password needed to establish the connection.

  10. Select the Use connected client's login credentials to authenticate check box if you want to use the local system account to authenticate.

  11. If you chose SFTP:

    1. In the SFTP Public Key File Path box, type the path or click the folder icon to browse to and select the path.

    2. In the SFTP Private Key File Path box, type the path or click the folder icon to browse to and select the path.

    3. In the SFTP Key Passphrase box, provide the key's passphrase.

  12. Click Proxy. The Proxy Settings dialog box appears.

    1. Specify the Proxy type, Host name, Port, Username, and Password.

    2. Using the DMZ Gateway as proxy is available only in the Enterprise edition of EFT Server.

    3. To specify an Authentication Type and login sequence, configure the Advanced settings.

    4. Specify one of the following Authentication Types:

  13. To specify transfer options and time stamps, click Advanced. The Advanced Options dialog box appears.

    1. In the General transfer options area, you can provide more control over Max concurrent transfer threads, Connection timeout, Connection retry attempts, and Delay between retries. When files are being transferred with Event Rules (copy/move), if there are connection problems (e.g., the network is unavailable), EFT Server will attempt to establish a connection the number of times specified in Connection retry attempts. When EFT Server is able to re-establish the connection, it continues to transfer the file even if there are multiple interruptions.

    2. Select the Validate file integrity after transfer check box to specify that EFT Server should double check binary files to ensure the files downloaded completely and correctly.

    3. In the Data port mode box, click the drop-down list and select one of the following:

    4. In the ASCII transfer mode area, specify the file types that can be transferred. TXT, INF, HTML, and HTM are specified by default.

    5. In the Time stamps area, select one of the following:

    6. Click OK.

  14. Click Next. The Source File Path page appears.

  15. In the Source path box, provide the path to the file(s) that you want to offload. For example, type:
    /pub/usr/jsmith/file.txt or \\mydomain\common\jsmith\file.txt

  16. If you want to Delete source file after it has been offloaded, select the check box.

  17. Click Next. The Destination File Path page appears.

  18. In the Destination path box, click the folder icon  and specify the location in which to save the offloaded file.

  19. Click Finish then click Apply to save the changes on EFT Server and/or add other Actions and Conditions to the Rule.

  20. If you are copying or moving the file to another location, and the file upload is a regularly occurring event with a file of the same name, in the Offload Action wizard, add the variables %EVENT.DATESTAMP% and/or %EVENT.TIMESTAMP% to the path so that the date (YYYYMMDD) and/or time (HHMMSS) are added to the filename when it is moved/copied. Do not use %EVENT.TIME%, because the colon (e.g., 28 Aug 07 10:01:56) makes it unsuitable for file naming.

  21. For example, in the Offload Action wizard, in the Destination path box, provide the path and variables. For example, type:

  22. C:\Documents and Settings\Administrator\My Documents\upload/%EVENT.DATESTAMP%_%EVENT.TIMESTAMP%_%FS.FILE_NAME%

  23. With this path and variables, when a file is uploaded to the monitored folder, the file is moved to \My Documents\upload and the date and time are prepended to the filename. For example, 20080422_101212_mydailyprogress.doc.

To create a custom authentication method for a proxy server

Contact your system administrator for the proper Host name, Port, User name, Password, and proxy type, as well as any required advanced authentication methods.

  1. In the Proxy Settings dialog box (see step 12 above), click Advanced. The Advanced Proxy Settings dialog box appears.

  2. In the Advanced Proxy Settings dialog box, click Custom, then specify the login sequence in the text box using the following variables:

  3. Type each variable with percent signs before and after.

  4. Press ENTER to separate commands.

  5. Type any other commands and variables, separating commands with a line break (press ENTER).

  6. Click OK.

  7. Click Apply to save the Rule.