#2 2009-05-10 23:04:11
Re: rtorrent下载速度为什么无法超过200K/S
用的是rtorrent吗?看看.rtorrent.rc里的下载速度 download_rate 设定是多少
防火墙开rtorrent的端口,下面的端口是默认的,请根据你自己的情况修改
iptables -I INPUT 1 -p tcp --dport 51777:51780 -j ACCEPT
iptables -I INPUT 1 -p udp --dport 51777:51780 -j ACCEPT
iptables -I INPUT 1 -p tcp --dport 6881 -j ACCEPT
iptables -I INPUT 1 -p udp --dport 6881 -j ACCEPT
離線
#3 2009-05-13 12:41:54
Re: rtorrent下载速度为什么无法超过200K/S
rtorrent.conf的配置
scgi_port = localhost:5000
min_peers = 40
max_peers = 250
max_uploads = 10
download_rate = 0
upload_rate = 33
directory = /opt/bt/download/
session = /opt/bt/cache
schedule = watch_directory,5,5,load_start=/opt/bt/torrent/*.torrent
schedule = untied_directory,5,5,stop_untied=
schedule = untied_directory,5,5,close_untied=
schedule = untied_directory,5,5,remove_untied=
schedule = low_diskspace,5,60,close_low_diskspace=50M
port_range = 6890-6900
use_udp_trackers = yes
send_buffer_size = 1M
receive_buffer_size = 2M
encoding_list = UTF-8
dht = auto
dht_port = 6890
encryption = allow_incoming,enable_retry,prefer_plaintext
peer_exchange = yes
check_hash = no
hash_read_ahead = 5
hash_max_tries = 5
hash_interval = 10
post-firewall的配置
iptables -D INPUT -j DROP
# Rtorrent
iptables -A INPUT -p tcp --dport 6890:6900 -j ACCEPT
iptables -A INPUT -p ucp --dport 6890 -j ACCEPT
iptables -A INPUT -j DROP
離線