FirewallType Parameter (Connect-ExcelOnline Cmdlet)
The protocol used by a proxy-based firewall.
Syntax
Connect-ExcelOnline -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. Note that by default, the cmdlet connects to the system proxy; to disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.
Type | Default Port | Description |
TUNNEL | 80 | When this is set, the cmdlet opens a connection to Microsoft Excel Online 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. |
To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.