Bittorent over SSH tunneling

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
randolf101
Posts: 4
Joined: Tue Jun 12, 2012 5:15 pm

Bittorent over SSH tunneling

Post by randolf101 »

Hi guys,

I am stuck behind a firewall'd network

I have been using this guide to http://torrentfreak.com/bittorrent-over-ssh-071014/ to bypass and download torrents.

I am now on a pogoplug and switched to archlinux and use transmission. I wish to know how can I setup an ssh tunnel on my system and use SOCKS settings on transmission.

on IRC i have been told transmission respects system wide proxy ..so how do i go about setting it up.

Noob here, so i request your patience.

thank you ..looking forward to some help soon.
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Bittorent over SSH tunneling

Post by rb07 »

randolf101 wrote:i have been told transmission respects system wide proxy
That has nothing to do with the bittorrent part, its for the tracker part, and not even all trackers, only the http/https trackers. For anyone interested you should see how libcurl uses this, or this post: viewtopic.php?f=2&t=13274#p59838.
randolf101
Posts: 4
Joined: Tue Jun 12, 2012 5:15 pm

Re: Bittorent over SSH tunneling

Post by randolf101 »

Code: Select all

$ export http_proxy="http://username:password@yourproxy.domain.com:proxyport/"
$ transmission-daemon
So, executing this code will allow me to bypass the firewall and allow connecting to trackers ?

And I need not make any changes to the transmission's settings.json ?
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Bittorent over SSH tunneling

Post by rb07 »

Nothing will really bypass the firewall.

Using a proxy only makes your real IP address untraceable (from the trackers), nothing more. And as I said, it doesn´t even work for all trackers.

Also disregard my previous comments over PM. Using one tunnel doesn´t solve the problem of going through a firewall that stops bittorrent. Its much more complicated than that, and the page about using SOCKS is either too old and doesn´t take into account modern use (TCP + UDP + IPv4 + IPv6 + many ports used + tracker rules), or is just a big pile of BS -- but now I understand why it proposes SOCKS (which Transmission doesn´t support), its to address the many ports issue (peer port + each tracker announce/scrape port).

The solution exists, but it is complicated, and probably your device doesn´t have the required functionality (iptables enabled in the kernel).

Using VPN (fully, not partially as other thread discuses) is the simplest solution. On the other hand, there are many partial solutions for specific cases (for instance, if you want to use a tracker that doesn´t care who you are, and what you do... )
randolf101
Posts: 4
Joined: Tue Jun 12, 2012 5:15 pm

Re: Bittorent over SSH tunneling

Post by randolf101 »

The situation is like this -->

I stay in a dorm. the dorm has some firewall setup from here - http://www.fortinet.com/products/fortigate/ .

This firewall restricts any sort of direct downloads and does not allow trackers to connect. they get timed out.

I need a feasible solution to resume torrent activity.

Being a noob at archlinux / linux . i request for your patience and guidance to configure whatever solutions you suggest :)
Post Reply