From Wiki
Revision as of 14:13, 2 June 2013 by Admin (Talk | contribs)

Jump to: navigation, search

This page will guide you through the process of setting up your first peering on Anonet. It may also serve as a reference for later, when something needs to be changed or peerings need to be added.

This article assumes you're using a Debian style operating system (Debian, Linux Mint, Ubuntu) and will use Debian style configuration. There are other ways to implement the same configuration, but those are not discussed here.

What is peering?

Peering is the process of adding peers. Peer usually refers to a BGP peer. The first time you do so, you will probably have to configure a lot to setup a framework for other peerings. BGP peering implies that your system will become a router, routing traffic for your own subnetwork and possibly also routing transit traffic for others.

To start peering, you will have to find a peer: a person with a system that is already connected to Anonet, to which you will connect. Usually, you can just ask on IRC in #anonet.

VPN tunnel

The first thing you need is a VPN tunnel. The most common one on Anonet is QuickTun, although other options like OpenVPN and Tinc are possible too. This article shows how to setup QuickTun.

You can install QuickTun from the "official" Debian repository, or build it from source.

Installing QuickTun from the Debian repository

Run the following commands, as root (login as root or run "su bash"):

wget -q -O- | apt-key add -
echo "deb current ucis" >> /etc/apt/sources.list
apt-get update
apt-get install quicktun

Installing QuickTun from source

sudo apt-get install gcc fakeroot dpkg
wget -O- | tar -xvz
cd quicktun*
sudo dpkg -i out/quicktun*.deb