Skip to main content
Version: 7.25

socksify


ip/socksify​

Type: Directory

Service that forwards traffic redirected to it by a firewall NAT rule (action=socksify, typically in the dstnat chain) through an upstream SOCKS5 server. Changes to a record's properties apply after you disable and re-enable the record.

See Socksify for the full documentation.

FlagNameDescription
Xdisableddisabled (set by default)
Ddynamicdynamic
ArgumentTypeDescription
namestringName of the socksify service record.
connection-timeoutnumTime in seconds (0 to 3000) to wait for the SOCKS server and the destination during connection setup before aborting with an error. Set to 0 to disable the timeout. Default: 60.
portnumLocal TCP port the service listens on; the socksify NAT action redirects intercepted connections to this port. Default: 952.
socks5-serveripAddrIPv4 address of the upstream SOCKS5 server. IPv6 addresses are not accepted. Default: 0.0.0.0.
socks5-portnumListening port of the SOCKS5 server. Default: 1080.
socks5-userstringUsername for the upstream SOCKS5 server. Shown as plain text in print detail output. Default: empty.
socks5-passwordstringPassword for the upstream SOCKS5 server. Shown as plain text in print detail output. Default: empty.