Editing transmission.sh for blocklist support
Transmission (bittorrent client) comes with blocklist support. Blocklist would allow transmission to block access to certain IP addresses. P2P users normally use level1 blocklist which contains IP addresses of anti-p2p companies, fake p2p file sources, government, military, science, research labs, bad education facilities, and more.
In order to enable blocklist support, you must be running transmission for fonz’s fun_plug 0.5. It is recommended that you know basic usage of “vi”.
Accessing your NAS
- Gain access to your NAS either through telnet or ssh
Editing transmission.sh
- Edit the transmission.sh file using the following command (vi /ffp/start/transmission.sh)
- Locate the block of commands under transmission_start()
- Locate the 4th line within that block. It should start with “su $user -c “$command -f -g ${TRANSMISSION_HOME} …“
- Add “-b” after “-f” so that the command now looks like “su $user -c “$command -f -b -g ${TRANSMISSION_HOME} …”
- Save the file
Restarting transmission
- Restart transmission using the following command (sh /ffp/start/transmission.sh restart)
Transmission would take slightly longer to start up if the blocklist contains a lot of entries. You should periodically update the blocklist for better security.
You can use blocklist downloader to download the latest bluetack blocklist. Do run blocklist downloader before starting transmission so that transmission can load the updated list.