ICIDMZGateway Interface

Use the ICIDMZGateway interface to edit the DMZ Gateway configuration in EFT. See also the ICISite::DMZGateway property.

interface ICIDMZGateway : IDispatch

Properties

  • Property AccelerationPort As Long

  • Retrieves or specifies the acceleration port.

    HRESULT AccelerationPort([out,retval] LONG* pVal);
    HRESULT AccelerationPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Acceleration port: “ & CStr(oGW.AccelerationPort)

    Specifying:

    oGW.AccelerationPort = 1234

    EFT v7.3 and later

  • Property AllowPASVMode As Boolean

  • (In v6.3.0, it was "AssignPASVMode")

    Retrieves or specifies whether to enable PASV mode.

    HRESULT AllowPASVMode([out,retval] VARIANT_BOOL* pVal);
    HRESULT AllowPASVMode(VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Passive mode allow: “ & CStr(oGW.AllowPASVMode)

    Specifying:

    oGW.AllowPASVMode = True

    EFT v6.3 and later

  • Property CertificatePath As String

  • HRESULT CertificatePath([out, retval] BSTR* pVal);
    HRESULT CertificatePath([in] BSTR newVal);

    EFT v7.4.7 and later

  • Property Enable As Boolean

  • Retrieves or specifies whether to enable DMZ Gateway.

    HRESULT Enable([out,retval] VARIANT_BOOL* pVal);
    HRESULT Enable([in] VARIANT_BOOL newVal);

    Example (VB Script):

    Retrieving:

    MsgBox “DMZ Gateway is enabled: “ & CStr(oGW.Enable)

    Specifying:

    oGW.Enable = False

    EFT v6.3 and later

  • Property EnableHTTPSAcceleration As Boolean

  • Retrieves or specifies whether to enable acceleration.

    HRESULT EnableHTTPSAcceleration([out,retval] VARIANT_BOOL* pVal);
    HRESULT EnableHTTPSAcceleration(VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Acceleration enabled: “ & CStr(oGW.EnableHTTPSAcceleration)

    Specifying:

    oGW.EnableHTTPSAcceleration = True

    EFT v7.3 and later

  • Property FTPPort As Long

  • Retrieves or specifies the FTP port.

    HRESULT FTPPort([out,retval] LONG* pVal);
    HRESULT FTPPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “FTP port for external connections: “ & CStr(oGW.FTPPort)

    Specifying:

    oGW.FTPPort = 21

    EFT v6.3 and later

  • Property FTPSExplPort As Long

  • Retrieves or specifies the FTPS explicit port.

    HRESULT FTPSExplPort([out,retval] LONG* pVal);
    HRESULT FTPSExplPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “FTPS explicit port for external connections: “ & CStr(oGW.FTPSExplPort)

    Specifying:

    oGW.FTPSExplPort = 21

    EFT v6.3 and later

  • Property FTPSImplPort As Long

  • Retrieves or specifies the FTP implicit port.

    HRESULT FTPSImplPort([out,retval] LONG* pVal);
    HRESULT FTPSImplPort([in] LONG newVal)

    Example (VBScript):

    Retrieving:

    MsgBox “FTPS implicit port for external connections: “ & CStr(oGW.FTPSImplPort)

    Specifying:

    oGW.FTPSImplPort = 990

    EFT v6.3 and later

  • Property GatewayIP As String

  • Retrieves or specifies the DMZ Gateway IP address.

    HRESULT GatewayIP([out,retval] BSTR* pVal);
    HRESULT GatewayIP([in] BSTR newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “DMZ Gateway IP is: “ & oGW.GatewayIP

    Specifying:

    oGW.GatewayIP = “198.162.0.1”

    EFT v6.3 and later

  • Property GatewayPort As Long

  • Retrieves or specifies the port on which the DMZ Gateway communicates with EFT.

    HRESULT GatewayPort([out,retval] LONG* pVal);
    HRESULT GatewayPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “DMZ Gateway port is: “ & CStr(oGW.GatewayPort)

    Specifying:

    oGW.GatewayPort = 44500

    EFT v6.3 and later

  • Property HTTPPort As Long

  • Retrieves or specifies the HTTP port.

    HRESULT HTTPPort([out,retval] LONG* pVal);
    HRESULT HTTPPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “HTTP port for external connections: “ & CStr(oGW.HTTP)

    Specifying:

    oGW.HTTP = 80

    EFT v6.3 and later

  • Property HTTPSPort As Long

  • Retrieves or specifies the HTTPS port.

    HRESULT HTTPSPort([out,retval] LONG* pVal);
    HRESULT HTTPSPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “HTTPS port for external connections: “ & CStr(oGW.HTTPS)

    Specifying:

    oGW.HTTPS = 443

    EFT v6.3 and later

  • Property PASVListenIP As Long

  • Retrieves or specifies the PASV IP address.

    HRESULT PASVListenIP([out,retval] BSTR* pVal);
    HRESULT PASVListenIP([in] BSTR newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Passive mode listening IP: “ & oGW.PASVListenIP

    Specifying:

    oGW.PASVListenIP = “192.168.0.88”

    EFT v6.3 and later

  • Property PASVPortMax As Long

  • Retrieves or specifies the upper end of the PASV port range.

    HRESULT PASVPortMax([out,retval] LONG* pVal);
    HRESULT PASVPortMax([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Lower bound of port range is: “ & CStr(oGW.PASVPortMax)

    Specifying:

    oGW.PASVPortMax = 30000

    EFT v6.3 and later

  • Property PASVPortMin As Long

  • Retrieves or specifies the lower end of the PASV port range.

    HRESULT PASVPortMin([out,retval] LONG* pVal);
    HRESULT PASVPortMin([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “Lower bound of port range is: “ & CStr(oGW.PASVPortMin)

    Specifying:

    oGW.PASVPortMin = 28000

    EFT v6.3 and later

  • Property RemoteAdminMX As Boolean

  • HRESULT RemoteAdminMX([out, retval] VARIANT_BOOL* pVal);
    HRESULT RemoteAdminMX([in] VARIANT_BOOL newVal);

    EFT v7.4.7 and later

  • Property RemoteAdminMXPort As Long

  • HRESULT RemoteAdminMXPort([out, retval] VARIANT_BOOL* pVal);
    HRESULT RemoteAdminMXPort([in] VARIANT_BOOL newVal);

    EFT v7.4.7 and later

  • Property RouteFTP As Boolean

  • Retrieves or specifies whether to enable FTP.

    HRESULT RouteFTP([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteFTP([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteFTP then
    MsgBox “FTP is routing.”
    end if

    Specifying:

    oGW.RouteFTP = False

    EFT v6.3 and later

  • Property RouteFTPSExpl As Boolean

  • Retrieves or specifies whether to enable FTPS explicit.

    HRESULT RouteFTPSExpl([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteFTPSExpl([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteFTPSExpl then
    MsgBox “FTPS explicit is routing.”
    end if

    Specifying:

    oGW.RouteFTPSExpl = False

    EFT v6.3 and later

  • Property RouteFTPSImpl As Boolean

  • Retrieves or specifies whether to enable FTPS implicit.

    HRESULT RouteFTPSImpl([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteFTPSImpl([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteFTPSImpl then
    MsgBox “FTPS implicit is routing.”
    end if

    Specifying:

    oGW.RouteFTPSImpl = False

    EFT v6.3 and later

  • Property RouteHTTP As Boolean

  • Retrieves or specifies whether to enable HTTP.

    HRESULT RouteHTTP([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteHTTP([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteHTTP then
    MsgBox “HTTP is routing.”
    end if

    Specifying:

    oGW.RouteHTTP = False

    EFT v6.3 and later

  • Property RouteHTTPS As Boolean

  • Retrieves or specifies whether to enable HTTPS.

    HRESULT RouteHTTPS([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteHTTPS([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteHTTPS then
    MsgBox “HTTPS is routing.”
    end if

    Specifying:

    oGW.RouteHTTPS = False

    EFT v6.3 and later

  • Property RouteSFTP As Boolean

  • Retrieves or specifies whether to enable SFTP.

    HRESULT RouteSFTP([out,retval] VARIANT_BOOL* pVal);
    HRESULT RouteSFTP([in] VARIANT_BOOL newVal);

    Example (VBScript):

    Retrieving:

    if True = oGW.RouteSFTP then
    MsgBox “SFTP is routing.”
    end if

    Specifying:

    oGW.RouteSFTP = False

    EFT v6.3 and later

  • Property SecurePNC As Boolean

  • Retrieves or specifies whether Secure PNC is enabled.

    HRESULT SecurePNC([out, retval] VARIANT_BOOL* pVal);
    HRESULT SecurePNC([in] VARIANT_BOOL newVal);

    EFT v7.4.6 and later

  • Property SFTPPort As Long

  • Retrieves or specifies the SFTP port.

    HRESULT SFTPPort([out,retval] LONG* pVal);
    HRESULT SFTPPort([in] LONG newVal);

    Example (VBScript):

    Retrieving:

    MsgBox “SFTP port for external connections: “ & CStr(oGW.SFTP)

    Specifying:

    oGW.SFTP = 22

    EFT v6.3 and later

Dialog Box Equivalents

The ICIDMZGateway interface properties correlate to the following fields and controls in the EFT administration interface: