afserver(1) | General Commands Manual | afserver(1) |
NAME¶
afserver - active port forwarder serverSYNOPSIS¶
afserver [ options ]DESCRIPTION¶
Afserver is a port forwarding program designed to be efficient and easy to use. It listens for incoming afclient connections at listenport (default listenport is 50126). After successful client authorization, afserver listens for incoming user connections. When a new user connection is opened, all the data is redirected to previously connected afclient, which redirects it to the specified destination host:port.EXAMPLES¶
afserverprogram starts with default options (become a daemon)
verbose mode is enabled (program won't enter daemon mode)
program will listen on localhost:5435 for users and on localhost:6375 for clients
OPTIONS¶
Basic optionsused when creating listening sockets (default: '')
listening [host:]port number - users connect to it (default: 50127)
manage [host:]port number - afclient connects to it (default: 50126)
display version number
prints help screen
password used for client identification (default: no password)
the name of the file with certificate (default: server-cert.pem)
the name of the file with CA certificates (if used, require clients to have valid certificates)
the maximum depth of valid certificate-chains
the name of the file with RSA key (default: server.rsa)
the name of the file with the configuration for the afserver
format of the date printed in logs (see 'man strftime' for details) (default: %d.%m.%Y %H:%M:%S)
the timeout value for the client's connection (default: 5)
the maximum idle time for the client's connection (default: disabled)
the amount of users allowed to use this server (default: 5)
the number of allowed clients to use this server (default: 1)
set the realm name (default: none)
the number of allowed clients in remote administration mode to use this server (default: 1)
the number of allowed users per client (default: $users)
strategy used to connect users with clients (default: 1)
Available strategies:
1. fill first client before go to next
type of server (tcp|udp) - what protocol it will be operating for (default: tcp)
listenports are temporary and differ for each client
additional information about connections are logged
ssl is not used to transfer data (but it's still used to establish a connection) (default: ssl is used)
zlib is not used to compress data (default: zlib is used)
try to obtain dns names of the computers rather than their numeric IP
log choosen information to file/socket
to be verbose - program won't enter the daemon mode (use several times for greater effect)
use ipv4 only
use ipv6 only
enable http proxy mode
REMOTE ADMINISTRATION¶
Currently available commands are:display help
lists available commands
prints info about server
display realms
display clients in X realm
display users in X realm
quit connection
set timeout value in X realm
set audit mode in X realm
set dnslookups mode in X realm
set dateformat
kick user named S
kick client with number N
LOGCMD FORMAT¶
LOGCMD has the following synopsis: target,description,msgdescExample:
file,filename,LOG_T_ALL,LOG_I_CRIT,LOG_I_ERR,LOG_I_WARNING
SEE ALSO¶
afserver.conf(5), afclient(1), afclient.conf(5)BUGS¶
Afserver is still under development. There are no known open bugs at the moment.REPORTING BUGS¶
Please report bugs to <jeremian [at] poczta.fm>AUTHOR¶
Jeremian <jeremian [at] poczta.fm>CONTRIBUTIONS¶
Alex Dyatlov <alex [at] gray-world.net>, Simon <scastro [at] entreelibre.com>, Ilia Perevezentsev <iliaper [at] mail.ru> Marco Solari <marco.solari [at] koinesistemi.it>, and Joshua Judson Rosen <rozzin [at] geekspace.com>LICENSE¶
Active Port Forwarder is distributed under the terms of the GNU General Public License v2.0 and is copyright (C) 2003-2007 jeremian <jeremian [at] poczta.fm>. See the file COPYING for details.apf 0.8.4 | Jeremian |