Koozali.org: home of the SME Server

Port forwarding/torrents driving me nuts!

MajikNWA

Port forwarding/torrents driving me nuts!
« on: October 27, 2006, 12:37:18 PM »
I've just upgraded to SME7 from 6 (great job, by the way - kudos!).

As I run a lot of Open Source training sessions I tend to have torrents running a lot of the time, and up until now have bypassed SME to do this. However, I have decided I want to increase security by having everything  behind SME and for some reason I cannot get the blasted thing to work!

The network works like this:

ADSL Line ---> D-Link DSL-514T ---> SME Server ---> Clients via managed switch

Up until I changed it, I had a standalone PC coming off the D-Link purely for torrents (which was a pain, to say the least). I opened up a port (lets call it port 44444) on the D-Link and everything was fine through torrent software (I eventually stuck with uTorrent). I have forwarded port 44444 to the SME Server (in fact, I've set the SME as a DMZ to make sure once or twice).

I have forwarded port 44444 in SME Server to the client IP I want to use, but it still will not connect. I've tried using socks 4,5 and http for the proxy, but despite seeing swarms I cannot get any data at all. No DHT logon - nothing.

It's driving me crackers! Anyone managed to get uTorrent or any torrent software working behind SME?

Many thanks in advance,

Majik

egerards

Port forwarding/torrents driving me nuts!
« Reply #1 on: October 27, 2006, 02:12:10 PM »
From your description I get the impression that you're doing NAT translation twice (unless your D-Link is operating in bridge mode). Result: port forwarding = crappy.

If you want to use your SME server in router/gateway mode, make sure that the D-Link is bridging and not routing, i.e. your public ip address is attached to the external network interface of your SME server.

Once that's the case you can simply forward the necessary ports to the pc that is running uTorrent and you're off to go. I'm running such a setup and I've got no problems.