Anonet/Peering: Difference between revisions
(Created page with "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 pee...") |
No edit summary |
||
Line 10: | Line 10: | ||
== VPN tunnel == | == 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. | 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" apt.ucis.nl 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 http://apt.ucis.nl/IvoSmits.asc -O- | apt-key add - | |||
echo "deb http://apt.ucis.nl/ 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 http://oss.ucis.nl/quicktun/src/quicktun.tgz -O- | tar -xvz | |||
cd quicktun* | |||
./build.sh | |||
sudo dpkg -i out/quicktun*.deb |
Revision as of 13:13, 2 June 2013
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" apt.ucis.nl 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 http://apt.ucis.nl/IvoSmits.asc -O- | apt-key add - echo "deb http://apt.ucis.nl/ 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 http://oss.ucis.nl/quicktun/src/quicktun.tgz -O- | tar -xvz cd quicktun* ./build.sh sudo dpkg -i out/quicktun*.deb