-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbabeld.uci
36 lines (30 loc) · 1003 Bytes
/
babeld.uci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package babeld
# Babel uses the mesh routing table (66) for import and export
# Routes are created with a low priority (2048); thus they're not considered local.
# By that, a default route on a (Open)VPN interface has higher precedence.
config general
option ipv6_subtrees 'true'
option export_table '66'
option import_table '66'
option kernel_priority '2048'
# Export all static routes from the freifunk tables
# This is the configured IPv4 and IPv6 network of the router
config filter 'redistribute_static'
option type 'redistribute'
option proto '4'
# Do not export local routes (LAN-IP, address, etc.)
config filter
option type 'redistribute'
option local 'true'
option action 'deny'
# Bind to both ad-hoc (802.11s) interfaces
config interface
option ifname 'wlan0'
option type 'wireless'
config interface
option ifname 'wlan1'
option type 'wireless'
# Optional fastd-interface for Freifunk Routing
config interface
option ifname 'tap-icvpn'
option type 'tunnel'