diff options
Diffstat (limited to 'modules/tlmp/rtorrent.rc')
| -rw-r--r-- | modules/tlmp/rtorrent.rc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/tlmp/rtorrent.rc b/modules/tlmp/rtorrent.rc index ec9b989..3ac20e7 100644 --- a/modules/tlmp/rtorrent.rc +++ b/modules/tlmp/rtorrent.rc @@ -22,16 +22,18 @@ execute.throw = bash, -c, (cat,\ ############################################################################# # Listening port for incoming peer traffic (fixed; you can also randomize it) -# network.port_range.set = 6881-6881 +network.port_range.set = 6881-6881 network.port_random.set = no +network.local_address.set = 45.152.210.73 + # Get Public IP -method.insert = get_public_ip_address, simple|private, "execute.capture=bash,-c,\"eval echo -n \$(natpmpc -g 10.2.0.1 -a 1 0 tcp 60 | awk '/Public IP address :/ { print $5 }')\"" -schedule2 = ip_tick, 5, 45, "network.local_address.set=(get_public_ip_address)" +# method.insert = get_public_ip_address, simple|private, "execute.capture=bash,-c,\"eval echo -n \$(natpmpc -g 10.2.0.1 -a 1 0 tcp 60 | awk '/Public IP address :/ { print $5 }')\"" +# schedule2 = ip_tick, 5, 45, "network.local_address.set=(get_public_ip_address)" # Get Forwarded port -method.insert = get_port_forward, simple|private, "execute.capture=bash,-c,\"eval echo -n \$(natpmpc -g 10.2.0.1 -a 1 0 tcp 60 | awk '/Mapped public port/ { print $4 }')\"" -schedule2 = port_tick, 6, 45, "network.port_range.set=(get_port_forward)" +# method.insert = get_port_forward, simple|private, "execute.capture=bash,-c,\"eval echo -n \$(natpmpc -g 10.2.0.1 -a 1 0 tcp 60 | awk '/Mapped public port/ { print $4 }')\"" +# schedule2 = port_tick, 6, 45, "network.port_range.set=(get_port_forward)" # Tracker-less torrent and UDP tracker support # (conservative settings for 'private' trackers, change for 'public') @@ -48,6 +50,9 @@ execute.nothrow = chmod,777,/run/rtorrent/rpc.sock # Throttles & Limits ############################################################################# +# throttle.global_down.max_rate.set_kb = 50000 +# throttle.global_up.max_rate.set_kb = 50000 + throttle.max_uploads.set = 250 throttle.max_uploads.global.set = 500 |
