-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtorrcli.conf.example
More file actions
137 lines (91 loc) · 3.58 KB
/
torrcli.conf.example
File metadata and controls
137 lines (91 loc) · 3.58 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# ============================
# TorrCLI Configuration File
# ============================
[general]
# Path to the UNIX socket used for daemon communication
socket_path = /tmp/torrcli_daemon.sock
# File to store the daemon PID
pid_file = /tmp/torrcli_daemon.pid
# Directory to store torrent data, .torrent files, and fastresume files
data_dir = ~/.local/share/torrcli
# Default directory where downloaded files are saved
default_save_path = ~/Downloads
# Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL
log_level = INFO
[network]
# Interfaces/ports for incoming connections (set to VPN IP/interface to limit to VPN)
listen_interfaces = 0.0.0.0:6881
# Interfaces/IPs for outgoing TCP peers (set to VPN IP/interface to force traffic via VPN)
outgoing_interfaces =
# Enable Distributed Hash Table (DHT) for peer discovery
dht_enabled = true
# Enable Local Service Discovery (LSD) to find peers on local network
lsd_enabled = false
# Enable UPnP for automatic port forwarding on routers
upnp_enabled = true
# Enable NAT-PMP for automatic port forwarding
natpmp_enabled = true
# Enable outgoing uTP connections (micro transport protocol)
outgoing_utp_enabled = true
# Enable incoming uTP connections
incoming_utp_enabled = true
# Enable outgoing TCP connections
outgoing_tcp_enabled = true
# Enable incoming TCP connections
incoming_tcp_enabled = true
[limits]
# Maximum download speed in bytes per second (0 = unlimited)
max_download_speed = 0
# Maximum upload speed in bytes per second (0 = unlimited)
max_upload_speed = 0
# Maximum number of torrents allowed to download simultaneously
max_active_downloads = 3
# Maximum number of torrents allowed to upload simultaneously
max_active_seeds = 5
# Minimum seeding ratio before auto-stopping seeding (e.g. 200 = seed until uploaded is 2x downloaded; value is in percentage)
share_ratio_limit = 200
[session]
# Resume incomplete torrents on startup
auto_start = true
# Automatically remove torrent after download completes (overrides seed_after_download)
remove_after_download = false
# Automatically start seeding after download completes
seed_after_download = true
[security]
# Hides user-agent, IP, and disables features that may leak identity (may break some trackers)
anonymous_mode = false
# Ensures secure (SSL) trackers have valid certificates
validate_https_trackers = true
# Hides actual infohash during DHT lookups
dht_privacy_lookups = true
# Avoids DHT contacts with private/reserved IPs
dht_ignore_dark_internet = true
# Blocks tracker/web seed requests to localhost or internal IPs
ssrf_mitigation = true
# Allow outgoing encrypted connections (0=forced, 1=enabled, 2=disabled)
out_enc_policy = 1
# Allow incoming encrypted connections
in_enc_policy = 1
# Support both plaintext and RC4 (1=plaintext, 2=rc4, 3=both)
allowed_enc_level = 3
# Prefer RC4 over plaintext (might be less compatible)
prefer_rc4 = false
[proxy]
# 0 = Disabled, 1 = SOCKS5, 2 = SOCKS5 with auth, 3 = HTTP, 4 = HTTP with auth
proxy_type = 0
# Address of your proxy (e.g., local Tor/SOCKS5 server)
proxy_hostname = 127.0.0.1
# Port on which the proxy server is listening
proxy_port = 9050
# Username for authenticated proxies (used only if proxy_type requires it)
proxy_username =
# Password for authenticated proxies
proxy_password =
# Resolve hostnames through the proxy server to prevent DNS leaks
proxy_hostnames = true
# Route all peer connections through the proxy
proxy_peer_connections = true
# Route all tracker connections through the proxy
proxy_tracker_connections = true
# Force all BitTorrent traffic (including DHT, LSD, PEX) to go through proxy
force_proxy = true