aboutsummaryrefslogtreecommitdiff
path: root/network/obfs4proxy/README.Slackware
diff options
context:
space:
mode:
authorthnkman <thnkman@proton.me>2024-08-23 07:50:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-23 10:05:41 +0700
commit84d0b79931f34e84a4c494dfe023c1b90b951238 (patch)
treeb0062e52f8c92b27bc1c3358ba22caa81e904f71 /network/obfs4proxy/README.Slackware
parent9ad1df489ce2d24252e66c7c33eb568b36370415 (diff)
network/obfs4proxy: Added (The obfourscator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/obfs4proxy/README.Slackware')
-rw-r--r--network/obfs4proxy/README.Slackware34
1 files changed, 34 insertions, 0 deletions
diff --git a/network/obfs4proxy/README.Slackware b/network/obfs4proxy/README.Slackware
new file mode 100644
index 0000000000000..3ad8d4f96a1ce
--- /dev/null
+++ b/network/obfs4proxy/README.Slackware
@@ -0,0 +1,34 @@
+Client side torrc configuration:
+
+ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy
+
+Bridge side torrc configuration:
+
+# Act as a bridge relay.
+BridgeRelay 1
+
+# Enable the Extended ORPort
+ExtORPort auto
+
+# Use obfs4proxy to provide the obfs4 protocol.
+ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
+
+# (Optional) Listen on the specified address/port for obfs4 connections as
+# opposed to picking a port automatically.
+#ServerTransportListenAddr obfs4 0.0.0.0:443
+
+Tips and tricks
+
+On modern Linux systems it is possible to have obfs4proxy bind to reserved ports (<=1024)
+even when not running as root by granting the CAP_NET_BIND_SERVICE capability with setcap:
+
+# setcap 'cap_net_bind_service=+ep' /usr/bin/obfs4proxy
+
+obfs4proxy can also act as an obfs2 and obfs3 client or server.
+Adjust the ClientTransportPlugin and ServerTransportPlugin lines in the torrc as appropriate.
+
+obfs4proxy can also act as a ScrambleSuit client.
+Adjust the ClientTransportPlugin line in the torrc as appropriate.
+
+The autogenerated obfs4 bridge parameters are placed in DataDir/pt_state/obfs4_state.json.
+To ease deployment, the client side bridge line is written to DataDir/pt_state/obfs4_bridgeline.txt.