You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
3.8 KiB

  1. .ig
  2. . manual page for shadowsocks-libev
  3. .
  4. . Copyright (c) 2012-2015, by: Max Lv
  5. . All rights reserved.
  6. .
  7. . Permission is granted to copy, distribute and/or modify this document
  8. . under the terms of the GNU Free Documentation License, Version 1.1 or
  9. . any later version published by the Free Software Foundation;
  10. . with no Front-Cover Texts, no Back-Cover Texts, and with the following
  11. . Invariant Sections (and any sub-sections therein):
  12. . all .ig sections, including this one
  13. . STUPID TRICKS Sampler
  14. . AUTHOR
  15. .
  16. . A copy of the Free Documentation License is included in the section
  17. . entitled "GNU Free Documentation License".
  18. .
  19. ..
  20. \# - these two are for chuckles, makes great grammar
  21. .ds Lo \fBss-local\fR
  22. .ds Re \fBss-redir\fR
  23. .ds Se \fBss-server\fR
  24. .ds Tu \fBss-tunnel\fR
  25. .ds Ma \fBss-manager\fR
  26. .ds Me \fBShadowsocks-libev\fR
  27. .
  28. .TH "SS-LOCAL" "1" "September 10, 2015" "SHADOWSOCKS-LIBEV"
  29. .SH NAME
  30. ss-local \- shadowsocks client as socks5 proxy, libev port
  31. .SH SYNOPSIS
  32. \*(Lo
  33. [\fB\-Auhv\fR]
  34. [\fB\-s\fR \fIserver_host\fR] [\fB\-p\fR \fIserver_port\fR] [\fB\-l\fR \fIlocal_port\fR]
  35. [\fB\-k\fR \fIpassword\fR] [\fB\-m\fR \fIencrypt_method\fR] [\fB\-f\fR \fIpid_file\fR] [\fB\-t\fR \fItimeout\fR]
  36. [\fB\-c\fR \fIconfig_file\fR] [\fB\-b\fR \fIinterface\fR] [\fB\-a\fR \fIuser_name\fR]
  37. [\fB\-\-fast\-open\fR] [\fB\-\-acl\fR \fIacl_config\fR]
  38. .SH DESCRIPTION
  39. \*(Me is a lightweight and secure socks5 proxy. It is a port of the original
  40. shadowsocks created by clowwindy. \*(Me is written in pure C and takes advantage
  41. of \fBlibev\fP to achieve both high performance and low resource consumption.
  42. .PP
  43. \*(Me consists of five components. \*(Lo(1) works as a standard socks5 proxy
  44. on local machines to proxy TCP traffic. For more information, check out \fBshadowsocks-libev\fR(8).
  45. .SH OPTIONS
  46. .TP
  47. .B \-s \fIserver_host\fP
  48. Set the server's hostname or IP.
  49. .TP
  50. .B \-p \fIserver_port\fP
  51. Set the server's port number.
  52. .TP
  53. .B \-l \fIlocal_port\fP
  54. Set the local port number.
  55. .TP
  56. .B \-k \fIpassword\fP
  57. Set the password. The server and the client should use the same password.
  58. .TP
  59. .B \-m \fIencrypt_method\fP
  60. Set the cipher.
  61. Shadowsocks accepts 16 different ciphers: table, rc4, rc4-md5,
  62. aes-128-cfb, aes-192-cfb, aes-256-cfb, bf-cfb, camellia-128-cfb,
  63. camellia-192-cfb, camellia-256-cfb, cast5-cfb, des-cfb, idea-cfb, rc2-cfb,
  64. seed-cfb, salsa20 and chacha20. The default cipher is \fItable\fP.
  65. If built with PolarSSL or custom OpenSSL libraries, some of these ciphers may
  66. not work.
  67. .TP
  68. .B \-f \fIpid_file\fP
  69. Start shadowsocks as a daemon with specific pid file.
  70. .TP
  71. .B \-t \fItimeout\fP
  72. Set the socket timeout in seconds. The default value is 10.
  73. .TP
  74. .B \-c \fIconfig_file\fP
  75. Use a configuration file.
  76. .TP
  77. .B \-i \fIinterface\fP
  78. Specify network interface to bind.
  79. .TP
  80. .B \-b \fIlocal_address\fP
  81. Specify local address to bind.
  82. .TP
  83. .B \-a \fIuser_name\fP
  84. Run as a specific user.
  85. .TP
  86. .B \-u
  87. Enable UDP relay.
  88. .TP
  89. .B \-A
  90. Enable onetime authentication.
  91. .TP
  92. .B \--fast-open
  93. Enable TCP fast open.
  94. Only available with Linux kernel > 3.7.0.
  95. .TP
  96. .B \--acl \fIacl_config\fP
  97. Enable ACL (Access Control List) and specify config file.
  98. .TP
  99. .B \-v
  100. Enable verbose mode.
  101. .SH EXAMPLE
  102. \*(Lo(1) can be started from command line and run in foreground. Here is an example:
  103. # Start ss-local with given parameters
  104. ss-local -s example.com -p 12345 -l 1080 -k foobar -m aes-256-cfb
  105. .SH SEE ALSO
  106. .BR \*(Se (1),
  107. .BR \*(Tu (1),
  108. .BR \*(Re (1),
  109. .BR \*(Ma (1),
  110. .BR shadowsocks-libev (8),
  111. .BR iptables (8),
  112. /etc/shadowsocks-libev/config.json
  113. .br
  114. .SH AUTHOR
  115. shadowsocks was created by clowwindy <clowwindy42@gmail.com> and
  116. shadowsocks-libev was maintained by Max Lv <max.c.lv@gmail.com> and Linus Yang
  117. <laokongzi@gmail.com>.
  118. .PP
  119. This manual page was written by Max Lv <max.c.lv@gmail.com>.
  120. .PP
  121. The manual pages were rearranged by hosiet <073plan@gmail.com>.