mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-01 07:30:02 +00:00
Clearfied the -i option in man pages
* updated interface binding description in man page * typo * fixed description of -i option
This commit is contained in:
@@ -104,7 +104,13 @@ Not available in manager mode.
|
||||
Only available on Linux.
|
||||
.TP
|
||||
.B \-i \fIinterface\fP
|
||||
Specify network interface to bind.
|
||||
Send traffic through specific network interface.
|
||||
|
||||
For example, there are three interfaces in your device, which is lo (127.0.0.1),
|
||||
eth0 (192.168.0.1) and eth1 (192.168.0.2). Meanwhile, you configure
|
||||
\fBshadowsocks-libev\fR to listen on 0.0.0.0:8388 and bind to eth1. That results
|
||||
the traffic go out through eth1, but not lo nor eth0. This option is useful to
|
||||
control traffic in multi-interface environment.
|
||||
|
||||
Not available in redir mode.
|
||||
.TP
|
||||
|
||||
+7
-1
@@ -89,7 +89,13 @@ Specify max number of open files.
|
||||
Only avaliable on Linux.
|
||||
.TP
|
||||
.B \-i \fIinterface\fP
|
||||
Specify network interface to bind.
|
||||
Send traffic through specific network interface.
|
||||
|
||||
For example, there are three interfaces in your device, which is lo (127.0.0.1),
|
||||
eth0 (192.168.0.1) and eth1 (192.168.0.2). Meanwhile, you configure \*(Lo to
|
||||
listen on 0.0.0.0:8388 and bind to eth1. That results the traffic go out through
|
||||
eth1, but not lo nor eth0. This option is useful to control traffic in
|
||||
multi-interface environment.
|
||||
.TP
|
||||
.B \-b \fIlocal_address\fP
|
||||
Specify local address to bind.
|
||||
|
||||
+7
-1
@@ -83,7 +83,13 @@ Set the socket timeout in seconds. The default value is 60.
|
||||
Use a configuration file.
|
||||
.TP
|
||||
.B \-i \fIinterface\fP
|
||||
Specify network interface to bind.
|
||||
Send traffic through specific network interface.
|
||||
|
||||
For example, there are three interfaces in your device, which is lo (127.0.0.1),
|
||||
eth0 (192.168.0.1) and eth1 (192.168.0.2). Meanwhile, you configure \*(Ma to
|
||||
listen on 0.0.0.0:8388 and bind to eth1. That results the traffic go out through
|
||||
eth1, but not lo nor eth0. This option is useful to control traffic in
|
||||
multi-interface environment.
|
||||
.TP
|
||||
.B \-u
|
||||
Enable UDP relay.
|
||||
|
||||
+7
-1
@@ -88,7 +88,13 @@ Specify max number of open files.
|
||||
Only avaliable on Linux.
|
||||
.TP
|
||||
.B \-i \fIinterface\fP
|
||||
Specify network interface to bind.
|
||||
Send traffic through specific network interface.
|
||||
|
||||
For example, there are three interfaces in your device, which is lo (127.0.0.1),
|
||||
eth0 (192.168.0.1) and eth1 (192.168.0.2). Meanwhile, you configure \*(Se to
|
||||
listen on 0.0.0.0:8388 and bind to eth1. That results the traffic go out through
|
||||
eth1, but not lo nor eth0. This option is useful to control traffic in
|
||||
multi-interface environment.
|
||||
.TP
|
||||
.B \-u
|
||||
Enable UDP relay.
|
||||
|
||||
+7
-1
@@ -90,7 +90,13 @@ Specify max number of open files.
|
||||
Only avaliable on Linux.
|
||||
.TP
|
||||
.B \-i \fIinterface\fP
|
||||
Specify network interface to bind.
|
||||
Send traffic through specific network interface.
|
||||
|
||||
For example, there are three interfaces in your device, which is lo (127.0.0.1),
|
||||
eth0 (192.168.0.1) and eth1 (192.168.0.2). Meanwhile, you configure \*(Tu to
|
||||
listen on 0.0.0.0:8388 and bind to eth1. That results the traffic go out through
|
||||
eth1, but not lo nor eth0. This option is useful to control traffic in
|
||||
multi-interface environment.
|
||||
.TP
|
||||
.B \-b \fIlocal_address\fP
|
||||
Specify local address to bind.
|
||||
|
||||
Reference in New Issue
Block a user