diff options
Diffstat (limited to 'doc/afserver_example.conf')
-rw-r--r-- | doc/afserver_example.conf | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/afserver_example.conf b/doc/afserver_example.conf index f7c0be8..e96ec02 100644 --- a/doc/afserver_example.conf +++ b/doc/afserver_example.conf @@ -1,16 +1,15 @@ -# This is an example configuration file for active port forwarder +# This is an example configuration file for active port forwarder (server) # Firstly, we have to declare our files with key and certificate -certificate cacert.pem +cerfile cacert.pem # Please note, that we can place only blank characters between words -key server.rsa +keyfile server.rsa -# when we want to log some information, we specify file for lightlog -# when we want to log everything - we do this by using heavylog option - -# type name of file +# Logging can be enabled by log option. The argument to this option must +# be in the form: +# target,description,msgdesc log file,logfile,LOG_T_ALL,LOG_I_CRIT,LOG_I_ERR,LOG_I_WARNING @@ -29,8 +28,8 @@ realm my realm #options values #hostname <yourhostname> #this is the name of the server (used to choose interface) -listen 50127 #portnumber on which server is listening for users -manage 50126 #portnumber on which server is listening for afclient +listenport 50127 #portnumber on which server is listening for users +manageport 50126 #portnumber on which server is listening for afclient #users 5 #amount of users we are allowing to connect (>0) (default: 5) #timeout 5 #timeout value for the client's connection (>0) (default: 5) #clients 1 #number of allowed clients for this realm (>0) (default: 1) @@ -51,5 +50,5 @@ manage 50126 #portnumber on which server is listening for afclient # and now the second realm realm -listen 50125 -manage 50124 +listenport 50125 +manageport 50124 |