Skip to content

Instantly share code, notes, and snippets.

@natesales
Created October 16, 2020 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natesales/3cfa9ea1cce94f2705f51f96be01547d to your computer and use it in GitHub Desktop.
Save natesales/3cfa9ea1cce94f2705f51f96be01547d to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list
echo "APT::Default-Release "stable";" > /etc/apt/apt.conf.d/default-release
apt update
apt upgrade
apt install -y -t sid bird2
wget https://github.com/cloudflare/gortr/releases/download/v0.14.6/gortr_0.14.6_amd64.deb
dpkg -i gortr*.deb
rm gortr*.deb
systemctl enable --now gortr
git clone https://github.com/bgp/bgpq4
cd bgpq4
./bootstrap
./configure
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment