4NK_node/conf/tor.conf
Debian fe3012ef2f
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 46s
CI - 4NK_node / Unit Tests (push) Failing after 30s
CI - 4NK_node / Integration Tests (push) Failing after 11s
CI - 4NK_node / Security Tests (push) Failing after 29s
CI - 4NK_node / Docker Build & Test (push) Failing after 10s
CI - 4NK_node / Documentation Tests (push) Failing after 3s
CI - 4NK_node / Security Audit (push) Successful in 3s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 29s
CI - 4NK_node / Notify (push) Failing after 2s
CI - 4NK_node / Publish Release (push) Has been skipped
chore: centralise conf, HTTP-only nginx, RPC 38332, remove cookie, fix network CIDR, drop *.backup from VCS
2025-09-02 11:14:04 +00:00

39 lines
755 B
Plaintext

# Configuration Tor pour 4NK_node
# Proxy SOCKS et contrôle
# Répertoire de données
DataDirectory /var/lib/tor
PidFile /var/lib/tor/tor.pid
# Interface SOCKS
SocksPort 9050
SocksListenAddress 0.0.0.0
# Interface de contrôle
ControlPort 9051
ControlListenAddress 0.0.0.0
# Authentification du contrôle
CookieAuthentication 1
# Configuration des circuits
CircuitBuildTimeout 30
LearnCircuitBuildTimeout 0
EnforceDistinctSubnets 1
# Configuration des nœuds de sortie
ExitNodes {fr},{de},{nl},{ch}
StrictExitNodes 1
# Configuration des relais
RelayBandwidthRate 100 KB
RelayBandwidthBurst 200 KB
# Logs
Log notice file /var/lib/tor/notice.log
Log info file /var/lib/tor/info.log
Log debug file /var/lib/tor/debug.log
# Sécurité
SafeLogging 1