Update README.md
This commit is contained in:
parent
cebc554ad4
commit
45c8f33c55
14
README.md
14
README.md
@ -148,17 +148,15 @@ These settings are optional, and are already defaulted to general network common
|
||||
|
||||
#### Prerequisites:
|
||||
|
||||
1. `docker` and `docker-compose` (Alpine: community repository; https://docs.genesys.com/Documentation/System/8.5.x/DDG/InstallationofDockeronAlpineLinux), `git`, `tar`, and `curl` are installed (Alpine: `apk add`). You may also want to make docker run at boot: `rc-update add docker boot`.
|
||||
2. `eth0` is the **LAN** or **WAN** interface supporting external routing, DNS, etc., and is the **bridged** interface to a router that will statically route the entire desired network subnet (i.e. x.x.0.0/21) through it. You may also have an `eth1` (and so on, so forth) that you statically configure for your entire, wide subnet (i.e. x.x.0.0/21) if you want to use two physical adapters. If you do have more than one interface, make sure that `internal_gateway` is set to the router IP address that can route your personal Lixonet subnets, and not your WAN gateway (unless they're the same).
|
||||
4. `tun` and `tap` are in `/etc/modules` to load at boot (https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/) and the system has been rebooted afterwards.
|
||||
5. `sigil` is installed (`curl -L "https://github.com/gliderlabs/sigil/releases/download/v0.5.0/sigil_0.5.0_$(uname -sm|tr ' ' '_').tgz" | tar -zxC /usr/local/bin`)
|
||||
6. `py-pip` is installed (`apk add py-pip`) and so is the PIP package `netcalc` (`pip install netcalc`)
|
||||
7. IPv4 forwarding is on: `sysctl -w net.ipv4.ip_forward=1`
|
||||
1. `eth0` is the **LAN** or **WAN** interface supporting external routing, DNS, etc., and is the **bridged** interface to a router that will statically route the entire desired network subnet (i.e. x.x.0.0/21) through it. You may also have an `eth1` (and so on, so forth) that you statically configure for your entire, wide subnet (i.e. x.x.0.0/21) if you want to use two physical adapters. If you do have more than one interface, make sure that `internal_gateway` is set to the router IP address that can route your personal Lixonet subnets, and not your WAN gateway (unless they're the same).
|
||||
2. `tun` and `tap` are in `/etc/modules` to load at boot (https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/) and the system has been rebooted afterwards.
|
||||
3. IPv4 forwarding is on: `sysctl -w net.ipv4.ip_forward=1`
|
||||
|
||||
#### Install:
|
||||
|
||||
1. Clone this repository: `git clone`
|
||||
1. Clone this repository: `git clone <url>`
|
||||
2. `mkdir /etc/lixonet/(mesh)/`
|
||||
3. Fill out `/etc/lixonet/(mesh)lixonet.conf` (see: **Configuration options**)
|
||||
4. Supply `/etc/lixonet/(mesh)/tinc.key`
|
||||
5. Run `chmod +x build.sh && ./build.sh` to deploy the stack on Docker.
|
||||
5. On the cloned repository, run `docker build -t lixonet-ee .`
|
||||
6. Run `docker run -it -v /etc/bird:/etc/bird/ -v /etc/tinc:/etc/tinc -v /etc/bind:/etc/bind -v /etc/lixonet:/etc/lixonet -v /var/run/docker.sock:/var/run/docker.sock lixonet-ee`
|
Loading…
x
Reference in New Issue
Block a user