OBFS-LOCAL(1) | Shadowsocks-libev Manual | OBFS-LOCAL(1) |
obfs-local - simple-obfs client
obfs-local [-6] [-h|--help] [-s <server_host>] [-p <server_port>] [-l <local_port>] [-f <pid_file>] [-t <timeout>] [-c <config_file>] [-i <interface>] [-a <user_name>] [-b <local_address] [-n <nofile>] [--fast-open] [--obfs <http|tls>] [--obfs-host <hostname>]
Obfs-simple is a very simple obfuscating tunnel tool.
Obfs-simple is written in pure C and takes advantage of libev to achieve both high performance and low resource consumption.
Obfs-simple consists of two components. obfs-local(1) works as a standard tunnel on local machines to obfuscate TCP traffic.
-s <server_host>
-p <server_port>
-l <local_port>
-a <user_name>
-f <pid_file>
-t <timeout>
-c <config_file>
-n <number>
Only available on Linux.
-i <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 obfs-local 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.
-b <local_address>
-6
--fast-open
Only available with Linux kernel > 3.7.0.
--mptcp
Only available with MPTCP enabled Linux kernel.
--obfs <http|tls>
--obfs-host <hostname>
-v
-h|--help
obfs-local(1) can be started from command line and run in foreground. Here is an example:
# Start obfs-local with given parameters obfs-local -s example.com -p 12345 -l 1080 --obfs http --obfs-host www.baidu.com
obfs-server(1), /etc/simple-obfs/config.json
08/17/2019 | Shadowsocks-libev 0.0.5 |