Cmdlets for MySQL

Build 24.0.9175

FirewallType Parameter (Connect-MySQL Cmdlet)

Specifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.

Syntax

Connect-MySQL -FirewallType string

Possible Values

NONE, TUNNEL, SOCKS4, SOCKS5

Data Type

cstr

Default Value

"NONE"

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

The following table provides port number information for each of the supported protocols.

Protocol Default Port Description
TUNNEL 80 The port where the cmdlet opens a connection to MySQL. Traffic flows back and forth via the proxy at this location.
SOCKS4 1080 The port where the cmdlet opens a connection to MySQL. SOCKS 4 then passes theFirewallUser value to the proxy, which determines whether the connection request should be granted.
SOCKS5 1080 The port where the cmdlet sends data to MySQL. If the SOCKS 5 proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175