update rtorrent config
This commit is contained in:
parent
78cc02941f
commit
a2952a43e4
1 changed files with 21 additions and 3 deletions
|
|
@ -7,10 +7,28 @@ schedule2 = set_bind_address, 0, 0, \
|
||||||
"branch=((cfg.interface.bind)), \
|
"branch=((cfg.interface.bind)), \
|
||||||
((network.bind_address.set,(get_interface_ipv4_address,(cfg.interface.bind))))"
|
((network.bind_address.set,(get_interface_ipv4_address,(cfg.interface.bind))))"
|
||||||
|
|
||||||
dht.mode.set = on
|
# Port range to use for listening. (port_range)
|
||||||
|
network.port_range.set = @dhtPort@-@dhtPort@
|
||||||
|
|
||||||
|
# Enable/disable peer exchange for torrents that aren't marked private. Disabled by default. (peer_exchange)
|
||||||
|
protocol.pex.set = 1
|
||||||
|
|
||||||
|
# Set whether the client should try to connect to UDP trackers (It can cause various problems if it's enabled, if you experience any with this option enabled then disable it.)
|
||||||
|
trackers.use_udp.set = 1
|
||||||
|
|
||||||
|
# Enable DHT support for trackerless torrents or when all trackers are down.
|
||||||
|
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
|
||||||
|
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
|
||||||
|
# The default is "off".
|
||||||
|
# For DHT to work, a session directory must be defined.
|
||||||
|
dht.mode.set = auto
|
||||||
dht.port.set = @dhtPort@
|
dht.port.set = @dhtPort@
|
||||||
protocol.pex.set = yes
|
|
||||||
trackers.use_udp.set = yes
|
# Adding public DHT servers for easy bootstrapping
|
||||||
|
schedule2 = dht_node_1, 5, 0, "dht.add_node=router.utorrent.com:6881"
|
||||||
|
schedule2 = dht_node_2, 5, 0, "dht.add_node=dht.transmissionbt.com:6881"
|
||||||
|
schedule2 = dht_node_3, 5, 0, "dht.add_node=router.bitcomet.com:6881"
|
||||||
|
schedule2 = dht_node_4, 5, 0, "dht.add_node=dht.aelitis.com:6881"
|
||||||
|
|
||||||
# Enable the default ratio group.
|
# Enable the default ratio group.
|
||||||
ratio.enable=
|
ratio.enable=
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue