Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:tor:client [2023/08/27 09:41] – [2. Firewall] vgaetera | docs:guide-user:services:tor:client [2023/10/14 13:39] – [Introduction] vgaetera | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * This how-to describes the method for setting up [[wp> | * This how-to describes the method for setting up [[wp> | ||
| * Tor is limited to DNS and TCP traffic, use [[docs: | * Tor is limited to DNS and TCP traffic, use [[docs: | ||
| - | * Follow [[docs: | + | * Follow [[docs: |
| ===== Goals ===== | ===== Goals ===== | ||
| Line 42: | Line 42: | ||
| uci add_list tor.conf.tail_include="/ | uci add_list tor.conf.tail_include="/ | ||
| uci commit tor | uci commit tor | ||
| - | / | + | service |
| </ | </ | ||
| Line 77: | Line 77: | ||
| uci -q delete firewall.@forwarding[0] | uci -q delete firewall.@forwarding[0] | ||
| uci commit firewall | uci commit firewall | ||
| - | / | + | service |
| </ | </ | ||
| ==== 3. DNS over Tor ==== | ==== 3. DNS over Tor ==== | ||
| {{section> | {{section> | ||
| - | {{section> | ||
| Redirect DNS traffic to Tor and prevent DNS leaks. | Redirect DNS traffic to Tor and prevent DNS leaks. | ||
| Line 88: | Line 87: | ||
| <code bash> | <code bash> | ||
| # Enable DNS over Tor | # Enable DNS over Tor | ||
| - | / | + | service |
| uci set dhcp.@dnsmasq[0].boguspriv=" | uci set dhcp.@dnsmasq[0].boguspriv=" | ||
| uci set dhcp.@dnsmasq[0].rebind_protection=" | uci set dhcp.@dnsmasq[0].rebind_protection=" | ||
| Line 96: | Line 95: | ||
| uci add_list dhcp.@dnsmasq[0].server=":: | uci add_list dhcp.@dnsmasq[0].server=":: | ||
| uci commit dhcp | uci commit dhcp | ||
| - | / | + | service |
| </ | </ | ||
| - | |||
| - | ==== Automated ==== | ||
| - | Automated Tor client installation. | ||
| - | |||
| - | <code bash> | ||
| - | URL=" | ||
| - | cat << EOF > tor-client.sh | ||
| - | $(wget -U "" | ||
| - | $(wget -U "" | ||
| - | $(wget -U "" | ||
| - | $(wget -U "" | ||
| - | $(wget -U "" | ||
| - | EOF | ||
| - | sh tor-client.sh | ||
| - | </ | ||
| - | |||
| ===== Testing ===== | ===== Testing ===== | ||
| Verify that you are using Tor. | Verify that you are using Tor. | ||
| - | * [[https:// | + | * [[https:// |
| Check your IP and DNS provider. | Check your IP and DNS provider. | ||
| - | * [[https:// | + | * [[https:// |
| - | * [[https:// | + | * [[https://www.dnsleaktest.com/ |
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| Line 128: | Line 111: | ||
| <code bash> | <code bash> | ||
| # Restart services | # Restart services | ||
| - | / | + | service |
| # Log and status | # Log and status | ||