How to Get Free v2ray Nodes

2 min read

Using the FOFA cyberspace mapping engine together with Excel batch processing to quickly generate and filter hundreds or thousands of usable nodes.

How to Get Free v2ray Nodes

Today I’ll share a “hardcore” method: using the FOFA cyberspace mapping engine together with Excel batch processing to quickly generate and filter usable nodes.

🛠️ Tools You’ll Need

  1. A FOFA account (a regular registered user is fine, with some free export quota)
  2. Excel or WPS Spreadsheets
  3. v2rayN (or another client that supports batch import and speed testing)

📝 Step-by-Step Guide

Step 1: Search for Target Resources with FOFA

First, we use FOFA’s powerful search engine to find Cloudflare nodes that match the signature.

  1. Open your browser and go straight to this search link:

    Click here to view the FOFA search results

    If you want to type the syntax manually, the query is: icon_hash="-1354027319" && asn="13335" && port="443" How it works:

    • asn="13335": lock onto Cloudflare’s ASN.
    • port="443": filter targets with the HTTPS port open.
    • icon_hash: filter by a specific favicon fingerprint (here it usually points to a particular panel or Worker deployment signature).

Step 2: Export the Data to Excel

  1. On the right side of the search results page, find the “Download” icon (usually a downward arrow).
  2. Click download and FOFA will prompt you to export the data. After logging in, ordinary users usually have some free credits or quota, so just confirm.
  3. Once the download finishes, you’ll get a spreadsheet file in .xls or .csv format.

Step 3: Clean the Data and Generate Formulas in Excel (the key step)

This step turns the messy search results into Trojan links that v2rayN can recognize.

  1. Extract the domains: Open the downloaded spreadsheet and find the Host column (the one containing the domains).

  2. Clean the data: Copy the Host column into a new blank column (say column A).

    • Note: You must remove the https:// prefix from the cells and keep only the bare domain (for example, turn https://www.speedtest.net into www.speedtest.net). You can use Excel’s “Find and Replace” feature to remove https:// in bulk.
  3. Build the link formula: In the first cell of column B (or another blank column), enter the following formula:

    ⚠️ Note: In the formula, A1 is the cell where you store the bare domain; adjust it to match your actual layout.

    =CONCAT("trojan://bpb-trojan@",A1,":443?security=tls&sni=",A1,"&alpn=h3&fp=randomized&allowlnsecure=1&type=ws&host=",A1,"&path=%2Ftr%3Fed%3D2560#BPB")
  4. Generate in bulk: Select the cell containing the formula and double-click the fill handle in the bottom-right corner (or drag it down); Excel will automatically generate the corresponding Trojan link for every domain in the list. Example output:

    trojan://bpb-trojan@www.speedtest.net:443?security=tls&sni=www.speedtest.net&alpn=h3&fp=randomized&allowlnsecure=1&type=ws&host=www.speedtest.net&path=%2Ftr%3Fed%3D2560#BPB

Step 4: Import into v2rayN

  1. Copy the links: In Excel, select all the Trojan links you just generated and press Ctrl + C to copy them to the clipboard.
  2. Open the client: Launch the v2rayN client.
  3. Add in bulk: Click the “Server” menu at the top of the main window (or right-click in the blank area) and choose “Import bulk URLs from clipboard”.
  4. You’ll then see hundreds of nodes appear in your server list at once.

Step 5: Batch Speed Test and Filtering

There may be many nodes, but their quality varies. We need to pick the ones with the fastest connections and lowest latency.

  1. Select all nodes: In the v2rayN list, press Ctrl + A to select all nodes.
  2. Start the test: Right-click and choose “Test Servers” -> “Test Real Delay (multi-threaded)” (called Test Real Delay in some versions).
  3. Wait for results: The client will concurrently test the connectivity of every node, which may take from tens of seconds to a minute.

Step 6: Pick the Best Nodes

  1. Sort: When the test finishes, click the “Test Result” or “Latency” header at the top of the list to sort nodes by latency from low to high.
  2. Remove invalid nodes: Those showing -1 or timeout can be deleted directly.
  3. Final pick: The ones at the top with latency shown as green numbers (usually between 100 ms and 300 ms) are the Cloudflare optimized nodes that suit your current network.
  4. Right-click that node, set it as the active server, and you’re ready to go.

Comments