##-----------------------------------------------------------------------------
## portblock.txt - fli4l configuration parameters		          2.0.8
##
##        P L E A S E   R E A D   T H E   D O C U M E N T A T I O N
##
##        B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##                                  L E S E N 
##
## Creation:     25.04.2003  ds
## Last Update:  04.11.2003  ds - v2.0.2
##
## opt_portblock by Daniel Sokoll <fli4l@sirsocke.de>
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Optional package: portblock - open/close portgroups via webinteface (httpd)
#------------------------------------------------------------------------------

OPT_PORTBLOCK='no'		#use opt_portblock ['yes' / 'no']


PB_PORTRULE_N='6'		#Number of Ports / Portranges to block

PB_PORTRULE_1='ftp'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_1='tcp'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_1='both'		#Direction: ['in' / 'out' / 'both']

PB_PORTRULE_2='21'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_2='udp'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_2='both'		#Direction: ['in' / 'out' / 'both']

PB_PORTRULE_3='auth'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_3='tcp'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_3='both'		#Direction: ['in' / 'out' / 'both']

PB_PORTRULE_4='113'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_4='udp'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_4='both'		#Direction: ['in' / 'out' / 'both']

PB_PORTRULE_5='417:419'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_5='both'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_5='both'		#Direction: ['in' / 'out' / 'both']

PB_PORTRULE_6='410'		#Port(s) / Service-Name (from /etc/services)
PB_PROTOCOL_6='both'		#Protocol: ['tcp' / 'udp' / 'both']
PB_DIRECTIO_6='both'		#Direction: ['in' / 'out' / 'both']


PB_GROUPCOUNT_N='4'		#Number of groups

PB_GROUP_NAME_1='FTP'		#Name of Portgroup shown in HTTPd
PB_GROUPRULES_1='1'		#Rules in this group (seperated with ';')
PB_BLOCK_AUTO_1='yes'		#block group automatically at boot?
PB_GROUP_USER_1='all'		#Show to user: [ 'N' / 'all' / 'none' ]

PB_GROUP_NAME_2='Programm_2'	#Name of Portgroup shown in HTTPd
PB_GROUPRULES_2='6'		#Rules in this group (seperated with ';')
PB_BLOCK_AUTO_2='yes'		#block group automatically at boot?
PB_GROUP_USER_2='all'		#Show to user: [ 'N' / 'all' / 'none' ]

PB_GROUP_NAME_3='Programm_3'	#Name of Portgroup shown in HTTPd
PB_GROUPRULES_3='3-5'		#Rules in this group (seperated with ';')
PB_BLOCK_AUTO_3='no'		#block group automatically at boot?
PB_GROUP_USER_3='all'		#Show to user: [ 'N' / 'all' / 'none' ]

PB_GROUP_NAME_4='Hidden 21'	#Name of Portgroup shown in HTTPd
PB_GROUPRULES_4='2'		#Rules in this group (seperated with ';')
PB_BLOCK_AUTO_4='yes'		#block group automatically at boot?
PB_GROUP_USER_4='none'		#Show to user: [ 'N' / 'all' / 'none' ]


PB_BLOCKTYPE='REJECT'		#Block groups using: [ 'REJECT' or 'DENY' ]

PB_NETWORK='192.168.6.0/24'	#Network to work with

PB_SHOW_DETAILS='no'            #show group-details in httpd ['yes' / 'no' ]

PB_SWAP_BLOCK_COLORS='no'	#no:	green=closed / red=open
				#yes:	green=open / red=closed

PB_LANGUAGE='de'		#german / english [ 'de' / 'en' ]

PB_LOGGING='no'				#Log PortBlock-Actions ['yes' / 'no' ]
PB_LOGUSER='all'			#Show to user: [ 'N' / 'all' / 'none' ]
PB_LOGFILE='/var/log/log.portblock'	#Use this File for logging


#------------------------------------------------------------------------------
# Optional package: pbscript - open/close portgroups via opt_easycron
#------------------------------------------------------------------------------

OPT_PBSCRIPT='no'		#Install shellscript for use with e.g. easycron


#------------------------------------------------------------------------------
# Optional package: pbstatus - show status with OPTs CPANEL, COMLED, LPTLED ...
#------------------------------------------------------------------------------

OPT_PBSTATUS='no'		#Install portblock-status-script

PBSTATUS_SCRIPT_OPEN='' 	#do if at least one group is open

PBSTATUS_SCRIPT_CLOSED=''	#do if all groups are closed
