Claude Network Setup
A brief note regarding network setup to prevent your Claude account from getting suspended.
Proxy Setup
Rules
Route all Claude domains through your proxy with IP range as fallback. Note that Anthropic owns AS399358, if your proxy supports ASN rules add it along with the following.
# Core domains (DOMAIN-SUFFIX covers all subdomains)
DOMAIN-SUFFIX,anthropic.com,PROXY
DOMAIN-SUFFIX,claude.ai,PROXY
DOMAIN-SUFFIX,claude.com,PROXY
DOMAIN-SUFFIX,clau.de,PROXY
DOMAIN-SUFFIX,claudemcpclient.com,PROXY
DOMAIN-SUFFIX,claudemcpcontent.com,PROXY
DOMAIN-SUFFIX,claudeusercontent.com,PROXY
# CDN and static assets
DOMAIN,servd-anthropic-website.b-cdn.net,PROXY
DOMAIN,anthropic.com.cdn.cloudflare.net,PROXY
# Auth / content
DOMAIN,anthropic.auth0.com,PROXY
DOMAIN,anthropic-com.ghost.io,PROXY
# Monitoring and telemetry
DOMAIN-SUFFIX,sentry.io,PROXY
DOMAIN-SUFFIX,statsigapi.net,PROXY
DOMAIN,browser-intake-us5-datadoghq.com,PROXY
DOMAIN-KEYWORD,datadog,PROXY
DOMAIN-KEYWORD,sift,PROXY
# Support / third-party widgets
DOMAIN-SUFFIX,intercom.io,PROXY
DOMAIN-SUFFIX,intercomcdn.com,PROXY
DOMAIN,cdn.usefathom.com,PROXY
# IP ranges (cover all of AS399358)
IP-CIDR,160.79.104.0/21,PROXY
IP-CIDR6,2607:6bc0::/32,PROXY
Configuration
- DNS: Must be proxied (e.g., configure to be
https://1.1.1.1/dns-query) - Sniffing: Must be enabled. Domain rules only match when the app sends the hostname, a client which looks up the IP by itself will only get caught with sniffing.
- WebRTC: Chrome users should set the
WebRtcIPHandlingpolicy todisable_non_proxied_udp, and Firefox users should setmedia.peerconnection.ice.proxy_onlytotrueinabout:config. This mainly matters when browser is involved (e.g., login)