Double Rewards

Rotating IPs:Buy 50GB, get 10GB free

Static IPs:Get 7 extra days for every 30 days purchased, plus 500MB per order

Buy Now >

Security AlertA fraudulent phishing site ( rola-ip.com) is impersonating our previous official website. ROLA IP's only official website is rola-ip.co (make sure it uses the .co domain suffix). To protect your funds, do not make payments on any other domain!

Rammerhead Proxy: Setup, HTTP Upstreams and Alternatives

Chloe Sun

Nov 25, 2026 · Comparisons · 11 min read

TL;DR

Rammerhead Proxy is an open-source web proxy that rewrites websites and associates cookies and localStorage with a Session ID. A self-hosted instance normally uses its server’s network exit; an optional HTTP upstream can change that exit. Use Rammerhead when you need a browser-based URL entry point and control over the instance. Compare Scramjet for another self-hosted architecture, review Ultraviolet’s unsupported status before adopting it, or consider CroxyProxy for hosted browsing. Rola IP supplies proxy exits for applications or a compatible Rammerhead upstream; it does not replace the web interface.

What Is Rammerhead Proxy?

Rammerhead is based on testcafe-hammerhead. Users enter a URL on the instance’s entry page; the server fetches and rewrites resources so the browser can display the target through the proxy. Its official repository describes session synchronization for cookies and localStorage, plus custom HTTP upstreams for individual sessions.

The two layers have different jobs. Rammerhead provides the web interface, rewriting, and session handling. An upstream proxy supplies a different network exit for its requests. Without an upstream, target sites see your hosting server’s datacenter IP—which often faces stricter rate limits. Pairing Rammerhead with an HTTP upstream lets you keep the browser interface while routing traffic through a cleaner residential or ISP IP.

The source code is free to use under its license, but self-hosting still requires computing resources and maintenance. Public instances can have different operators, passwords, and retention policies.

Rammerhead official GitHub repository

How to Use Rammerhead Browser Proxy

The entry page has Enter URL, Session ID, Create new session ID, and Show advanced options controls.

  1. Enter the instance password if its administrator requires one.
  2. Click Create new session ID. Confirm that a value appears in Session ID.
  3. Enter a URL you are authorized to access in Enter URL.
  4. Click Go! to apply the session settings and open the target.
  5. To reuse a saved session, return to the entry page and select Fill in existing session ID beside that session.

The optional HTTP Proxy field is under Show advanced options. Leave it empty for the instance’s normal network exit. Keep the Session ID and session URL private: someone who obtains them may be able to access logins saved in that session. Use an instance you control when entering account or upstream-proxy credentials.

Local Rammerhead instance with a created session, expanded HTTP Proxy field, and sensitive session values masked

How to Self-Host Rammerhead Proxy Locally

You need Git, Node.js, npm, and access to the package registry. The project’s package declaration requires Node.js 18 or later. The local setup below was verified on November 24, 2026, using Windows 10, Node.js 24.15.0, and npm 11.12.1, at commit 9d1bafa000e1b31de24379a7620389a3ecbfe1d9.

1. Install and Build

git clone https://github.com/binary-person/rammerhead.git
cd rammerhead
git checkout 9d1bafa000e1b31de24379a7620389a3ecbfe1d9
npm install
npm run build

Installation and build both completed successfully in the test environment. Windows PowerShell users can run npm.cmd install and npm.cmd run build if PowerShell blocks the npm script shim.

2. Configure the Local Instance Before Starting It

Create a file named config.js in the repository root, beside package.json. The root file overrides the defaults without editing src/config.js:

module.exports = {
  bindingAddress: '127.0.0.1',
  getServerInfo: () => ({
    hostname: '127.0.0.1',
    port: 8080,
    crossDomainPort: 8081,
    protocol: 'http:'
  }),
  enableWorkers: false,
  password: 'REPLACE_WITH_A_LONG_RANDOM_PASSWORD'
};

Replace the password placeholder with your own long, random value. The project’s configuration source sets the main port to 8080 and the cross-domain port to 8081. This setup keeps the instance on the local machine. Publishing it under a domain additionally requires TLS, access controls, and reverse-proxy and getServerInfo settings that match both public endpoints.

Keep the browser entry address and getServerInfo.hostname consistent. The configuration above uses 127.0.0.1 for both, avoiding a switch to localhost during rewritten navigation that can separate browser storage.

3. Start and Check the Instance

node src/server.js

Open http://127.0.0.1:8080, enter your configured password, and create a session. The entry page should load and return a Session ID. Keep the terminal running while using the instance; press Ctrl+C to stop it.

In the November 24 test, the entry page loaded, authenticated session creation succeeded, and a request to http://example.com/ through the local instance returned HTTP 200 with the expected page text. A Chromium browser check on November 25 also confirmed Go! navigation, JavaScript execution, and cookie/localStorage retention across a link click and refresh on a controlled local page.

Rammerhead Alternatives at a Glance

If you are running automated scripts or antidetect browsers, skip web-rewriting proxies entirely and connect directly to a proxy network like Rola IP. Only choose a web proxy when you specifically need a browser-based URL portal:

Solution
Deployment
Browser URL-entry interface
Exit-IP role
Main selection factor
Rola IP
Hosted proxy network
Does not replace Rammerhead’s interface
Supplies proxy exits to compatible clients or an HTTP upstream
Network, location, protocol, and session needs
Scramjet
Self-hosted open-source project
Available through its application or playground
Depends on deployment and transport configuration
Experimental interception and rewriting architecture
Ultraviolet
Self-hosted project with a companion app
Requires a complete application deployment
Depends on deployment and transport configuration
Officially unsupported; mainly relevant to existing installations
CroxyProxy
Hosted online service
Yes
Service-controlled routing
Browser access without maintaining a server

1. Rola IP: Proxy Exits for Applications and HTTP Upstreams

Rola IP residential proxies supply proxy exits for applications that support standard proxy connections. The documentation also covers rotating datacenter and mobile networks. A script, browser, or proxy client can use its own connection settings without deploying Rammerhead.

Location and session parameters help select the exit behavior. For example, a team checking an authorized regional page can configure the required country and keep a short session stable while comparing responses. The available targeting options depend on the selected network.

Rola IP does not replace page rewriting, Session IDs, or a browser-based URL portal. It suits users who need an application proxy connection, or a different exit for an existing self-hosted Rammerhead instance. Choose the network and billing model around the workload rather than treating all proxy products as interchangeable.

Rola IP Quick Start documentation showing the network selection table

2. Scramjet: A Different Web Proxy Architecture

The official Scramjet documentation describes an experimental web proxy combining interception, rewriting, and sandboxing. Its in-browser instrumentation and debugging approach offers another architecture to evaluate when a target page has rewriting problems.

Building the project requires recent Node.js and pnpm versions, plus Rust and WebAssembly tooling. This makes it a better fit for developers who can maintain and troubleshoot their own deployment than for someone who only needs a hosted URL entry field.

The project’s supported-site list is a starting point for compatibility checks. Evaluate the specific navigation, authentication, and resource-loading workflow that matters to your application.

Scramjet official GitHub repository

3. Ultraviolet: Existing Deployments and Migration Planning

The official Ultraviolet documentation describes a Service Worker approach to intercepting requests. It also prominently marks the project as fully unsupported and points users toward Scramjet.

Existing maintainers can use the source and documentation to identify their deployed version, application dependencies, and migration needs. Building the Ultraviolet package alone does not produce a complete service; the repository directs deployments to the companion Ultraviolet-App project.

For new installations, maintenance status is a reason to evaluate another supported path. For existing ones, inventory the companion application and target workflows before replacing the proxy layer.

Ultraviolet repository displaying its unsupported-project notice

4. CroxyProxy: Hosted Browsing Without Self-Hosting

CroxyProxy provides an online web proxy with a URL entry field, allowing browser access without cloning a project or running a Node.js service. Its public interface displays free access and Premium options.

This suits occasional browser-only use when controlling the backend is unnecessary. The service operator manages its infrastructure, routing, and policies, so it offers a different level of control from a self-hosted Rammerhead instance. An online portal also does not replace the proxy connection settings expected by Python, Node.js, or desktop software.

CroxyProxy homepage with its browser-based URL entry field

How to Configure a Rola IP HTTP Upstream in Rammerhead

The Rola IP Quick Start explains how to obtain HOST, PORT, USERNAME, and PASSWORD from the dashboard. Use a connection that supports HTTP proxying. A SOCKS5 address cannot simply be pasted into Rammerhead’s HTTP Proxy field.

The Rola IP proxy parameters define location and session settings for each network. Rammerhead’s Session ID selects its browser-state session; Rola’s session identifier selects proxy exit behavior. They are separate values. For the IP comparison below, select a fixed or sticky exit, use the same complete proxy username in both clients, and complete the requests within that session’s validity period. Avoid per-request rotation for this check.

1. Compare the Baseline and Independent Proxy Connection

In your local Rammerhead instance, create a session, leave HTTP Proxy empty, enter https://ipinfo.io/json in Enter URL, and click Go!. Note the returned ip value as the baseline.

Next, test Rola independently. This Bash command uses placeholders; replace them with your proxy connection details:

curl --fail --show-error --connect-timeout 10 --max-time 30 \
  --proxy 'http://HOST:PORT' \
  --proxy-user 'USERNAME:PASSWORD' \
  'https://ipinfo.io/json'

In PowerShell, use this single-line equivalent; Bash’s trailing backslashes are not PowerShell continuation characters:

curl.exe --fail --show-error --connect-timeout 10 --max-time 30 --proxy 'http://HOST:PORT' --proxy-user 'USERNAME:PASSWORD' 'https://ipinfo.io/json'

The JSON response should include an ip value. Check that the independent request works before adding the connection to Rammerhead.

2. Apply the Upstream to the Same Session

Return to the entry page and select the same Session ID. Expand Show advanced options and enter the following in HTTP Proxy:

http://USERNAME:PASSWORD@HOST:PORT

URL-encode the username and password separately if they contain reserved characters. For example, # inside a password becomes %23; do not encode the separators that structure the complete URL.

Enter https://ipinfo.io/json in Enter URL and click Go!. That button applies the session settings and opens the target; there is no separate Save button.

Rammerhead session with the IPinfo target and HTTP upstream filled in, with credentials and session values masked

Configuring a Rola HTTP upstream in a local Rammerhead session on November 25, 2026. Credentials and session values are masked.

3. Verify the Exit and Restore the Baseline

Compare the response with the baseline and independent Rola request. The distinction between sticky and rotating proxies matters here: fixed or sticky exits allow direct IP comparison, while a rotating connection may require gateway or target-side logs to attribute the route. Use an IP lookup tool to confirm the observed exit IP’s location, or check gateway logs when testing rotating connections.

The November 24 test used a Rola HTTP connection and the same local Rammerhead session. It produced these results through the session API used by the interface:

Request Result
Rammerhead without an upstream HTTP 200; baseline exit A
Independent Rola proxy request Successful JSON response; exit B
Same Rammerhead session with Rola upstream HTTP 200; exit B, matching the independent request
Repeated upstream request HTTP 200; exit B
Same session after clearing the upstream HTTP 200; baseline exit A restored

IPinfo JSON response from a browser request through Rammerhead and its Rola HTTP upstream, showing the exit IP and network details

The upstream exit differed from the baseline, and clearing it restored the original route. To perform that final check yourself, return to the entry page, select the same Session ID, clear HTTP Proxy, enter the same target URL, and click Go! again.

Proxy credentials can appear in local command history, request logs, and the entry page’s browser storage. Use test credentials for setup, keep them out of shared screenshots, and remove or revoke them when finished.

Rammerhead Proxy Troubleshooting

The Entry Page Does Not Open

Check that node src/server.js is still running and that you are opening the configured address and port. With the local configuration above, use http://127.0.0.1:8080 on the same machine. If another application occupies a required port, resolve that conflict before restarting. A remote browser cannot reach an instance bound only to loopback.

Session Creation Fails

Confirm that the password matches the root config.js value and restart the service after changing configuration. If a saved Session ID no longer exists on the server, create a new one. Retention rules belong to that deployment; a demo’s displayed retention notice is not a universal policy.

Requests Fail Only After Enabling the Upstream

Run the independent curl check with the same credentials and target. A 407 points to proxy authentication; check the username, password, and account settings. Connection refusal or a timeout calls for checking the gateway, port, and reachability. A 502 or CONNECT error can be specific to the proxy-to-target path, so compare another simple target before changing unrelated settings.

In this test environment, api.ipify.org failed with a DNS error on the baseline route and returned 502 through the proxy. Switching to https://ipinfo.io/json allowed the full baseline/upstream/restoration check to complete. If a single IP-checking endpoint fails, test another target URL before assuming your upstream configuration is broken.

A Page Loads but Login or Other Interactions Fail

Check failed scripts, resources, redirects, and cookies separately from network connectivity. Rammerhead’s README identifies Google login as a limitation. A 403 can reflect target access policy; a 429 indicates rate limiting and calls for reducing requests and respecting Retry-After when provided.

Conclusion

Skip unsupported projects like Ultraviolet for new builds: use CroxyProxy for quick hosted browsing, or self-host Rammerhead when you need browser-level session isolation. Whenever your workflow calls for reliable residential or ISP exits—either directly in your scripts or as a Rammerhead upstream—Rola IP handles the network layer cleanly. Start with the simplest connection your task needs and verify it against your target workflow.


Try Rola IP Now

FAQs