Installing Anon
This guide walks you through the process of installing and configuring the Anyone Relay on a Debian based x86 or arm64 Linux systems and support for more distributions will follow in a near future.
Debian and Ubuntu

This guide walks you through the process of installing and configuring the Anyone Relay on a Debian based x86 or arm64 Linux systems and support for more distributions will follow in a near future.

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/anyone-protocol/anon-install/refs/heads/main/install.sh)"==================================================
Congratulations!
Anon configuration completed successfully.
https://docs.anyone.io
==================================================Please read the terms and conditions at https://www.anyone.io/terms
Do you accept the terms and conditions? [yes/no] yes- Enter the desired Nickname and Contact information for your Anon Relay
1/7 Nickname (1-19 characters, only [a-zA-Z0-9] and no spaces): nickname
1/7 Contact Information (leave empty to skip): - Enter a comma-separated list of fingerprints for your relay's family
2/7 MyFamily fingerprints (leave empty to skip): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC- Enter BandwidthRate and BandwidthBurst in Mbit (e.g., 100 for 100 Mbit)
3/7 BandwidthRate (leave empty to skip): 100
3/7 BandwidthBurst (leave empty to skip): 120- Enter ORPort
4/7 ORPort [Default: 9001]: 9004
ORPort set to: 9004- Do you want to enter an Ethereum EVM address for contribution rewards
5/7 (yes/no): yes
5/7 Enter your Ethereum wallet address: 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF- Should the anon.service ControlPort be enabled?
6/7 Enable ControlPort? [Default: no]: yes- Would you like to install UncomplicatedFirewall and allow incoming traffic on:
- ORPort 9004
- SSH port 22
7/7 Configure and enable ufw (yes/no): yes...
Configuring anon
----------------
Please read the terms and conditions at https://www.anyone.io/terms
Do you accept the terms and conditions? [yes/no] yes
...
==================================================
ANON Installation Complete
==================================================
/$$
|__/
/$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$$$$$
|____ $$| $$__ $$| $$ | $$ /$$__ $$| $$__ $$ /$$__ $$ | $$ /$$__ $$
/$$$$$$$| $$ \ $$| $$ | $$| $$ \ $$| $$ \ $$| $$$$$$$$ | $$| $$ \ $$
/$$__ $$| $$ | $$| $$ | $$| $$ | $$| $$ | $$| $$_____/ | $$| $$ | $$
| $$$$$$$| $$ | $$| $$$$$$$| $$$$$$/| $$ | $$| $$$$$$$ /$$| $$| $$$$$$/
\_______/|__/ |__/ \____ $$ \______/ |__/ |__/ \_______/|__/|__/ \______/
/$$ | $$
| $$$$$$/
\______/
==================================================
Start Relay Configuration Wizard
(Or abort and manually edit /etc/anon/anonrc)
==================================================
- Enter the desired Nickname and Contact information for your Anon Relay
1/7 Nickname (1-19 characters, only [a-zA-Z0-9] and no spaces): nickname
1/7 Contact Information (leave empty to skip):
- Enter a comma-separated list of fingerprints for your relay's family
2/7 MyFamily fingerprints (leave empty to skip): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
- Enter BandwidthRate and BandwidthBurst in Mbit (e.g., 100 for 100 Mbit)
3/7 BandwidthRate (leave empty to skip): 100
3/7 BandwidthBurst (leave empty to skip): 120
- Enter ORPort
4/7 ORPort [Default: 9001]: 9004
ORPort set to: 9004
==================================================
Ethereum Wallet Configuration
==================================================
- Do you want to enter an Ethereum EVM address for contribution rewards?
5/7 Ethereum Address (yes/no): yes
5/7 Enter your Ethereum wallet address: 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
==================================================
Enable Monitoring and Control port
==================================================
- Should the anon.service ControlPort be enabled?
6/7 Enable ControlPort? [Default: no]: yes
==================================================
Optional Local Firewall Installation
==================================================
The default firewall configuration tool for Ubuntu is ufw.
Developed to ease iptables firewall configuration, ufw provides
a user friendly way to create an IPv4 or IPv6 host-based firewall.
By default UFW is disabled.
https://help.ubuntu.com/community/UFW
- Would you like to install UncomplicatedFirewall and allow incoming traffic on:
- ORPort 9004
- SSH port 22
7/7 Configure and enable ufw (yes/no): yes
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
ufw
...
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
==================================================
UFW installed and rules added for ORPort 9004 and SSH port 22.
Make sure old firewall rules are removed if they are no longer valid.
To show current UFW configuration: sudo ufw status
To remove an old rule: sudo ufw delete allow <port-number>
For improved security, consider setting up SSH key authentication.
Refer to official documentation: https://ssh.com/ssh/keygen for instructions.
Waiting for the fingerprint to be generated.
Please don't interrupt the process...
==================================================
Anon Relay Fingerprint
058B704D9EF0714C48125B733562657F3F471C08
==================================================
Nickname nickname
ContactInfo @anon: 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Log notice file /var/log/anon/notices.log
ORPort 9004
ControlPort 9051
SocksPort 0
ExitRelay 0
IPv6Exit 0
ExitPolicy reject *:*
ExitPolicy reject6 *:*
BandwidthRate 100 Mbit
BandwidthBurst 120 Mbit
MyFamily AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
==================================================
Congratulations!
Anon configuration completed successfully.
https://docs.anyone.io
==================================================sudo systemctl status anonsudo systemctl start anon
sudo systemctl restart anon
sudo systemctl stop anonsudo apt-get update --yes
sudo apt-get install --only-upgrade anon --yessudo tail -f /var/log/anon/notices.logsudo nano /etc/anon/anonrcsudo /usr/bin/anon -f /etc/anon/anonrc --verify-configsudo usermod -a -G debian-anon $USER