For the complete documentation index, see llms.txt. This page is also available as Markdown.

位置設定

為代理 IP 選擇合適的地理位置,對於模擬用戶行為、訪問本地化內容等場景至關重要。

lightbulb-exclamation-on


如何設定位置

您可以通過以下兩種方式指定地區:

  1. 在控制面板中直接選擇。

  2. 通過用戶名參數設定。在用戶名中添加 -region-<國家代碼> 參數,即可指定地區。

示例:

  • 獲取美國 IP:

curl -x host:port -U "username-zone-roam-region-us:password" ipinfo.io
  • 獲取英國 IP:

curl -x host:port -U "username-zone-roam-region-uk:password" ipinfo.io


驗證位置設定

執行測試命令後,檢查 ipinfo.io 返回的 country 字段是否與您選擇的地區代碼一致。

輸出示例:

最后更新于