Last night, I learned all about handling BitTorrent behind an IPCop box. We have multiple systems in our new apartment, and we wanted to be able to run BitTorrent clients on each system, but were having connectivity problems. Specifically, new connections to files we were seeding were getting dropped.

The problem

The basic problem is that while a firewall that uses NAT to turn one public facing IP into a network that multiple internal systems uses (one-to-many NAT) works fine for more or less stateless protocols such as HTTP, peer to peer protocols such as BitTorrent have problems. When an outside client wants to leech from my BitTorrent seed, how does it know to grab the torrent I'm seeding, rather than hitting my roommate's computer, which may or may not be seeding anything, much less the torrent in question?

The solution

I started knowing that BitTorrent typically uses ports 6881-6889 (actually, 6881-6999 after BT 3.2). After a little dredging of BitTorrent FAQs. I found that "the client starts with the lowest port in the range and sequentially tries higher ports until it can find one to which it can bind." This immediately suggested a simple and elegant solution.

Given computer 1, computer 2, ... computer N, the solution is to port-forward (on your firewall) one part of the BitTorrent port range to computer 1, another part to another computer 2, and so on until you have as many port range segregations as you have computers. Then, configure the BitTorrent clients on each machine to use the port ranges you've assigned to that particular system. Problem solved.

Here's a sample configuration:

Port range Destination Notes
6881-6885 192.168.168.50 (Computer 1) Pre-v3.2 ports
6886-6889 192.168.168.70 (Computer 2) Pre-v3.2 ports
6890-6945 192.168.168.50 (Computer 1) Post-v3.2 ports
6946-6999 192.168.168.70 (Computer 2) Post-v3.2 ports

Note that these port ranges are set in two places: in your firewall's port-forwarding table, and on the BitTorrent clients on each system.

This is a simple and obvious solution once you know that BitTorrent clients don't force a single port for the peer-to-peer connection but select from a pool. It is possible that everybody knows that, so the solution is a no-brainer, or most BitTorrent users only connect from a single client or use UPnP, so partitioning the ports is irrelevant. If not, save yourself some trouble and segment your BitTorrent port range.


Comments

There are no comments right now.

thank, useful information
It is not a good idea to use the default Bittorrent ports (6881-6999) because most ISP's block or throttle the connection. It is better to use any ports above 10000 and to also encrypt the connection also helps speed up the seeding and leeching. I have not done it yet through a proxy but it would probably work better by having both that and using encryption provided by the bittorrent client. I recommend using theses Bittorrent clients for Windows and linux Utorrent (if you use wine but if not use ktorrent), for mac os x use Azureus.
However mean your life is,meet it wow goldand live it ;do not shun it and call it hard names.It is not so bad as you are.It looks poorest when you are richest.The fault-finderwow gold will find faults in paradise.love your life,poor as it is.You may perhaps have some pleasant,thrilling,glorious hourss,even in a poor-house.The setting sun is reflected from the windowswow gold of the alms-house as brightly as from the rich man’s abode;the snow melts before its door as early in wow goldthe spring.I do not see but a quiet mind may live as contentedly there,and have as cheering wow goldthoughts,as in a palace.The town’s poor wow goldseem to me often to live the most independent lives of any.May be they are simply great enough to receive without misgiving.Most thinkwow gold that they are above being supported by the town;but it often happens that wow goldthey are not above supporting themselves by dishonest means.which should be more disreputable.Cultivatewow gold poverty like a garden herb,like sage.Do not trouble yourself much to get new things,whether wow gold clothes or friends,Turn the old,return to them.Things do not change;we change.Sell your clothes and keep your thoughts.
No young man believeswow power leveling he shall ever die. It was a saying wow power leveling of my brother’s, and a fine buy wow goldone. There is a feeling of Eternity in youth, which makes us amend cheap wow goldfor everything. To be young is to be as one of the Immortal wow power levelingGods. One half of time indeed is flown-the other half remains buy wow goldin store for us withcheap wow gold all its countless treasures; forwow power leveling there is no line drawn, and we see no limit to our hopes and wishes. We make the buy wow goldcoming age our own -- The vast, the unbounded prospect lies before uscheap wow gold Death. old age. arewow power leveling words without a meaning. that pass by us like the idea air which we regard not. Others may have undergone, or may buy wow goldstill be liable to them-we "bear a charmed life”, whichcheap wow gold laughs to scornbuy wow gold all such sicklycheap wow gold fancies. As in setting out on delightful journey, we strain our eager gaze forward- Bidding the lovely scenes at buy wow golddistance hail!-and see no end to the landscape, new cheap wow goldobjects presenting themselves as we world of warcraft goldadvance; so, in the commencement of life, we set wow gold kaufenno bounds to our inclinations. nor to the wow geldunrestricted opportunities of gratifying them. we have as yet found nowow powerleveling obstacle, no disposition to flag; and it seems that we can go on so forever.
no disposition to flag; and it seems that we can go on so forever. rug rugs Designer rugs Counselling Aberdeen Hypnotherapy Aberdeen Hypnosis Aberdeen flexible coupling coupling MCSE ccna
It happened that a Dog wholesale clothinghad got a piece of meat andWholesale jewelry was carrying it home in his mouth wholesale handbagsto eat it in peace. Now, on his way Wholesale handbagshome he had to cross a plank lying wholesale clothingacross a running brook. wholesale furnitureAs he crossed,Wholesale jewelry he looked down and saw his own shadow Micro sd cardsreflected in the water beneath. Furniture WholesaleThinking it was another dog with another piece of meat, he made up his mind to have that also. ugg bootsSo he made a snap at the shadow in the water, wholesale ugg bootsbut as he opened his mouth the piece of meat fell out, dropped into the water and was never seen more.
It happened that a Dog High pressure blowerhad got a piece of meat and Industrial fanwas carrying it home in his mouth toIndustrial blower eat it in peace. Now, on his way Commercial blowerhome he had to cross a plank lying acrossugg boots a running brook. As he crossed, uggshe looked down and saw his own shadow Wholesale clothingreflected in the water beneath. Thinking pressure blowerit was another dog with another piece pressure blowersof meat, he made up his mind to have fansthat also. So he made a snap at the shadowblowers in the water, but as Wholesale fashion jewelryhe opened his mouth the piece of meat fell out, Wholesale costume jewelrydropped into the water and was never seen more.
My father was a wholesale electronicsself-taught mandolin player.china electronics wholesale He was one of the best stringWholesale jewelry instrument players in our town. He could notWholesale Handbags read music, but if he heard a tune Furniturea few times, he could play it. When he was youngerWholesale Furniture, he was a member of a small country music band. Wholesale costume jewelryThey would play at local dances and on Wholesale fashion jewelrya few occasions would play for floor tilesthe local radio station. He bathroom tilesoften told us how he had 2)auditioned microsdand earned a position in a band that micro sd memory cardfeatured Patsy Cline as their lead singer. microsdHe told the family that after he was Wholesale apparelhired he never went back. Dad was wholesale consumer electronicsa very religious man. He stated that there was a lot of drinking and cursing the day of his audition and he did not want to be around that type of environment.
江原道化粧品お試しセット トリニティーラインお試しセット ブロードイオンの通販 ウィ アピシア 三七石鹸 ナノアクア ナチュラルソープ オフィス家具 通販 リバイタラッシュまつげ美容液 ベアミネラル:baremineral ビーグレン(ビバリーグレン):b-glen アンプルールお試しセット アスタリフトお試しセット レーサーダイエット 皇潤 皇潤 茶のしずくお試しセット アムラエッセンス レディースプエラリア99% ムチャチャ グラグラ 二重まぶたにする(なる)方法 セルブライト セルブライト リバイタラッシュ フェブリナ(フェヴリナ)ジェルパック まつげエクステ「アイラッシュ」通販 アイホーン 茶のしずく石鹸 茶のしずく石鹸 吉野家 牛丼通販 即日発行 クレジットカード クレジットカード 即日発行 ベトナム株の口座開設 ベトナム株の口座開設 酸素カプセルガイド カルジェルナビ スパリゾート 加圧トレーニングでいこう オーベルジュ=auberge= ダイエット食品 通販 外反母趾の予防と矯正ミニガイド H&M(へネス&モーリッツ)ミニガイド O脚の改善と矯正ミニガイド 電動自転車ミニガイド フーレセラピーミニガイド シロアリ対策ミニガイド 鈴虫寺 カルニチンクイーン カルニチンクイーン にんにく注射 質屋 大阪 質屋 東京 質屋 名古屋 借金相談 別れ方 湯たんぽ トモセラピー 歯並び 矯正 アートメイク 日焼けサロン 超音波エクステ TOIEC 勉強法 借金 無料相談 ベランダ ハト対策 黒鯛の釣り方 少年野球 ピッチング指導法 スノボー(スノーボード)の滑り方 薄毛対策・抜け毛対策 やずやの香酢 フーディア アルジルリン 化粧品お試しセット EGF化粧品パソアパソ アスタキュア 皇潤 
I think that there are many spam leter and post in this page !I hate this !
Excellent hardware and even better software are strong wow goldreasons for people to choose wow gold a Mac as their next computer. Many, no doubt, would also like to leave the world of wow goldWindows behind. If you're not
For some time nowbuy wow goldMacs have had the cheap wow goldability to run the wow power levelingmany applications written wow powerlevelingfor Windows, thanks EverQuest platsoftware called Boot buy eq goldCamp. But you have EverQuest gold to choose between Windows eq plator the Mac OS X eq goldat startup and you runescape goldsystems sharing one physical runescape moneycomputer. I suspect EverQuest 2 plat most Boot Camp eq2 platusers are running maple Story mesosintense Windows-only maplestory mesosgames and want the maximum maplestory mesoperformance on Apple hardwareMaple Story mesoA technology with the final fantasy 11 gilprovides a much better final fantasy 11 cheap gilanswer. New versions of two ffxi gilprograms on a Mac cheap ffxi gil so that they look dofus kamasalmost exactly like OS X kamas dofusprograms and behave that way, tooLOTRO GoldLOTR Goldat Tennesseelord of the ring goldTo use Parallels Warhammer goldand Fusion, which Buy Warhammer goldrequire less technical flyff penyaversions, you buy flyff goldproficiency than earlier flyff moneyHero online gold need a fairly recent maple Story mesosOnce you have installed Warhammer goldMac and a copy of WindowsBuy Warhammer goldthe software, you ffxi gilfollow the on-screen instructions LOTRO Gold
WOw GOld Store Welcome you! Look here to Buy WOW GOld, Cheap WOw Gold, Buy Cheap WoW gold and World Of Warcraft WoW goLD,wow gold on Sale with Fast Instant.We provide all wow geld services. You can buy wow goLd, Cheap wow golD here. We provide Cheap wOw gold to each loyal and reliable customer.you can buy wow GoLd here.we provide wow gOld guides, WOw gOld tips,woW goLD strategies,tactics.
出会い系サイト
出会い系人妻祭り
逢える出会い系
出会い系2009最新作
出会い系でも結婚できる!
出会い系で会うならメイプルストーリー
出会い系-OFFICIAL SITE-
マジで会える出会い系の秘密あなただけにこっそり教えちゃいます!
出会い系選挙
みんなの出会い系
横綱出会い系
パーフェクト出会い系
http://www.出会い系.com
これならできる!出会い系
出会い系meets
出会い系サクセス
出会い系で彼氏・彼女探し
出会い系の卵
出会い系辞典
出会い系人4世
出会い系フリークPlusα
Barron, 59,wow gold a former disguise expert for the CIA,wow gold helps seriously disfigured people blend back into society by designing prosthetic devices that look so real,wow power leveling most people don't notice they're there.2 A painter by training, Barron designs pores,wow gold veins and hair and skin imperfections into his silicone-layered creations - which have included fingers,wow power leveling hands, shoulders, ears and even entire faces.
The Japanese word for the lv ring phenomenon -- hikikomori -- translates Replica Watches as withdrawal, and it is Replica Handbagsbecoming increasingly study on his own familiar.Replica Handbag It is the subject of Coach Handbags television documentaries and newspaperGucci Handbags and magazine articles. Many Rolex Watches adult shut-ins start as Replica Rolex Watchesschool dropouts. For a country Designer clothingobsessed with education, Designer replica handbagsthere is a surprisingly high Wholesale jewelrynumber of dropouts. A record 134,Replica rolex watches000 elementary and juniorreplica handbags high students were absentreplica watches from school for at least 30 data processing servicestraight days during thedata processing 2000-01 school year, and that began more than data processtwice the number 10 years ago.
Abe said instead of enrolling her data processing serviceson's school years were normal,data processing but in high school he failed the data processuniversity his withdrawalentrance exam. data processing serviceThat is not unusual; most who data processingfail study for another yeardata process and try again. Abe's son said he was going to in a cram school.
At 5 a.m.onworld of warcraft gold Oct.2,Crossbuy wow gold and Andrews were wheeledcheap wow gold into separatedofus kamas operating rooms,eachkamas dofus staffed by a team ofFinal Fantasy XI gil eight doctors andffxi gil nurses.(Cheng wouldbuy ffxi gilfollow at 9 a.m.)Firstlotro gold Dr.Ghobrial openedlotr gold up Andrews. After seeingflyff penya that his liver was inbuy flyff gold fine shape, Ghobrialflyff money sliced off a Runescape Moneylittle more than halfRunescape Power leveling of the organ's right side.Runescape Gold In the room down thebuy wow gold hall, Dr. Busuttil beganFinal Fantasy XI gil to remove Cross's liverffxi gil.11:30 a.m.Busuttilbuy ffxi gil connected the partialUgg Boots liver from Andrews to Cross's now-emptyUgg Boots liver cavity, stitchingUgg Boots together veins, arteries and bile ducts.
I see see see
FX初心者[url=http://www.fxstartbook.com/]FX初心者[/url]
I was just thinking that this would be REALLY helpful if I knew how to get BitTorrent to work. After I set it up and find the torrent file I want to download, there are never any seeders, even after using different ports that other people recommend. Seems that working with torrent programs and files just takes too long.
Here, there is good news to inform you! Now all the players can buy wow gold , very cheap wow gold from our Web site, we have a lot of wow power leveling for sale as soon as possible mmoinn.com to buy it!

Post new comment

The content of this field is kept private and will not be shown publicly.
Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
4 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.