Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-06-2008, 12:41 AM   #1
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
set up proxy server on hosted website


I live in China and need to get past the firewall.

I've already set up my own proxy server on a private site with phproxy for viewing webpages, which works fine.

What I want to set up is a reliable server that I can tunnel tracker connects from rtorrent, as shown on this site:
Libtorrent uses curl so you can use proxy for http connections (tracker request/donwloading torrents) but probably not for p2p connections itself. Some example - I had problem with one tracker that didnt work in my network (local isp), I had to use external proxy, to do this I simply set one env. var:

http_proxy="" rxvt -title "rTorrent" -e rtorrent
I'd like to have a reliable proxy server though, (i.e. my own) - I'm wondering if there's any good web-based software for this purpose?
Old 09-06-2008, 04:06 AM   #2
Registered: May 2001
Posts: 29,393
Blog Entries: 55

Rep: Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564
Please be aware that using any proxy or proxy-like methods to bypass restrictions is considered a volatile (if not unwanted) topic on (LQ). The reason for that is that (most of the time) restrictions are enforced for reasons (uni LAN, workplace monitoring, et cetera) that makes bypassing it illegal. And LQ should not aid in that. Mitigating circumstances to counter that, like being located inside certain countries like the UAE or PRC, can't be used because they cannot be verified by us.
Also please note that:
- using a proxy *will not* be reliable due to "Internet weather" and you not being in control of the proxy,
- the proxy may be used to intercept and monitor traffic with whatever purpose by the proxy owners,
- if restrictions are placed they might as well be monitored and the amount of traffic generated might be a good indication to the watchmen that somebody is trying to bypass restrictions.

That said...
Originally Posted by secretlydead View Post
I'm wondering if there's any good web-based software for this purpose?
If you check you'll see Bittorrent needs different ports open for tracker nfo and for the actual transfers. With the local SOCKS solution you basically encapsulate requests over HTTP. This requires a remote SOCKS-capable proxy though. The other way could be to use a SSH SOCKS tunnel, see for instance That requires a remote shell though. Your requirement of methods being web-based (probably in the sense that you have a remote server account you can only put PHP-based things on) effectively kills all solutions: there are none I know (OK, but what do I know)...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I set up my old computer as a website server? darthyoda3 Linux - Server 5 03-04-2008 08:24 AM
set desktop to run as server to host website legalizeit Linux - Newbie 7 11-22-2006 02:10 PM
Virtual hosted website not found toes Linux - Networking 7 07-14-2006 03:11 PM
how to set up a proxy server? h3xis Linux - Networking 5 06-15-2005 03:37 PM
How Can I password protect a sub-directory of a hosted website from client PC mark001 Linux - Newbie 18 11-12-2004 02:29 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration