FirewallType Parameter (Connect-PostgreSQL Cmdlet)
The protocol used by a proxy-based firewall.
Syntax
Connect-PostgreSQL -FirewallType string
Possible Values
NONE, TUNNEL, SOCKS4, SOCKS5Data Type
cstr
Default Value
"NONE"
Remarks
This property specifies the protocol that the cmdlet will use to tunnel traffic through the FirewallServer proxy.
Type | Default Port | Description |
TUNNEL | 80 | When this is set, the cmdlet opens a connection to PostgreSQL and traffic flows back and forth through the proxy. |
SOCKS4 | 1080 | When this is set, the cmdlet sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted. |
SOCKS5 | 1080 | When this is set, the cmdlet sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes. |