CloudBolt 4.6.1 and newer
Go to Admin --> Misc Settings --> click the pencil next to the Web Proxy item at the bottom of the page.
After setting a proxy, all outgoing connections to AWS and Azure should go through this proxy.
CloudBolt 4.6 and earlier
To get CB to talk to AWS via a proxy, you can create a file on the C2 server called /etc/boto.cfg. The contents of that file are:
debug = 0
num_retries = 10
proxy = myproxy.com
proxy_port = 8080
proxy_user = foo
proxy_pass = bar
That is an AWS-specific file, we are also going to be adding a setting in the C2 UI for product-wide proxy config in one of the next releases.
chown apache:apache /etc/boto.cfg
service httpd restart