Requests proxying through <host>:<port>,
using the protocol specified by --proxy-type.
If no port is specified, the proxy protocol's well-known port is used (1080 for
SOCKS and 3128 for HTTP). However, when specifying an IPv6 HTTP proxy server using
the IP address rather than the hostname, the port number MUST be specified as well.
If the proxy requires authentication, use --proxy-auth.
--proxy-type <proto> (Specify proxy protocol)
In connect mode, this option requests the protocol <proto>
to connect through the proxy host specified by --proxy. In listen mode,
this option has Ncat act as a proxy server using the specified protocol.
The currently available protocols in connect mode are http
(CONNECT) and socks4 (SOCKSv4). The only server currently supported
If this option is not used, the default protocol is http.
In connect mode, gives the credentials that will be used to
connect to the proxy server. In listen mode, gives the credentials
that will be required of connecting clients. For use with
--proxy-type http, the form should be user:pass. For
--proxy-type socks4, it should be a username only.