How to configure network proxy?

I am getting several timeouts in logs as flowcoll service fail to connect to Internet. I don’t have direct Internet access, but must be used the proxy. I am running ElastiFlow on Ubuntu 24.04 and have ser the proxy env var in /etc/environment and also I have set it the env var to service using

sudo systemctl edit flowcoll.service

But still failing… any advise?

Thanks,
Milos.

The collector should use whatever proxy is configured system wide. Once you’ve made the change in /etc/environment you would need to either reboot, or stop the collector, log out, log in, start the collector for the changes to be picked up. I don’t think it’s necessary to add it to the flowcoll.service directly.

Does your proxy server require a username/password? If so, you may need to set those in your environment variable, too.

You can test from the command line with curl -I ``https://query.netintel.elastiflow.com or, if you want to specifically test the proxy curl -v -x <<http://your-proxy-ip:port>> ``https://query.netintel.elastiflow.com

Finally, there was a fix related to proxy servers back in the 7.2.0 release, in the off chance you are running an older version.

Let us know how it goes.

Thanks,

Dexter

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.