Outbound proxies are local-only. Cloud sandbox creation rejects this setting.
Supported proxies
Only one proxy can be configured for a sandbox. A SOCKS4 user ID identifies the caller; it is not a password.
Configure a proxy
IP:port. The msb run and msb create commands accept --proxy socks4://IP:port or --proxy socks5://IP:port. Proxy URIs reject user information, paths, query parameters, and fragments; protocol-specific authentication uses separate CLI flags.
SOCKS4 user ID
Add an optional user ID through an SDK or--socks4-user-id in the CLI.
SOCKS5 credentials
SOCKS5 supports optional username/password authentication. Passwords are loaded from a host environment variable rather than placed directly in configuration.SOCKS5_PASSWORD, but never the resolved password.
SOCKS5 authentication does not encrypt credentials on the wire. Use a trusted local or private proxy, or protect the connection at the transport layer.
Behavior and limits
- Network policy is evaluated against the sandbox’s actual destination before the proxy connection is opened.
- SOCKS4 supports TCP only and cannot reach IPv6 destinations. Non-DNS UDP is blocked while SOCKS4 is configured.
- SOCKS5 uses
CONNECTfor TCP andUDP ASSOCIATEfor non-DNS UDP. - DNS uses microsandbox’s DNS forwarder instead of the configured proxy. This includes plain DNS, DNS-over-TCP, and DNS-over-TLS.
- Connections to
host.microsandbox.internalbypass the proxy and continue to target the microsandbox host. - Each TCP connection opens its own proxy connection and handshake. Each UDP flow opens its own SOCKS5 control connection and UDP association.
- TLS interception and secret injection continue to work as configured.