Knowledge Base: How do I connect to RPM through a Proxy Server?
In the latest version of the plugin you can configure proxy server settings by editing this section of your newrelic.yml file, or adding these settings if you have an older newrelic.yml.
# Proxy settings for connecting to the RPM server.
#
# If a proxy is used, the host setting is required. Other settings are optional. Default
# port is 8080.
#
proxy_host: proxy.sample.com
proxy_port: 8080
proxy_user: user
proxy_pass: password
Starting with version 1.0.005, the Java agent supports the proxy_host and proxy_port settings, but does not support the proxy_user and proxy_pass settings at this time.