dperson / torproxy

GNU Affero General Public License v3.0
514 stars 144 forks source link

Undo tor-route-all-traffic.sh? #59

Open johncadengo opened 3 years ago

johncadengo commented 3 years ago

Hi, it's nice that there's a script to route all traffic through TOR. Before running such a script, I'm wondering, is there a way to undo it if you want restore your prior settings or default settings?

johncadengo commented 3 years ago

@dperson Reading through this script, I would not recommend anyone run it if they don't know what they're doing. You should probably remove it from this repo. The main lines here:

### flush iptables
iptables -F
iptables -t nat -F

Essentially erase all your iptables, including the ones that Docker set up. And I don't see anywhere in the script that would restore them or backup your old tables.