obfs-local - simple-obfs client
obfs-local
[-6] [-h|--help]
[-s
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.
Set the server’s hostname or IP.
Set the server’s port number.
Set the local port number.
Run as a specific user.
Start obfs-simple as a daemon with specific pid file.
Set the socket timeout in seconds. The default value is 60.
Use a configuration file.
Specify max number of open files.
Only available on Linux.
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 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.
Specify local address to bind.
Resovle hostname to IPv6 address first.
Enable TCP fast open.
Only available with Linux kernel > 3.7.0.
Enable Multipath TCP.
Only available with MPTCP enabled Linux kernel.
Enable HTTP or TLS obfuscating. (Experimental)
Specify the hostname for obfuscating. (Experimental)
Specify the HTTP path uri for obfuscating. (Experimental)
Enable verbose mode.
Print help message.
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
Last updated 2019-09-26 11:44:34 UTC