From 7ec589b1c2b47c69ccd30670dee3a26cc0045729 Mon Sep 17 00:00:00 2001 From: garywill Date: Sat, 7 Jan 2023 09:07:18 +0800 Subject: [PATCH] add some notice --- README.md | 8 ++++++-- lnxrouter | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) mode change 100755 => 100644 lnxrouter diff --git a/README.md b/README.md index a144074..6f055af 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ sudo lnxrouter -i lxcbr5 ### Transparent proxy -All clients' Internet traffic go through, for example, Tor +All clients' Internet traffic go through, for example, Tor (notice this example is NOT an anonymity use)
@@ -155,6 +155,10 @@ TransPort [fd00:5:6:7::1]:9040 DNSPort [fd00:5:6:7::1]:9053 ``` +> **Warn**: Tor's anonymity relies on a purpose-made browser. Using Tor like this (sharing Tor's network to LAN clients) will NOT ensure anonymity. +> +> Although we use Tor as example here, Linux-router does NOT ensure nor is NOT aiming at anonymity. +
### Clients-in-sandbox network @@ -173,7 +177,7 @@ sudo lnxrouter -i eth1 \ -> This script comes with no warrenty. Use on your own risk +> Linux-router comes with no warranty. Use on your own risk ### Use as transparent proxy for LXD diff --git a/lnxrouter b/lnxrouter old mode 100755 new mode 100644 index a47e8ef..52d6c9d --- a/lnxrouter +++ b/lnxrouter @@ -73,8 +73,8 @@ Options: --random-mac Use random MAC address --tp Transparent proxy, - redirect non-LAN TCP and UDP traffic to port. - (usually used with '--dns') + redirect non-LAN TCP and UDP(not tested) traffic to + port. (usually used with '--dns') WiFi hotspot options: --ap @@ -1037,7 +1037,7 @@ allow_dhcp() { # TODO: use 'DNAT' instead of '--to-ports' to support other IP start_redsocks() { echo - echo "iptables: transparent proxy non-LAN TCP/UDP traffic to port ${TP_PORT}" + echo "iptables: transparent proxy non-LAN TCP and UDP(not tested) traffic to port ${TP_PORT}" if [[ $NO4 -eq 0 ]]; then iptb 4 n nat N lrt${$}${SUBNET_IFACE}-TP || die iptb 4 n nat A lrt${$}${SUBNET_IFACE}-TP -d 0.0.0.0/8 -j RETURN || die