OBFS-LOCAL(1)

πŸ“¦
version 0.0.5 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… obfs-local(1) β€” simple-obfs client πŸ’…

okay bestie, welcome to the obfs-local(1) page from the Shadowsocks-libev Manual. This is the local-side icon of the obfs-simple situation, and we are gonna go through every flag like it's a group chat receipt. πŸ’–


🌸 NAME 🌸

obfs-local β€” simple-obfs client. That's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

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>]

πŸŽ€ DESCRIPTION πŸŽ€

Obfs-simple is lowkey a very simple obfuscating tunnel tool. No cap. 🫢

It's written in pure C and takes advantage of libev to achieve both high performance and low resource consumption. So it's giving efficient, not messy. πŸ’…

Obfs-simple consists of two components. obfs-local(1) works as a standard tunnel on local machines to obfuscate TCP traffic. Main character energy, honestly. πŸ‘‘


✨ OPTIONS ✨

  • -s <server_host> β€” set the server's hostname or IP. πŸ–₯️
  • -p <server_port> β€” set the server's port number. πŸ”’
  • -l <local_port> β€” set the local port number. πŸ“
  • -a <user_name> β€” run as a specific user. πŸ‘€
  • -f <pid_file> β€” start obfs-simple as a daemon with a specific pid file. 🧚
  • -t <timeout> β€” set the socket timeout in seconds. The default value is 60. ⏱️
  • -c <config_file> β€” use a configuration file. πŸ—‚οΈ
  • -n <number> β€” specify max number of open files. Only available on Linux. 🐧
  • -i <interface> β€” send traffic through a specific network interface. For example, there are three interfaces in your device: 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 a multi-interface environment. 🌐
  • -b <local_address> β€” specify local address to bind. πŸͺ’
  • -6 β€” resolve hostname to IPv6 address first. πŸ›°οΈ
  • --fast-open β€” enable TCP fast open. Only available with Linux kernel > 3.7.0. ⚑
  • --mptcp β€” enable Multipath TCP. Only available with MPTCP enabled Linux kernel. πŸ›£οΈ
  • --obfs <http|tls> β€” enable HTTP or TLS obfuscating. (Experimental) πŸ§ͺ
  • --obfs-host <hostname> β€” specify the hostname for obfuscating. (Experimental) πŸ§ͺ
  • -v β€” enable verbose mode. πŸ—£οΈ
  • -h|--help β€” print help message. πŸ†˜

🌈 EXAMPLE 🌈

obfs-local(1) can be started from the command line and run in the 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

πŸ’œ SEE ALSO πŸ’œ

obfs-server(1), /etc/simple-obfs/config.json


πŸ’– big kiss, bestie β€” this page is from Shadowsocks-libev 0.0.5, dated 02/26/2024. πŸ’–

πŸ“¦ where this page comes from