GuidesTech

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

  1. Gain access to your NAS either through telnet or ssh

Editing transmission.sh

  1. Edit the transmission.sh file using the following command (vi /ffp/start/transmission.sh)
  2. Locate the block of commands under transmission_start()
  3. Locate the 4th line within that block. It should start with “su $user -c “$command -f -g ${TRANSMISSION_HOME} …
  4. Add “-b” after “-f” so that the command now looks like “su $user -c “$command -f -b -g ${TRANSMISSION_HOME} …
  5. Save the file

Restarting transmission

  1. 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.

 

Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

This site contains links to Amazon. These links will take you to some of the products mentioned in today’s article. As an Amazon Associate, I earn from qualifying purchases.
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments