summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJakub Sławiński2003-12-15 21:55:27 +0100
committerJoshua Judson Rosen2014-07-17 21:14:55 +0200
commit97e4bce33f2199dd3ea3831f96e2b6d34269d5a5 (patch)
tree0e91d6ac72e6306ae64f2e2fd2d902b2a3b8cebc /config
downloadapf-97e4bce33f2199dd3ea3831f96e2b6d34269d5a5.tar.gz
v0.5.2
- Added: types of realm - Added: logging to a file - Fixed: major bug in communication between server and client - Fixed: deformed packets in udp protocol forwarding 04.12.2003 (v0.5.1): - Fixed: Some data transfer problems - Added: udp protocol tunneling/forwarding - Fixed: bug in parsing the config file - Improved: making connection between server and client - Lightly modified: verbose mode (added double v mode) 23.11.2003 (v0.5): - This is the first release - There are no known major bugs
Diffstat (limited to 'config')
-rw-r--r--config39
1 files changed, 39 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..4a3eb4e
--- /dev/null
+++ b/config
@@ -0,0 +1,39 @@
+# This is an example configuration file for active forwarder
+# Firstly, we have to declare our files with key and certificate
+
+certificate cacert.pem
+
+# Please note, that we can place only blank characters between words
+
+key 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
+
+lightlog logfile
+#heavylog logfile
+
+
+# And it's time for create forwarding targets (named realms here)
+
+#newrealm indicates a new set of commands to a server
+newrealm
+
+#options values
+
+hostname <yourhostname> #this is a name of the server (it's using it for choosing interface)
+listen 50127 #portnumber on which server is listening for users
+manage 50126 #portnumber on which server is listening for afclient
+users 5 #amount of users we are allowing to connect
+type tcp #type of the realm (which protocol it will forward (tcp|udp)
+
+# and now the second realm
+
+newrealm
+hostname <yourhostname>
+listen 50125
+manage 50124
+users 5
+type tcp