EnglishFrenchSpanish

OnWorks favicon

afserver - Online in the Cloud

Run afserver in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command afserver that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


afserver - active port forwarder server

SYNOPSIS


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


afserver
program starts with default options (become a daemon)

afserver -v
verbose mode is enabled (program won't enter daemon mode)

afserver -n localhost -l 5435 -m 6375
program will listen on localhost:5435 for users and on localhost:6375
for clients

OPTIONS


Basic options

-n, --hostname NAME
used when creating listening sockets (default: '')

-l, --listenport [HOST:]PORT
listening [host:]port number - users connect to it (default: 50127)

-m, --manageport [HOST:]PORT
manage [host:]port number - afclient connects to it (default: 50126)

-V, --version
display version number

-h, --help
prints help screen

Authorization

--pass PASSWORD
password used for client identification (default: no password)

Configuration

-c, --cerfile FILE
the name of the file with certificate (default: server-cert.pem)

-A, --cacerfile FILE
the name of the file with CA certificates (if used, require clients
to have valid certificates)

-d, --cerdepth
the maximum depth of valid certificate-chains

-k, --keyfile FILE
the name of the file with RSA key (default: server.rsa)

-f, --cfgfile FILE
the name of the file with the configuration for the afserver

-D, --dateformat FORMAT
format of the date printed in logs (see 'man strftime' for details)
(default: %d.%m.%Y %H:%M:%S)

-t, --timeout N
the timeout value for the client's connection (default: 5)

--maxidle N
the maximum idle time for the client's connection (default: disabled)

-u, --users N
the amount of users allowed to use this server (default: 5)

-C, --clients N
the number of allowed clients to use this server (default: 1)

-r, --realm
set the realm name (default: none)

-R, --raclients N
the number of allowed clients in remote administration mode to use
this server (default: 1)

-U, --usrpcli N
the number of allowed users per client (default: $users)

-M, --climode N
strategy used to connect users with clients (default: 1)
Available strategies:
1. fill first client before go to next

-p, --proto TYPE
type of server (tcp|udp) - what protocol it will be operating for
(default: tcp)

-b, --baseport
listenports are temporary and differ for each client

-a, --audit
additional information about connections are logged

--nossl
ssl is not used to transfer data (but it's still used to establish a
connection) (default: ssl is used)

--nozlib
zlib is not used to compress data (default: zlib is used)

--dnslookups
try to obtain dns names of the computers rather than their numeric IP

Logging

-o, --log LOGCMD
log choosen information to file/socket

-v, --verbose
to be verbose - program won't enter the daemon mode (use several
times for greater effect)

IP family

-4, --ipv4
use ipv4 only

-6, --ipv6
use ipv6 only

HTTP PROXY

-P, --enableproxy
enable http proxy mode

REMOTE ADMINISTRATION


Currently available commands are:

help
display help

lcmd
lists available commands

info
prints info about server

rshow
display realms

cshow X
display clients in X realm

ushow X
display users in X realm

quit
quit connection

timeout N X
set timeout value in X realm

audit {0|1} X
set audit mode in X realm

dnslookups {0|1} X
set dnslookups mode in X realm

dateformat S
set dateformat

kuser S
kick user named S

kclient N
kick client with number N

LOGCMD FORMAT


LOGCMD has the following synopsis: target,description,msgdesc

Where target is file or sock

description is filename or host,port

and msgdesc is the subset of:

LOG_T_ALL, LOG_T_USER, LOG_T_CLIENT, LOG_T_INIT, LOG_T_MANAGE,
LOG_T_MAIN, LOG_I_ALL, LOG_I_CRIT, LOG_I_DEBUG, LOG_I_DDEBUG,
LOG_I_INFO, LOG_I_NOTICE, LOG_I_WARNING, LOG_I_ERR

written without spaces.

Example:

file,filename,LOG_T_ALL,LOG_I_CRIT,LOG_I_ERR,LOG_I_WARNING

Use afserver online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 2
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 3
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 4
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 5
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 6
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • More »

Linux commands

  • 1
    a56
    a56
    A56 - Motorola DSP56001 assembler ...
    Run a56
  • 2
    a68g
    a68g
    a68g - Algol 68 Genie, an Algol 68
    compiler-interpreter ...
    Run a68g
  • 3
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 4
    copydatabase-1.3
    copydatabase-1.3
    copydatabase - Perform a
    document-by-document copy of one or more
    Xapian databases ...
    Run copydatabase-1.3
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad