Configure SOCKS5 Proxy for Anyone

To set up a SOCKS5 Proxy on your local relay to allow LAN traffic to pass through the Anyone network, follow this example:

Overview

A SOCKS proxy in an onion network, like Anyone, serves as an intermediary that routes traffic through multiple layers of encryption, ensuring anonymity. When using a SOCKS proxy with Anyone, your internet traffic is first directed to the proxy, which then forwards it into the Anyone Network. The data is encrypted and passed through several relay nodes, with each node only knowing the previous and next hop, but not the entire route. This layered approach prevents any single point from knowing both the origin and destination of the traffic, enhancing privacy and security for users who wish to remain anonymous online.

Configuration Steps

  1. Set Up the SOCKS5 Proxy

    • Configure your relay to behave as a SOCKS5 proxy by editing the anon configuration file. This will enable it to route traffic from your LAN devices through the Anyone Network, ensuring anonymity. See steps below for Standalone installation, for the Anyone Router Hardware, go to Proxy Settings BETA

  2. Specify Relay IP and SOCKS Port

    • Once your relay is configured as a proxy, specify its IP address and the SOCKS port on any device within your LAN that you want to route through the Anyone Network.

  3. Match LAN Subnet

    • Remember to change the IP subnet to match the subnet of the Local Area Network (LAN) that you want to allow to use the proxy. This ensures that all traffic is properly routed through the Anyone Network.

Disclaimer:

This configuration should be considered experimental. Stability and security can not be guaranteed.

Edit the anon configuration

Use 'nano' to edit the anonrc file in Ubuntu.

sudo nano /etc/anon/anonrc

Add SocksPort and SocksPolicy to the Anon Configuration

This configuration will allow all clients on the subnet 192.168.1.0/24 to connect through the proxy. Please note that the LAN IP of the Relay is assumed to be 192.168.1.10. However, the LAN IP of the Relay and subnet may vary for different networks and routers.

Sources: SocksPort and SocksPolicy

SocksPort 192.168.1.10:9050
SocksPolicy accept 192.168.1.0/24

Anyone Relay hardware Proxy Settings

To learn how to enable Proxy servers on the Anyone Relay hardware, go to Proxy Settings BETA

Last updated