Route filtering

This commit is contained in:
Alex D. 2021-02-25 16:37:59 +00:00
parent 6ceed4173c
commit 02f5175aaa
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 10 additions and 2 deletions

View File

@ -4,8 +4,8 @@ _svcname=babeld
. ../APKBUILD-config.common
pkgver=2021.02.23
pkgver=2021.02.25
pkgrel=0
source="redxen.conf"
sha512sums="920c6b75d314d5431ab71fee94074090236ae6d6158ab5b56f78abd330af948be5893b297efec4c33b37c520d58e923f9f565d3ef0ce7a3ec82803062875e14a redxen.conf"
sha512sums="965149d9b246ec9d41ed1fb9edd9d7eaa72f284af5590b1897ba17babc71da3b293953d52555fd1b3acbfe8a9c9131e1873c494fbbe72866e82b6d2c84539517 redxen.conf"

View File

@ -7,6 +7,14 @@ interface crxn0 enable-timestamps true link-quality true
redistribute local deny
# Only learn CRXN routes
in ip 10.0.0.0/8 ge 8 allow
in ip 0.0.0.0/0 ge 0 deny
in ip fd8a:6111:3b1a::/48 ge 48 allow
in ip ::/0 ge 0 deny
# Disable IPv4, range already taken by private network
install ip 10.0.0.0/8 ge 8 deny
# Redistribute all CRXN