[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-post-agent-sim-proxy-setup-en":3},{"post":4,"faq":33,"faqLdJson":54,"faqLdJsonScript":79,"alternatePaths":80,"recommendations":82,"contentLocale":20},{"authors":5,"custom_excerpt":13,"excerpt":13,"feature_image":14,"featured":15,"id":16,"meta_description":13,"meta_title":17,"og_description":8,"og_image":8,"og_title":8,"primary_author":18,"primary_tag":19,"published_at":22,"reading_time":23,"slug":24,"status":25,"tags":26,"title":17,"twitter_description":8,"twitter_image":8,"twitter_title":31,"updated_at":22,"visibility":21,"lexical":32},[6],{"bio":7,"facebook":8,"instagram":8,"linkedin":8,"location":9,"name":10,"profile_image":11,"slug":12,"tiktok":8,"twitter":8,"website":8,"youtube":8},"At Rola IP, Marcus Bennett writes about proxy use in data collection and automation, covering Scrapy, Playwright, Puppeteer, and HTTP clients, with a focus on reducing blocks and improving workflow stability.",null,"Marcus Bennett在Rola IP负责代理IP在数据采集与自动化访问场景中的应用内容，重点撰写Scrapy、Playwright、Puppeteer及HTTP客户端的代理接入、封禁规避和稳定性优化。","Marcus Bennett","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F07\u002FPixPin_2026-07-21_14-44-14.png","marcus","Configure IPv4 TCP proxy routing for Agent-Sim on Linux, verify simulator exit IPs, and manage device isolation and website versus LLM rate limits.","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F12\u002FAgent-Sim-Proxy-Setup-1.webp",false,"6b0e973a92ab700001dc0c73","Agent-Sim Proxy Setup on Linux: Routing and Exit-IP Checks",{"bio":7,"facebook":8,"instagram":8,"linkedin":8,"location":9,"name":10,"profile_image":11,"slug":12,"tiktok":8,"twitter":8,"website":8,"youtube":8},{"description":8,"feature_image":8,"name":20,"slug":20,"visibility":21},"en","public","2026-12-01T09:54:13.000Z",11,"agent-sim-proxy-setup","published",[27,28],{"description":8,"feature_image":8,"name":20,"slug":20,"visibility":21},{"description":8,"feature_image":8,"name":29,"slug":30,"visibility":21},"教程","guides","Agent-Sim Proxy Setup","{\"root\":{\"children\":[{\"type\":\"markdown\",\"version\":1,\"markdown\":\"> **Key takeaways:** Configure Agent-Sim proxy routing with a Rola static residential endpoint, redsocks, and Linux firewall rules. Assign each independently routed simulator environment its own endpoint, then confirm the exit IP inside the simulator and target app. Manage website request rates and LLM token budgets separately so each workload stays within its service limits.\\n\\n\u003Ca href=\\\"https:\u002F\u002Fgithub.com\u002FDeveloping-Gamer\u002Fagent-sim\\\" target=\\\"_blank\\\" rel=\\\"nofollow\\\">Agent-Sim\u003C\u002Fa> provides a CLI and MCP server for controlling iOS simulators on x86-64 Linux through x86Sim. Agents can open apps, read screens, tap controls, and manage pools of phones.\\n\\nUse a Rola [static residential proxy](https:\u002F\u002Frola-ip.co\u002Fstatic-residential-ip\u002F) when your Agent-Sim workflow needs a consistent public exit across repeated app checks or long-running signed-in sessions. Assigning a fixed exit to each simulator environment keeps IP rotation out of session troubleshooting and makes regional tests easier to repeat.\\n\\nStart with an Agent-Sim installation that has completed setup and can boot a simulator, sudo access on an Ubuntu host using systemd, and a working SOCKS5 endpoint. Run the simulator workload under a dedicated, non-root Linux account.\\n\\nRedsocks connects to the upstream proxy, while Linux firewall rules select the simulator traffic to route through it.\\n\\n## Choose the Correct Network Layer\\n\\nThe proxy must handle the connections made by the application you want to route.\\n\\n| Layer | Scope | Limitation |\\n| --- | --- | --- |\\n| Host environment variables | Programs that honor `HTTP_PROXY` or `HTTPS_PROXY` | Setting them does not establish the route used by simulated iOS applications |\\n| iOS system HTTP proxy | Clients that follow the runtime's system proxy settings | Requires an available configuration interface and app support; not a native SOCKS5 setting |\\n| Linux TCP forwarding | Connections selected by network rules | Requires the correct network path; DNS, UDP, QUIC, and IPv6 need separate consideration |\\n\\n**The Linux recipe below applies to IPv4 TCP connections originating locally under a dedicated Linux user.** These connections pass through the host's `OUTPUT` chain. Traffic forwarded from a bridged container or another network namespace needs configuration at its own egress point instead.\\n\\n## Get a Rola Static Residential Endpoint\\n\\nOpen **Static Residential IP → Proxy list** in your Rola dashboard. Select SOCKS5 for the forwarding recipe below and obtain the endpoint details:\\n\\n![Rola Static Residential IP dashboard showing Proxy list and the SOCKS5 protocol option](https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F12\u002Frola-static-residential-proxy-dashboard.webp)\\n\\n*Open Static Residential IP, select Proxy list, and choose socks5 for the endpoint.*\\n\\n```text\\nGateway:Port:Username:Password\\n```\\n\\nRecord the gateway, port, credentials, assigned location, and expiry. The gateway is the address your client connects to; the public exit seen by a destination may be different.\\n\\nCopy the value under **Gateway:Port:Username:Password** for the selected row. Keep the four fields separate when entering them in the commands and configuration below.\\n\\n![Rola proxy connection details column and copy icon, with the endpoint and credentials hidden](https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F12\u002Fagent-sim-02-rola-connection-details.webp)\\n\\n*Copy the selected endpoint's connection string from the Proxy list.*\\n\\n### Which authentication method should you use?\\n\\nUse the username and password supplied with this static endpoint. Our [API whitelist workflow](https:\u002F\u002Fdoc.rola-ip.co\u002Fguide\u002Fproxy-networks\u002Fwhitelist.html) provides password-free access for Rotating Residential, Rotating Datacenter, and Mobile IP: allowlist the connecting server's public IP, extract IP:port endpoints through the API, and connect using those endpoints. Keep username\u002Fpassword authentication for the static endpoint in this guide.\\n\\n### Check endpoint connectivity\\n\\nFor basic [residential proxy setup](https:\u002F\u002Frola-ip.co\u002Fblog\u002Fhow-to-set-up-a-residential-proxy\u002F), confirm the endpoint address, port, and authentication before configuring simulator routing. Replace the placeholders and run:\\n\\n```bash\\ncurl --silent --show-error --fail \\\\\\n  --connect-timeout 10 --max-time 30 \\\\\\n  --proxy socks5h:\u002F\u002FPROXY_HOST:PROXY_PORT \\\\\\n  --proxy-user 'PROXY_USERNAME' \\\\\\n  https:\u002F\u002Fapi.ipify.org\\n```\\n\\nCurl prompts for the password when only a username is supplied. Here, `socks5h` asks the proxy to resolve the destination hostname. Record the returned address for comparison with the simulator's exit.\\n\\nFor an HTTP endpoint, the equivalent request is:\\n\\n```bash\\ncurl --silent --show-error --fail \\\\\\n  --connect-timeout 10 --max-time 30 \\\\\\n  --proxy http:\u002F\u002FPROXY_HOST:PROXY_PORT \\\\\\n  --proxy-user 'PROXY_USERNAME' \\\\\\n  https:\u002F\u002Fapi.ipify.org\\n```\\n\\nWhen curl completes successfully and returns an IP address, save it for the simulator check. Resolve any endpoint errors using the troubleshooting table below before adding firewall rules.\\n\\n## Configure Linux TCP Forwarding\\n\\nUse a dedicated Linux account for the simulator workload. The rule below selects that account's outbound TCP connections, so unrelated applications should run under other accounts.\\n\\nFirst identify the user that actually owns the simulator's network sockets. A launcher account is not necessarily the socket owner when a service makes connections on its behalf. Inspect active sockets and processes with:\\n\\n```bash\\nsudo ss -ntp\\n# Replace PID with the process ID shown for the relevant connection.\\nps -o user=,uid=,pid=,args= -p PID\\n```\\n\\nThe \u003Ca href=\\\"https:\u002F\u002Fman7.org\u002Flinux\u002Fman-pages\u002Fman8\u002Fiptables-extensions.8.html\\\" target=\\\"_blank\\\" rel=\\\"nofollow\\\">iptables owner match\u003C\u002Fa> selects locally generated traffic by socket owner. Use the account observed above as `SIM_USER`. If a container or separate network namespace owns the connections, configure routing at that environment's egress instead of attaching this rule to the host's OUTPUT chain.\\n\\n### Step 1: Install redsocks\\n\\nOn Ubuntu:\\n\\n```bash\\nsudo apt update\\nsudo apt install redsocks iptables curl\\n```\\n\\n\u003Ca href=\\\"https:\u002F\u002Fgithub.com\u002Fdarkk\u002Fredsocks\u002Fblob\u002Fmaster\u002FREADME.md\\\" target=\\\"_blank\\\" rel=\\\"nofollow\\\">Redsocks\u003C\u002Fa> receives redirected TCP connections and opens connections through an upstream proxy. It runs separately from Agent-Sim.\\n\\n### Step 2: Configure the upstream endpoint\\n\\nPreserve the existing configuration if this machine already uses redsocks. On a dedicated deployment, edit:\\n\\n```bash\\nsudoedit \u002Fetc\u002Fredsocks.conf\\n```\\n\\nUse this configuration with your own endpoint values. The gateway must be a numeric IPv4 address; resolve a hostname with `getent ahostsv4 PROXY_HOST` if needed.\\n\\n```text\\nbase {\\n    log_debug = off;\\n    log_info = on;\\n    log = \\\"syslog:daemon\\\";\\n    daemon = on;\\n    redirector = iptables;\\n}\\n\\nredsocks {\\n    local_ip = 127.0.0.1;\\n    local_port = 12345;\\n    ip = PROXY_GATEWAY_IPV4;\\n    port = PROXY_PORT;\\n    type = socks5;\\n    login = \\\"PROXY_USERNAME\\\";\\n    password = \\\"PROXY_PASSWORD\\\";\\n}\\n```\\n\\nGateway and port values are unquoted; credentials are quoted strings. Escape embedded quote and backslash characters according to your installed redsocks configuration syntax. Keep the login and password entries for the static endpoint used here.\\n\\n![Redsocks configuration showing the local listener, SOCKS5 proxy type, and masked upstream connection fields](https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F12\u002Fagent-sim-03-redsocks-field-mapping.webp)\\n\\n*Configure the local listener and SOCKS5 upstream in \u002Fetc\u002Fredsocks.conf.*\\n\\nKeep the file readable only by root and, if required, the service account. On an installation where the service reads the configuration as root:\\n\\n```bash\\nsudo chmod 600 \u002Fetc\u002Fredsocks.conf\\nsudo redsocks -t -c \u002Fetc\u002Fredsocks.conf && sudo systemctl restart redsocks\\nsudo systemctl status redsocks --no-pager\\nsudo ss -lntp 'sport = :12345'\\n```\\n\\nContinue only after the configuration check succeeds, the service is active, and `ss` shows a listener on `127.0.0.1:12345`. If the service cannot read its configuration, set file ownership and permissions for its actual service account while keeping credentials private. Keep the listener bound to loopback.\\n\\n### Step 3: Route the selected user's TCP connections\\n\\nSave the following as `agent-sim-route.sh`. Replace the username with the socket-owning account and the gateway with the same numeric IPv4 address used in redsocks.\\n\\nThe script checks the user, gateway, listener, and chain name before creating rules. If setup fails, it removes the chain it created. An existing `AGENT_SIM_TCP` chain causes it to stop without changing that chain.\\n\\n```bash\\n#!\u002Fusr\u002Fbin\u002Fenv bash\\nset -Eeuo pipefail\\n\\nSIM_USER='YOUR_SIMULATOR_LINUX_USER'\\nPROXY_IPV4='YOUR_PROXY_GATEWAY_IPV4'\\nCHAIN='AGENT_SIM_TCP'\\n\\nif (( EUID != 0 )); then\\n  echo 'Run this script with sudo.' >&2\\n  exit 1\\nfi\\nSIM_UID=$(id -u \\\"$SIM_USER\\\")\\nif (( SIM_UID == 0 )); then\\n  echo 'Select a dedicated non-root simulator account.' >&2\\n  exit 1\\nfi\\nif [[ ! \\\"$PROXY_IPV4\\\" =~ ^([0-9]{1,3}\\\\.){3}[0-9]{1,3}$ ]]; then\\n  echo 'Enter a numeric IPv4 gateway address.' >&2\\n  exit 1\\nfi\\nIFS=. read -r -a octets \u003C\u003C\u003C \\\"$PROXY_IPV4\\\"\\nfor octet in \\\"${octets[@]}\\\"; do\\n  if (( 10#$octet > 255 )); then\\n    echo 'Invalid IPv4 gateway address.' >&2\\n    exit 1\\n  fi\\ndone\\nlistener=$(ss -H -lnt 'sport = :12345')\\nif [[ \\\"$listener\\\" != *'127.0.0.1:12345'* ]]; then\\n  echo 'Start the redsocks listener on 127.0.0.1:12345 first.' >&2\\n  exit 1\\nfi\\niptables -w -t nat -S >\u002Fdev\u002Fnull\\nif iptables -w -t nat -S \\\"$CHAIN\\\" >\u002Fdev\u002Fnull 2>&1; then\\n  echo \\\"$CHAIN already exists; inspect the previous setup first.\\\" >&2\\n  exit 1\\nfi\\n\\ncreated=0\\ncleanup() {\\n  status=$?\\n  trap - EXIT\\n  if (( status != 0 && created == 1 )); then\\n    iptables -w -t nat -D OUTPUT -p tcp \\\\\\n      -m owner --uid-owner \\\"$SIM_UID\\\" -j \\\"$CHAIN\\\" 2>\u002Fdev\u002Fnull || true\\n    iptables -w -t nat -F \\\"$CHAIN\\\" || true\\n    iptables -w -t nat -X \\\"$CHAIN\\\" || true\\n  fi\\n  exit \\\"$status\\\"\\n}\\ntrap cleanup EXIT\\n\\niptables -w -t nat -N \\\"$CHAIN\\\"\\ncreated=1\\niptables -w -t nat -A \\\"$CHAIN\\\" -d \\\"$PROXY_IPV4\u002F32\\\" -j RETURN\\nfor cidr in \\\\\\n  0.0.0.0\u002F8 10.0.0.0\u002F8 100.64.0.0\u002F10 127.0.0.0\u002F8 \\\\\\n  169.254.0.0\u002F16 172.16.0.0\u002F12 192.168.0.0\u002F16 \\\\\\n  224.0.0.0\u002F4 240.0.0.0\u002F4\\ndo\\n  iptables -w -t nat -A \\\"$CHAIN\\\" -d \\\"$cidr\\\" -j RETURN\\ndone\\niptables -w -t nat -A \\\"$CHAIN\\\" \\\\\\n  -p tcp -j REDIRECT --to-ports 12345\\niptables -w -t nat -A OUTPUT \\\\\\n  -p tcp -m owner --uid-owner \\\"$SIM_UID\\\" -j \\\"$CHAIN\\\"\\necho 'Rules installed. Check the simulator exit IP next.'\\n```\\n\\nRun it from the directory where you saved it:\\n\\n```bash\\nsudo bash .\u002Fagent-sim-route.sh\\n```\\n\\nThe gateway exclusion prevents upstream connections from looping back into redsocks. Local and private-network exclusions preserve common internal connections. Add any other management destinations before the final redirect rule. These rules select **all matching TCP traffic under that user**, so run the model API controller under another account if only simulator traffic should be proxied.\\n\\nThe rules are temporary and do not survive a reboot. If another firewall manager controls this host, integrate them with that manager before using them as a persistent configuration.\\n\\n### Step 4: Account for protocol boundaries\\n\\nThis is IPv4 TCP forwarding, not full-device tunneling. UDP DNS queries may still use the host resolver; QUIC uses UDP; IPv6 is outside the IPv4 rules. Private and excluded destinations also bypass the proxy.\\n\\nFor applications that require UDP or IPv6, configure those routes separately before running the workload.\\n\\n### Step 5: Keep a rollback command\\n\\nStop the simulator workload first. Replace the username and run this block to remove the OUTPUT jump before deleting the chain:\\n\\n```bash\\n(\\n  set -eu\\n  SIM_USER='YOUR_SIMULATOR_LINUX_USER'\\n  SIM_UID=$(id -u \\\"$SIM_USER\\\")\\n  sudo iptables -w -t nat -D OUTPUT \\\\\\n    -p tcp -m owner --uid-owner \\\"$SIM_UID\\\" -j AGENT_SIM_TCP\\n  sudo iptables -w -t nat -F AGENT_SIM_TCP\\n  sudo iptables -w -t nat -X AGENT_SIM_TCP\\n)\\n```\\n\\nIf the first command fails, inspect the existing rules before continuing. These commands remove this routing configuration; do not flush the entire firewall.\\n\\n## Check the Exit Inside the Simulator\\n\\nIn a shell logged in as the dedicated simulator account, open a fresh connection after installing the rules:\\n\\n```bash\\nagent-sim up\\nagent-sim open https:\u002F\u002Fapi.ipify.org\\nagent-sim snapshot\\n```\\n\\nRead the address displayed inside the simulator and compare it with the SOCKS5 request from Section 2. The addresses should match. If they differ, check the socket owner and routing counters below. Then open:\\n\\n```bash\\nagent-sim open https:\u002F\u002Fipinfo.io\\n```\\n\\nUse ipinfo.io alongside your Rola dashboard's assigned region to verify the simulator's exit IP and target geolocation. Compare the exit address with the SOCKS5 result from Section 2; if the reported location differs from your target, compare another IP lookup service before changing the endpoint.\\n\\nIf the exit is unchanged, inspect the routing counters:\\n\\n```bash\\nsudo iptables -t nat -L AGENT_SIM_TCP -n -v\\n```\\n\\nNAT counters primarily reflect new connections. Open a fresh connection before interpreting them. No matching traffic may indicate another socket owner, a forwarded network path, an earlier firewall rule, or a protocol outside this recipe.\\n\\nComplete the check in the application you plan to automate. For an app you control, use server-side request logs or an in-app diagnostic endpoint to confirm its public source address.\\n\\n## Network Isolation for Multiple Simulators\\n\\nFor a straightforward two-device setup, use two Linux hosts or VMs. Configure Rola endpoint A in environment A and endpoint B in environment B, following Sections 2–4 on each. Check that each simulator displays its assigned exit and that the two exits differ.\\n\\n| Device | Routing boundary | Upstream configuration | Check |\\n| --- | --- | --- | --- |\\n| Device A | Linux host or VM A | Rola endpoint A | Compare its displayed IP with endpoint A's curl result |\\n| Device B | Linux host or VM B | Rola endpoint B | Compare its displayed IP with endpoint B's curl result |\\n\\nFor per-user routing on one host, give each simulator a separate socket-owning Linux user and a separate upstream endpoint. Independent hosts or network namespaces provide alternative routing boundaries.\\n\\nOn a single host, Agent-Sim's pool commands manage device availability. They do not assign proxy endpoints. Hold the device while checking its exit, then release it:\\n\\n```bash\\nagent-sim pool up 3\\nphone=$(agent-sim pool take) || exit 1\\nif [ -z \\\"$phone\\\" ]; then\\n  echo 'No device was returned.' >&2\\n  exit 1\\nfi\\nagent-sim --device \\\"$phone\\\" open https:\u002F\u002Fapi.ipify.org\\nagent-sim --device \\\"$phone\\\" snapshot\\n# Record the displayed address before releasing the device.\\nagent-sim pool release \\\"$phone\\\"\\n```\\n\\nMultiple phones selected by one owner-based rule share its upstream endpoint. When a shared service owns every phone's connections, use independent hosts or VMs to separate their exits.\\n\\n`agent-sim pool release` restarts the simulator instance in the background, so recheck the exit IP after acquiring a recycled device.\\n\\n## Separate Website Limits from LLM API Limits\\n\\nResidential proxies change the public source address when traffic follows that route. They do not increase a model provider's quota.\\n\\n| Symptom | Possible cause | Response |\\n| --- | --- | --- |\\n| Website returns 429 | IP, account, session, endpoint, or service-wide limit | Read the response, honor Retry-After, reduce concurrency, and identify the limit's scope |\\n| Website returns 403 | Authentication, permissions, regional policy, or anti-abuse controls | Resolve the specific access issue rather than assuming a different IP will fix it |\\n| HTTP proxy returns 407 | Proxy authentication failed | Check the supplied credentials and endpoint access method; repeat the endpoint check |\\n| SOCKS5 authentication fails | Credentials or access method do not match | Correct the SOCKS5 credentials; this need not appear as HTTP 407 |\\n| Gateway hostname cannot be resolved | DNS failure or incorrect hostname | Correct the gateway name or restore host DNS before configuring routing |\\n| Connection is refused or times out | Wrong port, unreachable endpoint, or firewall restriction | Check the gateway and port, then repeat the timed curl request |\\n| LLM API reports RPM\u002FTPM limits | Shared request or token allowance | Queue requests and manage total concurrency and token usage |\\n| Host proxy request works but simulator exit is unchanged | Traffic misses the configured route | Inspect socket ownership, namespaces, firewall counters, and protocol |\\n| Multiple phones share an exit | Shared routing or upstream assignment | Review the endpoint mapping and network boundaries |\\n\\nUse bounded exponential backoff with jitter when implementing retries. Honor `Retry-After` when the service supplies it, and stop after a defined retry limit. Manage account-level and service-wide limits across the whole simulator pool.\\n\\nFor LLM usage, budget across the whole pool. Agent-Sim actions return the resulting screen, so use that response before requesting another snapshot. Reduce duplicate screenshots and redundant accessibility-tree text while preserving the information the agent needs.\\n\\nSet pacing from the provider's rate-limit response and the pool's combined request and token usage.\\n\\n## FAQ\\n\\n### How do I configure the proxy used by Agent-Sim?\\n\\nConfigure the upstream endpoint in redsocks and select the simulator's outbound traffic with iptables. This setup controls routing at the Linux network layer, so the proxy settings belong in redsocks rather than the Agent-Sim launch command.\\n\\n### Why does a proxied curl request work while the simulator keeps its original IP?\\n\\nA successful curl request confirms curl's proxy route; the simulator uses the route of its socket-owning process. Set `SIM_USER` to that process's Linux account, then repeat the exit check inside the app.\\n\\n### Can I use SOCKS5 with Agent-Sim?\\n\\nYes. Redsocks forwards the selected simulator connections through the SOCKS5 endpoint configured in its upstream settings. Enter the endpoint in redsocks, then use the firewall rule to select the simulator traffic.\\n\\n### Can Rola's whitelist avoid proxy password prompts?\\n\\nYes. Our API whitelist workflow authenticates the connecting server by its public IP for Rotating Residential, Rotating Datacenter, and Mobile IP. For the static endpoint used here, enter the supplied username and password in redsocks.\\n\\n### Does one redsocks instance give each phone a different IP?\\n\\nNo. The single-upstream redsocks configuration in this guide forwards all matched traffic to one proxy endpoint. Give each independently routed simulator environment its own endpoint to obtain separate exits.\\n\\n### Will residential proxies remove LLM rate limits?\\n\\nNo. LLM providers enforce request and token quotas independently of the simulator's public IP. Queue model calls and budget tokens across the whole pool.\\n\\nStart your Agent-Sim setup in the [Rola IP console](https:\u002F\u002Fconsole.rola-ip.co\u002Flogin): choose **Static Residential IP**, select your target region, and copy the endpoint into redsocks. Confirm the exit on one simulator, then add a separate endpoint and routing environment for each additional device that needs its own IP.\\n\"},{\"children\":[],\"direction\":null,\"format\":\"\",\"indent\":0,\"type\":\"paragraph\",\"version\":1}],\"direction\":null,\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}",{"items":34,"inline":53},[35,38,41,44,47,50],{"title":36,"desc":37},"How do I configure the proxy used by Agent-Sim?","\u003Cp>Configure the upstream endpoint in redsocks and select the simulator’s outbound traffic with iptables. This setup controls routing at the Linux network layer, so the proxy settings belong in redsocks rather than the Agent-Sim launch command.\u003C\u002Fp>",{"title":39,"desc":40},"Why does a proxied curl request work while the simulator keeps its original IP?","\u003Cp>A successful curl request confirms curl’s proxy route; the simulator uses the route of its socket-owning process. Set \u003Ccode>SIM_USER\u003C\u002Fcode> to that process’s Linux account, then repeat the exit check inside the app.\u003C\u002Fp>",{"title":42,"desc":43},"Can I use SOCKS5 with Agent-Sim?","\u003Cp>Yes. Redsocks forwards the selected simulator connections through the SOCKS5 endpoint configured in its upstream settings. Enter the endpoint in redsocks, then use the firewall rule to select the simulator traffic.\u003C\u002Fp>",{"title":45,"desc":46},"Can Rola’s whitelist avoid proxy password prompts?","\u003Cp>Yes. Our API whitelist workflow authenticates the connecting server by its public IP for Rotating Residential, Rotating Datacenter, and Mobile IP. For the static endpoint used here, enter the supplied username and password in redsocks.\u003C\u002Fp>",{"title":48,"desc":49},"Does one redsocks instance give each phone a different IP?","\u003Cp>No. The single-upstream redsocks configuration in this guide forwards all matched traffic to one proxy endpoint. Give each independently routed simulator environment its own endpoint to obtain separate exits.\u003C\u002Fp>",{"title":51,"desc":52},"Will residential proxies remove LLM rate limits?","\u003Cp>No. LLM providers enforce request and token quotas independently of the simulator’s public IP. Queue model calls and budget tokens across the whole pool.\u003C\u002Fp>\n\u003Cp>Start your Agent-Sim setup in the \u003Ca href=\"https:\u002F\u002Fconsole.rola-ip.co\u002Flogin\">Rola IP console\u003C\u002Fa>: choose \u003Cstrong>Static Residential IP\u003C\u002Fstrong>, select your target region, and copy the endpoint into redsocks. Confirm the exit on one simulator, then add a separate endpoint and routing environment for each additional device that needs its own IP.\u003C\u002Fp>",true,{"@context":55,"@type":56,"@id":57,"mainEntity":58},"https:\u002F\u002Fschema.org","FAQPage","https:\u002F\u002Frola-ip.co\u002Fblog\u002Fagent-sim-proxy-setup\u002F#faq",[59,64,67,70,73,76],{"@type":60,"name":36,"acceptedAnswer":61},"Question",{"@type":62,"text":63},"Answer","Configure the upstream endpoint in redsocks and select the simulator’s outbound traffic with iptables. This setup controls routing at the Linux network layer, so the proxy settings belong in redsocks rather than the Agent-Sim launch command.",{"@type":60,"name":39,"acceptedAnswer":65},{"@type":62,"text":66},"A successful curl request confirms curl’s proxy route; the simulator uses the route of its socket-owning process. Set SIM_USER to that process’s Linux account, then repeat the exit check inside the app.",{"@type":60,"name":42,"acceptedAnswer":68},{"@type":62,"text":69},"Yes. Redsocks forwards the selected simulator connections through the SOCKS5 endpoint configured in its upstream settings. Enter the endpoint in redsocks, then use the firewall rule to select the simulator traffic.",{"@type":60,"name":45,"acceptedAnswer":71},{"@type":62,"text":72},"Yes. Our API whitelist workflow authenticates the connecting server by its public IP for Rotating Residential, Rotating Datacenter, and Mobile IP. For the static endpoint used here, enter the supplied username and password in redsocks.",{"@type":60,"name":48,"acceptedAnswer":74},{"@type":62,"text":75},"No. The single-upstream redsocks configuration in this guide forwards all matched traffic to one proxy endpoint. Give each independently routed simulator environment its own endpoint to obtain separate exits.",{"@type":60,"name":51,"acceptedAnswer":77},{"@type":62,"text":78},"No. LLM providers enforce request and token quotas independently of the simulator’s public IP. Queue model calls and budget tokens across the whole pool. Start your Agent-Sim setup in the Rola IP console: choose Static Residential IP, select your target region, and copy the endpoint into redsocks. Confirm the exit on one simulator, then add a separate endpoint and routing environment for each additional device that needs its own IP.","{\"@context\":\"https:\u002F\u002Fschema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\u002F\u002Frola-ip.co\u002Fblog\u002Fagent-sim-proxy-setup\u002F#faq\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"How do I configure the proxy used by Agent-Sim?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Configure the upstream endpoint in redsocks and select the simulator’s outbound traffic with iptables. This setup controls routing at the Linux network layer, so the proxy settings belong in redsocks rather than the Agent-Sim launch command.\"}},{\"@type\":\"Question\",\"name\":\"Why does a proxied curl request work while the simulator keeps its original IP?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"A successful curl request confirms curl’s proxy route; the simulator uses the route of its socket-owning process. Set SIM_USER to that process’s Linux account, then repeat the exit check inside the app.\"}},{\"@type\":\"Question\",\"name\":\"Can I use SOCKS5 with Agent-Sim?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. Redsocks forwards the selected simulator connections through the SOCKS5 endpoint configured in its upstream settings. Enter the endpoint in redsocks, then use the firewall rule to select the simulator traffic.\"}},{\"@type\":\"Question\",\"name\":\"Can Rola’s whitelist avoid proxy password prompts?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. Our API whitelist workflow authenticates the connecting server by its public IP for Rotating Residential, Rotating Datacenter, and Mobile IP. For the static endpoint used here, enter the supplied username and password in redsocks.\"}},{\"@type\":\"Question\",\"name\":\"Does one redsocks instance give each phone a different IP?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. The single-upstream redsocks configuration in this guide forwards all matched traffic to one proxy endpoint. Give each independently routed simulator environment its own endpoint to obtain separate exits.\"}},{\"@type\":\"Question\",\"name\":\"Will residential proxies remove LLM rate limits?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. LLM providers enforce request and token quotas independently of the simulator’s public IP. Queue model calls and budget tokens across the whole pool. Start your Agent-Sim setup in the Rola IP console: choose Static Residential IP, select your target region, and copy the endpoint into redsocks. Confirm the exit on one simulator, then add a separate endpoint and routing environment for each additional device that needs its own IP.\"}}]}",[81],"\u002Fblog\u002Fagent-sim-proxy-setup\u002F",{"prev":8,"next":83,"related":96,"popular":130,"latest":194},{"id":84,"title":85,"slug":86,"feature_image":87,"published_at":88,"twitter_title":89,"primary_tag":90,"tags":91},"6b0e31bf92ab700001dc0ae6","Proxyium Review: Is It Safe? Pros, Cons and Alternatives","proxyium-review","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F12\u002FProxyium-Review.webp","2026-12-01T02:56:52.000Z","Proxyium proxy",{"name":20,"slug":20},[92,93],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},"对比选型","comparisons",[97,108,119],{"id":98,"title":99,"slug":100,"feature_image":101,"published_at":102,"twitter_title":103,"primary_tag":104,"tags":105},"6b0d3e4b92ab700001dc0a73","Scrape Indeed Jobs with Python: Extract Job Fields and Export to CSV","scrape-indeed-jobs","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002FScrape-Indeed-Jobs.webp","2026-11-30T09:37:05.000Z","indeed job scraper",{"name":20,"slug":20},[106,107],{"name":20,"slug":20,"visibility":21},{"name":29,"slug":30,"visibility":21},{"id":109,"title":110,"slug":111,"feature_image":112,"published_at":113,"twitter_title":114,"primary_tag":115,"tags":116},"6b0d2bcb92ab700001dc0a12","Node.js HTTP Proxy Tutorial: Send HTTPS Requests with Rola IP and Verify the Exit IP","node-js-http-proxy","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002FNode.js-HTTP-Proxy-Tutorial_-Send-HTTPS-Requests-with-Rola-IP-and-Verify-the-Exit-IP.webp","2026-11-30T07:58:57.000Z","node js http proxy",{"name":20,"slug":20},[117,118],{"name":20,"slug":20,"visibility":21},{"name":29,"slug":30,"visibility":21},{"id":120,"title":121,"slug":122,"feature_image":123,"published_at":124,"twitter_title":125,"primary_tag":126,"tags":127},"6b09485d92ab700001dc0953","How to Set Up Chrome DevTools MCP for Multi-Region Geo-Testing with Residential Proxies","chrome-devtools-mcp-proxy-setup","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002Fchrome-devtools-mcp-proxy-setup.webp","2026-11-27T09:22:44.000Z","chrome-devtools-mcp proxy setup",{"name":20,"slug":20},[128,129],{"name":20,"slug":20,"visibility":21},{"name":29,"slug":30,"visibility":21},[131,144,156,168,180],{"id":132,"title":133,"slug":134,"feature_image":135,"published_at":136,"twitter_title":137,"primary_tag":138,"tags":139},"6aa1292f4956c90001bef44e","ProxySite.com Review (2026): Is It Safe? 5 Best Alternatives","proxysite-review-alternatives","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F09\u002FProxySite-Review-and--Alternatives-article-cover-image.webp","2026-09-09T10:16:50.000Z","proxysite",{"name":20,"slug":20},[140,141,142],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},{"name":143,"slug":143,"visibility":21},"hot",{"id":145,"title":146,"slug":147,"feature_image":148,"published_at":149,"twitter_title":150,"primary_tag":151,"tags":152},"6a978f9a4956c90001bee8bb","BlockAway Alternatives: 6 Best Options (2026)","blockaway-alternatives","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F09\u002FBlockAway-Alternatives-article-cover-image.webp","2026-09-02T03:14:08.000Z","blockaway alternative",{"name":20,"slug":20},[153,154,155],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},{"name":143,"slug":143,"visibility":21},{"id":157,"title":158,"slug":159,"feature_image":160,"published_at":161,"twitter_title":162,"primary_tag":163,"tags":164},"6a912ce84956c90001bee35d","HTTPX vs Requests vs aiohttp: Features, Performance, and Python Use Cases","httpx-vs-requests-vs-aiohttp","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F08\u002FHTTPX-vs-Requests-vs-aiohttp-article-cover-image.webp","2026-08-28T07:27:34.000Z","httpx vs requests",{"name":20,"slug":20},[165,166,167],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},{"name":143,"slug":143,"visibility":21},{"id":169,"title":170,"slug":171,"feature_image":172,"published_at":173,"twitter_title":174,"primary_tag":175,"tags":176},"6a90fcea4956c90001bee256","8 Best Germany Proxies in 2026: Provider Comparison","best-germany-proxies","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F08\u002FBest-Germany-Proxies-article-cover-image.webp","2026-08-28T03:40:55.000Z","germany proxy",{"name":20,"slug":20},[177,178,179],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},{"name":143,"slug":143,"visibility":21},{"id":181,"title":182,"slug":183,"feature_image":184,"published_at":185,"twitter_title":186,"primary_tag":187,"tags":188},"6a8e92664956c90001beddc2","Bing Rank Tracker: Reliable Local SERP Monitoring Guide","bing-rank-tracker","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F08\u002F-------16.webp","2026-08-26T07:42:04.000Z","bing rank checker",{"name":20,"slug":20},[189,190,193],{"name":20,"slug":20,"visibility":21},{"name":191,"slug":192,"visibility":21},"应用场景","use-cases",{"name":143,"slug":143,"visibility":21},[195,200,213,224,235],{"id":84,"title":85,"slug":86,"feature_image":87,"published_at":88,"twitter_title":89,"primary_tag":196,"tags":197},{"name":20,"slug":20},[198,199],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21},{"id":201,"title":202,"slug":203,"feature_image":204,"published_at":205,"twitter_title":206,"primary_tag":207,"tags":208},"6b0946f492ab700001dc0920","Best Rotating Proxies in 2026 7 Rotating Proxy Providers Compared","best-rotating-proxies","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002FBest-Rotating-Proxies-in-2026-7-Rotating-Proxy-Providers-Compared.webp","2026-11-27T09:07:09.000Z","best rotating proxies",{"name":20,"slug":20},[209,210],{"name":20,"slug":20,"visibility":21},{"name":211,"slug":212,"visibility":21},"排行榜","top-picks",{"id":214,"title":215,"slug":216,"feature_image":217,"published_at":218,"twitter_title":219,"primary_tag":220,"tags":221},"6b07a50492ab700001dc0603","How to Configure an NGINX Docker Reverse Proxy with Rola IP Egress","nginx-docker-reverse-proxy","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002FHow-to-Configure-an-NGINX-Docker-Reverse-Proxy-with-Rola-IP-Egress-1.webp","2026-11-26T03:21:51.000Z","nginx docker reverse proxy",{"name":20,"slug":20},[222,223],{"name":20,"slug":20,"visibility":21},{"name":29,"slug":30,"visibility":21},{"id":225,"title":226,"slug":227,"feature_image":228,"published_at":229,"twitter_title":230,"primary_tag":231,"tags":232},"6b079b8692ab700001dc05ce","Android Proxy Settings for Mobile Network: The No-Root Guide (2026)","android-proxy-settings-mobile-network","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002FAndroid-Proxy-Settings-for-Mobile-Network_-The-No-Root-Guide--2026-.webp","2026-11-26T03:10:40.000Z","android proxy settings mobile network",{"name":20,"slug":20},[233,234],{"name":20,"slug":20,"visibility":21},{"name":29,"slug":30,"visibility":21},{"id":236,"title":237,"slug":238,"feature_image":239,"published_at":240,"twitter_title":241,"primary_tag":242,"tags":243},"6b0655a092ab700001dc0440","Rammerhead Proxy: Setup, HTTP Upstreams and Alternatives","rammerhead-alternatives","https:\u002F\u002Frola-ip.co\u002Fstatic\u002Fcontent\u002Fimages\u002F2026\u002F11\u002Frammerhead-alternatives.webp","2026-11-25T03:59:48.000Z","Rammerhead Proxy",{"name":20,"slug":20},[244,245],{"name":20,"slug":20,"visibility":21},{"name":94,"slug":95,"visibility":21}]