- Pass network traffic through allowlisted infrastructure
- Control your browser’s IP address and location
- Comply with internal security policies and firewalls
How to Route Browserbase Through Your VPN
Browserbase sessions can route traffic through your own static HTTP/HTTPS proxy. This allows you to control the outbound IP. If your systems only allow traffic from trusted IPs, simply allowlist the IP of your proxy.- Deploy a VPN or proxy server in your trusted network
- Allowlist that IP in your firewall, backend, or third-party system
- Pass the proxy config into your Browserbase session
- Browserbase routes browser traffic through your proxy
Custom Proxy Configuration
create_session_with_proxy.js
Key Requirements
- Your proxy must support HTTP or HTTPS
- It must be accessible from Browserbase (public IP or via tunnel)
- You must allow traffic from Browserbase to your proxy (firewall, VPN config, etc.)
Troubleshooting
If your session fails to connect:- Make sure your proxy server is publicly accessible or properly tunneled
- Confirm the proxy IP is correctly allowlisted in your system
- Check the proxy authentication credentials
- Ensure you’re using HTTP or HTTPS (Socks5 proxies are not supported)
- Try connecting to the proxy from a local machine to verify it works outside your network