OBFS-SERVER(1)

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

🌈 OBFS-SERVER(1) 🌈

okay bestie, welcome to the obfs-server(1) page from the Shadowsocks-libev Manual πŸ’– this is the simple-obfs server, and we're gonna get into every single flag, default, path, and example β€” no gatekeeping, no skipped details, periodt ✨


🌸 NAME 🌸

obfs-server β€” simple-obfs server 🫢


✨ SYNOPSIS ✨

here's the synopsis, copied with love and exact characters πŸ’…

obfs-server [-v] [-h|--help] [-s <server_host>] [-p <server_port>] [-l
<local_port>] [-r <addr>:<port>] [-f <pid_file>] [-t <timeout>] [-c
<config_file>] [-i <interface>] [-a <user_name>] [-d <dns_addr>] [-n
<nofile>] [-b <local_address] [--fast-open] [--mptcp]

πŸ¦‹ DESCRIPTION πŸ¦‹

Obfs-simple is a very simple obfuscating tunnel tool β€” like, that is genuinely its whole brand πŸ’…

Obfs-simple is written in pure C and takes advantage of libev to achieve both high performance and low resource consumption ✨ lowkey iconic.

Obfs-simple consists of two components. obfs-server(1) works as a standard tunnel on remote machines to obfuscate TCP traffic πŸ›°οΈ


πŸ’… OPTIONS πŸ’…

every flag, every default, zero gatekeeping β€” let's go πŸ‘‘

  • -s <server_host> β€” set the server’s hostname or IP.
  • -p <server_port> β€” set the server’s port number.
  • -a <user_name> β€” run as a specific user.
  • -f <pid_file> β€” start simple-obfs as a daemon with 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 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-server 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> β€” specify local address to bind.
  • -6 β€” Resovle hostname to IPv6 address first.
  • -d <addr> β€” Setup name servers for internal DNS resolver (libudns). The default server is fetched from /etc/resolv.conf.
  • --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.
  • --mptcp β€” enable Multipath TCP. Only available with MPTCP enabled Linux kernel.
  • --obfs <http|tls> β€” enable HTTP or TLS obfuscating. (Experimental)
  • -v β€” enable verbose mode.
  • -h|--help β€” print help message.

πŸŽ€ EXAMPLE πŸŽ€

It is recommended to use a config file when starting obfs-server(1) β€” highly recommend, bestie πŸ’–

The config file is written in JSON and is easy to edit. Check out the SEE ALSO section for the default path of config file.

# Start the obfs-server
obfs-server -c /etc/simple-obfs/config.json

πŸ“ SEE ALSO πŸ“


bye bestie 🫢 this page is from Shadowsocks-libev 0.0.5, dated 02/26/2024 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from