Due to the strict restrictions of the Anthropic Claude API, it can only be used in specific countries, and even when enabling the API, you have to choose whether it will be accessed outside the selected countries. If so, you also need to choose which country it will be accessed in. If this rule is violated, the account may be directly blocked. So, Claude Proxy allows you to fix a single IP for easy and secure access to the Claude API.
- Use the IP of the country you selected when you activated the API
- Use native IP instead of broadcasting.
- Do not frequently change IP
docker run -d --restart always -p 8080:8080 ghcr.io/missuo/claudeproxy:latest
docker run -d --restart always -p 8080:8080 missuo/claude-proxy:latest
mkdir claude-proxy && cd claude-proxy
wget -O compose.yaml https://raw.githubusercontent.com/missuo/ClaudeProxy/main/compose.yaml
docker compose up -d
Download the latest release from the release page.
chmod +x claude-proxy
./claude-proxy -p 8080