Hi, I am running a BitTorrent Tracker on Mandrake 9.2, its working great, I always use python code, been usig it for about 1½ years now, just upgraded to 3.4
Anyway, I need this one progam to listen and respond on both ports 6969 and 3434, now when I start the program I use the built in command line arguments;
Code:
#python bttrack.py --port 6969 --dfile dstate
Thats all that is needed to get it running. No I dont want to have to run 2 different trackers, one for each port, so the Dev guys suggested Iptables. This is 100% geek talk to me, as I am very very new to Linux.
I istalled the IPtables packages and added the following line as root:
Code:
#iptables -t nat -A PREROUTING -p tcp --dport 3434 -j REDIRECT --to-ports 6969
Now, when you access my tracker on the following URl you can see it, hxxp://english-man.mine.nu:6969 and on hxxp://english-man.mine.nu:3434
There is 2 porblems now, the first is that I cannot see port 3434, at all, I get connection timouts, I cant even see it at localhost:3434.
The second is that the tracker is listening to the /announce's on 3434 but is not responding, all the clients are sat with "connecting to peers". I need this to work ASAP as I need to have sever trackers redirected to my box.
If anyone has any advice/suggestions on how to make port 3434 redirect everything to 6969 and for it to all the tracker to respond to it, please respond.
Thanks in advance!
English_Man