# ftppr

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
CLIENTS
BUGS
SEE ALSO
AUTHORS

## NAME

ftppr - FTP proxy gateway service

## SYNOPSIS

ftppr [-d] [-l[[@]logfile]] [-pport] [-iinternal_ip] [-eexternal_ip] [-hdefault_ip[:port]]

## DESCRIPTION

ftppr is FTP gateway service to allow internal users to access external FTP servers.

## OPTIONS

| -I |  | Inetd mode. Standalone service only.
| -d |  | Daemonize. Detach service from console and run in the background.
| -t |  | Be silenT. Do not log start/stop/accept error records.
| -u |  | Never look for username authentication.
| -e |  | External address. IP address of the interface the proxy should initiate connections from. By default, the system will decide which address to use in accordance with the routing table.

-niPATH

(Linux only) Switch to the network namespace identified by PATH before opening the listening socket. The current namespace is saved and restored immediately after binding, so outgoing connections run in the original namespace unless -ne is also given.

-nePATH

(Linux only) Switch to the network namespace identified by PATH after the listening socket has been bound (and after restoring from -ni if applicable). Both options accept any namespace file path (e.g. /var/run/netns/myns or /proc/PID/ns/net) and require CAP_SYS_ADMIN.

| -i |  | Internal address. IP address the proxy accepts connections to. By default, connections to any interface are accepted. It´s usually unsafe. Unix domain sockets can be specified with -iunix:/path/to/socket syntax (e.g., -iunix:/var/run/ftppr.sock). On Linux, abstract sockets use -iunix:@socketname syntax.
| -h |  | Default destination. It’s used if the target address is not specified by the user.
| -p |  | Port. Port proxy listens for incoming connections. Default is 21.
| -l |  | Log. By default logging is to stdout. If logfile is specified logging is to file. Under Unix, if ´@´ precedes logfile, syslog is used for logging.
| -S |  | Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy crashes.

## CLIENTS

You can use any FTP client, regardless of FTP proxy support. For a client with FTP proxy support, configure internal_ip and port in the FTP proxy parameters. For clients without FTP proxy support, use internal_ip and port as the FTP server. The address of the real FTP server must be configured as a part of the FTP username. The format for the username is username@server, where server is the address of the FTP server and username is the user´s login on this FTP server. The login itself may contain an ´@´ sign. Only cleartext authentication is currently supported.

## BUGS

Report all bugs to 3proxy@3proxy.org

## SEE ALSO

3proxy(8), proxy(8), pop3p(8), socks(8), tcppm(8), udppm(8), syslogd(8),
https://3proxy.org/

## AUTHORS

3proxy is designed by Vladimir Dubrovin <vlad@3proxy.org>