Skip to content

Instantly share code, notes, and snippets.

@kyledrake
Last active September 22, 2016 19:34
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 kyledrake/2d9d7aeb0da7969f50d6387d77baff7a to your computer and use it in GitHub Desktop.
Save kyledrake/2d9d7aeb0da7969f50d6387d77baff7a to your computer and use it in GitHub Desktop.
newbird.conf
log syslog all;
router id **MY_IP**;
protocol bgp vultr {
local as 395409;
source address **MY_IP**;
import none;
export all;
graceful restart on;
multihop 2;
neighbor **BGP_IP** as 64515;
password "**OBSCURED**";
export filter {
bgp_community.add((64600,7922)); # don't announce to Comcast
accept;
};
#export filter {
# if bgp_path ~ [= 7922 1299 * =] then
# bgp_community.add((64600,1299)); # don't announce to Telia if coming from Comcast?
# accept;
#};
}
protocol static {
route 198.51.233.0/24 via **MY_IP**;
}
protocol device {
scan time 5;
}
protocol direct {
interface "neocities*";
import all;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment