# # - VPNTrack.conf - # Individual settings for the module #-------------- Custom section ------------------------ # Set to a non-empty string to enable the VPNTrack (pseudo-)module # to disable set 'ENABLED=' ENABLED=yes # # Set 'TRACE' to a _NON_EMPTY_STRING_ # to turn tracing 'on' to WatchLG.trace # in the module directory # TRACE=doit # Number of maximum affairs before culprit gets a # permanent DROP in the firewall. # Default: 5 MAX_AFFAIRS=5 # Timeout factor # Default: 60 seconds TIME_SLICE=60 # Number of days when an entry in the DB expires # (used by the 'ExpireXX' program of the module) # Call 'ExpireXX' regularly from crontab # e.g.: # 0 0 * * 0 $INSTALLPATH/modules//ExpireXX # EXPIRATIONDAYS=30 # # Track for own router # #DYN_CMD=MyFritzBox # #DYN_CMD="dig +short @$DYN_PROVIDER $DYN_ADDRESS" DYN_CMD="cat $LOG_DIR/DYN_IP" #-------------- Custom section [END] --------------------- ##################################### # DON'T CHANGE anything below ... ##################################### MODULE=VPNTrack THIS_TYPE=vpntrack # DB basics ... TABLE=$THIS_TYPE DB=$TABLE.db SQL="sqlite3 $DB" # Logging ... LOG=$LOG_DIR/$MODULE.log LOGPUSH=$LOG_DIR/openvpn.log PIPE=$FIFO_BASE/$MODULE # IPSET basics ... MYSET=$MODULE"-DB" SETTYP="hash:net" SETOPTS="comment"