socks - Man Page

SOCKS 4/4.5/5 gateway service


socks [-d] [-l[[@]logfile]] [-pport] [-iinternal_ip] [-eexternal_ip]


socks is SOCKS server. It supports SOCKSv4, SOCKSv4.5 (extension to v4 for server side name resolution) and SOCKSv5. SOCKSv5 specification allows both outgoing and reverse TCP connections and UDP portmapping.



Inetd mode. Standalone service only.


Daemonise. Detach service from console and run in the background.


Be silenT. Do not log start/stop/accept error records.


Never ask for username authentication


External address. IP address of interface proxy should initiate connections from. External IP must be specified if you need incoming connections. By default system will deside which address to use in accordance with routing table.


External NAT address 3proxy reports to client for BIND and UDPASSOC By default external address is reported. It's only useful in the case of IP-IP NAT (will not work for PAT)


Internal address. IP address proxy accepts connections to. By default connection to any interface is accepted. It´s usually unsafe.


Port. Port proxy listens for incoming connections. Default is 1080.


Log. By default logging is to stdout. If logfile is specified logging is to file. Under Unix, if ´@´ preceeds logfile, syslog is used for logging.


Increase or decrease stack size. You may want to try something like -S8192 if you experience 3proxy crashes.


You should use client with SOCKS support or use some socksification support (for example SocksCAP or FreeCAP). Configure client to use internal_ip and port. SOCKS allows to use almost any application protocol without limitation. This implementation also allows to open priviledged port on server (if socks has sufficient privileges). If you need to control access use 3proxy(8) instead.


Report all bugs to

See Also

3proxy(8), ftppr(8), htproxy(8), pop3p(8), tcppm(8), udppm(8), syslogd(8),


3proxy is designed by Vladimir 3APA3A Dubrovin (

Referenced By

3proxy(8), 3proxy.cfg(3), ftppr(8), htproxy(8), pop3p(8), smtpp(8), tcppm(8), udppm(8).

January 2019 3proxy 0.9 Universal proxy server