Anyone Services I
Setting Up Hidden Services on the Anyone Network
Last updated
Was this helpful?
Setting Up Hidden Services on the Anyone Network
Last updated
Was this helpful?
This guide gives an example and explains how to set up hidden services on the Anyone Network. There are several options to run anon. The following tabs explain how to install it as a Debian package using our APT repository or via command line tools using the NPM package. Alternatively see the page called to find Docker instructions. Or read the page where you'll find instructions and links to examples utilizing the Anyone Protocol .
Install the anyone-client
with npm
, edit a custom anonrc
and start the client with npx
.
Backup any existing configuration and create a custom anonrc:
To be able to route traffic through anon, add some configuration to the anonrc
file:
This directory will store hidden service data and keys. Ensure the specified directory has the correct permissions and is writable by anyone-client.
This redirects traffic from the hidden service to the local nginx server on port 80.
Start the anyone-client
with the custom anonrc
:
To get your service address (open a new terminal window and) check the hostname
file located in ./anon/anon_service/
:
This file contains the hidden service address (your .onion
address) for your hidden service.
Install nginx
:
Start and Enable nginx
:
Create an index.html
in /var/www/html
file as a basic test:
Create a new nginx configuration file for your service:
Paste the following configuration and save to route requests to your anon service:
Link the configuration to the sites-enabled
directory:
Reload nginx
to apply the changes:
Test the rechability of the web server locally with curl
:
Test the reachability of the web server's hostname, located in ./anon/anon_service/hostname
, using curl --socks5-hostname
:
For detailed instructions see:
This directory will store hidden service data and keys. Ensure the specified directory has the correct permissions and is writable by the anon service. This redirects traffic from the hidden service to the local nginx server on port 80.
In this example we'll be setting up a local web server with to host some content.