Anyone Proxy
The Anyone Proxy is live on NPM! It allows you to tunnel calls on your command line (Terminal on Mac, CommandPrompt or PowerShell on Windows).
Installation
Installing the @anyone-protocol package (see Install NPM Package) gives you access to the anyone-proxy
command too, from all folders where the package is installed.
Start a Socks5 proxy
In a separate terminal window, run the anon client and ensure it bootstraps to 100%.
npx anyone-client
Running
Typically, you need to prepend npx anyone-proxy
before existing command line calls:
npx anyone-proxy <your command>
macOS note
Note: due to the nature of ProxyChains, which is the underlying library behind the anyone-proxy, command line applications that are pre-installed on macOS (e.g., cURL) will not automatically route through the network. However, manually installing cURL, or using alternatives, will route through. To ensure all applications tunnel traffic through the network, see Connect to Anyone
Additional Arguments
These are additional arguments to configure verbosity on the command line, connection types, and more. These commands can typically be chained.
-q Quiet mode - suppresses ProxyChains connection messages.
npx anyone-proxy -q <your command>
-f <file> Use a specific configuration file instead of the default
npx anyone-proxy -f ./my-proxy.conf <your command>
When -f
is not defined the default proxy configuration is:
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
[ProxyList]
socks5 127.0.0.1 9050
Example on how to use
File download:
npx anyone-proxy -q wget -O example.file https://check.en.anyone.tech/api/ip
To verify the command was processed through the Anyone Network, check the contents of the downloaded file by typing cat example.file
, you should see something like: "IsAnon":true,"IP":"49.224.34.19"}
Coming Soon
Reference examples and tutorials
Further chaining and combinations!
Last updated