To create a new proxy definition, access the Administration module go to Proxies | Configuration | Proxy Configuration and click New.
Fields that are not required by the proxy may be left blank (for example, if you are not using authentication credentials or with an NTLM proxy you may leave the Username and Password fields blank).
|The unique ID of the proxy.|
The service(s) to define the proxy for.
|The name of the proxy host.|
|The proxy port number.|
|The proxy username when authentication credentials are required.|
|The proxy password when authentication credentials are required.|
|The computer name of the machine (the machine connecting to the NTLM proxy).|
|The proxy domain/realm name.|
Redirecting Proxy target Hosts
An optional list of newline or comma separated host names to which this proxy may redirect requests.
Artifactory only accesses a remote repository through a proxy if one is selected in the Network section of the Advanced settings for a remote repository.
Whether this has been set manually, or by setting a Default Proxy as a Platform Default or for Artifactory, you can override this by removing the Proxy setting for any specific repository.
In this case, Artifactory will access the specific repository without going through a proxy.
Configuring an NTLM Proxy
NTLM Authorization Proxy Server (APS) is a proxy software that allows you to authenticate via a Microsoft Proxy Server using the proprietary NTLM protocol.
NTLM is supported by running an ad-hoc CNTLM container like https://hub.docker.com/r/robertdebock/docker-cntlm/.
Configure an NTLM Proxy
Run the container to hash the NTML credentials.
The following output is generated:
Run the container with the hashed credentials.
Setting Exclusions to the Default Proxy
To exclude interfaces, IPs, and addresses from the default proxy, you will need to specify the addresses to be excluded from the
NO_PROXY environment variable.
For example, setting
," will ensure that Mission Control will not use any proxy configured while communicating with host1 and host2.