Olsrd2.conf

Aus FunkFeuer Wiki
Zur Navigation springen Zur Suche springen

olsrd2.conf Beispielkonfiguration

Quelle: https://github.com/pocki80/ER-wizard-OLSRd_V2


   [global]
   failfast no
   fork     yes
   lockfile /var/lock/olsrd2
   pidfile  /var/run/olsrd2.pid
   
   [log]
   file   /var/log/olsrd2.log
   info   main
   info   http
   stderr true
   
   [telnet]
   port 2009
   
   [http]
   bindto 0.0.0.0
   bindto ::0
   webserver /config/olsrd2/www
   port 8000
   acl default_reject
   acl first_reject
   acl 127.0.0.1
   acl 10.0.0.0/8
   acl 172.16.0.0/12
   acl 192.168.0.0/24
   acl 78.41.112.0/21
   acl 193.238.156.0/22
   acl 185.194.20.0/22
   acl ::1
   acl 2a02:60::/29
   
   [olsrv2]
   originator   -2a02:61:0:ee:1::0/80
   originator   -0.0.0.0/0
   originator   -::1/128
   originator   default_accept
   #add/modify according your needs
   #lan 2a02:61:9999::/64
   #lan 2a02:61:0:ff:1234:56ff:fe78:90ab/128
   #lan 2a02:61:0:ee:1:ffff:b9c2:14fe/128
   forward_hold_time 50
   processing_hold_time 30
   tc_interval 5
   tc_validity 20
   
   [interface=br0]
   l2default  rx_bitrate 10000000
   #configure inbound-metric by neighbor-mac
   #l2neighbor rx_bitrate 40000000    44:d9:c6:310:6d:c0
   bindto       -0.0.0.0/0
   bindto       -::1/128
   bindto       default_accept
   
   [interface=lo]
   bindto       -0.0.0.0/0
   bindto       -::1/128
   bindto       default_accept