Git Product home page Git Product logo

exitnode's Introduction

exitnode

Intro

Our exit node is currently a single relay and exit server. All of the public traffic on peoplesopen.net access points is routed over an l2tp tunnel with tunneldigger through our exit server. In this way, creating a new exit server would essentially create a new "mesh". For the time being, all sudomesh/peoplesopen.net traffic must travel over a single exit server in order to remain on the same network.

The l2tp kernel module is currently not compiled into Ubuntu, so we're using Debian.

We've set up a basic provisioning script, which is VERY MUCH A WORK IN PROGRESS, but should eventually take care of all of the steps required to set up and configure a new exit server.

Installation

Debian

Quick Install

Warning: installs with default configuration (not always desirable). Copy the file quick_install.sh to desired machine. Run as root:

./quick_install.sh

Normal Install

On a debian distro, all you should need is git. Run the following as root:

apt-get install git

In a home dir:

git clone https://github.com/sudomesh/exitnode.git
cd exitnode

Then take a look at the provision.sh script. The first few lines are configs in order to set up the public IP of the exit server and the mesh IP.

Provision Configuration Variables

Set IP address of exitnode on local network

MESH_IP=10.42.0.99

Specify maximum transmission unit (MTU), maximum for ethernet is 1500, default 1400.

MESH_MTU=1400

Set the name of the ethernet interface to the external network (internet)

ETH_IF=eth0

Set IP address of exitnode on external network (internet)

PUBLIC_IP="$(ifconfig | grep -A 1 "$ETH_IF" | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)"

Run Provision Script

After editing these variables, you can run ./provision.sh <ARGUMENT1> where ARGUMENT1 is the location of the exitnode repo folder. For example:

./provision.sh /root/exitnode

Other Linux

Not yet supported. Accepting pull requests!

exitnode's People

Contributors

max-b avatar wrought avatar stillson avatar juul avatar papazoga avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.