tunneldiggercpp

git clone git://archive.git.mtrnord.blog/MTRNord/tunneldiggercpp.git
Log | Files | Refs | README

l2tp_broker.cfg.example (1318B)


      1 [broker]
      2 ; IP address the broker will listen and accept tunnels on
      3 address=127.0.0.1
      4 ; Ports where the broker will listen on
      5 port=53,123,8942
      6 ; Interface with that IP address
      7 interface=lo
      8 ; Maximum number of tunnels that will be allowed by the broker
      9 max_tunnels=1024
     10 ; Tunnel port base
     11 port_base=20000
     12 ; Tunnel id base
     13 tunnel_id_base=100
     14 ; Namespace (for running multiple brokers); note that you must also
     15 ; configure disjunct ports, and tunnel identifiers in order for
     16 ; namespacing to work
     17 namespace=default
     18 ; check if all kernel module are loaded. Do not check for built-ins.
     19 check_modules=true
     20 
     21 [log]
     22 ; Log filename
     23 filename=tunneldigger-broker.log
     24 ; Verbosity
     25 verbosity=DEBUG
     26 ; Should IP addresses be logged or not
     27 log_ip_addresses=false
     28 
     29 [hooks]
     30 ; Arguments to the session.{up,pre-down,down} hooks are as follows:
     31 ;
     32 ;    <tunnel_id> <session_id> <interface> <mtu> <endpoint_ip> <endpoint_port> <local_port>
     33 ;
     34 ; Arguments to the session.mtu-changed hook are as follows:
     35 ;
     36 ;    <tunnel_id> <session_id> <interface> <old_mtu> <new_mtu>
     37 ;
     38 
     39 ; Called after the tunnel interface goes up
     40 session.up=
     41 ; Called just before the tunnel interface goes down
     42 session.pre-down=
     43 ; Called after the tunnel interface goes down
     44 session.down=
     45 ; Called after the tunnel MTU gets changed because of PMTU discovery
     46 session.mtu-changed=