-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtorrc
More file actions
29 lines (22 loc) · 801 Bytes
/
Copy pathtorrc
File metadata and controls
29 lines (22 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Tor configuration for TorPC
# This creates a hidden service that forwards traffic to the local proxy
# Basic Tor settings
DataDirectory ./data/tor
Log notice file ./data/tor/tor.log
# Disable SOCKS proxy (we only need hidden service)
SocksPort 0
# Hidden service configuration
# This creates a .onion address that forwards to our local proxy
HiddenServiceDir ./data/tor/torpc/
HiddenServicePort 80 127.0.0.1:8080
# Optional: Additional hidden service for direct RPC access
# HiddenServicePort 8545 127.0.0.1:8545
# Security settings
# Restrict connections to localhost only
HiddenServiceAllowUnknownPorts 0
# Optional: Enable single hop mode for testing (REDUCES ANONYMITY)
# HiddenServiceSingleHopMode 1
# HiddenServiceNonAnonymousMode 1
# Connection settings
AvoidDiskWrites 1
RunAsDaemon 0