Skip to main content
An instance’s outbound IP address can change. When a database, an API or a company firewall only accepts addresses on its allow list, send the instance’s traffic through a proxy that has a static IP. The other side sees the proxy’s address, and that is the address you put on the list. Any proxy provider with static IPs works. QuotaGuard Static is one: you get a proxy URL with a username and password in it, and two static IP addresses to allow.

Set the proxy on the instance

Put the proxy URL in env when you create the instance:
Programs in the instance read HTTPS_PROXY and HTTP_PROXY and send their requests through the proxy. NO_PROXY lists the hosts that stay direct: the instance’s own services, plus any you add, such as api.agent37.com for managed services. NODE_USE_ENV_PROXY makes Node.js follow the same variables, on Node.js 22.21 or 24.5 and later. Check the address with one exec:
stdout is one of your proxy’s static addresses.

What goes through the proxy

Each program reads the variables itself, so your scripts need no code change. env names are uppercase, and wget reads only the lowercase ones, as does curl for an http:// URL. Set them in the command:

Browsers

Chromium reads the proxy from the environment but ignores the password in the URL, so pages do not load. Pass the proxy and its login when you launch the browser:

One command only

To send one program through the proxy and leave the rest of the instance direct, keep the URL in env under a name of your own, such as PROXY_URL, and set the variables on that command:

Databases and other connections

A database driver, an SSH client, and anything else that does not speak HTTP opens its own connection and ignores these variables. Those need your provider’s SOCKS5 endpoint or its tunnel tool. QuotaGuard’s is QGTunnel.