Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   "finding peers" problem (http://www.bvlist.com/showthread.php?t=9332)

Dote 23rd July 2013 01:40

Quote:

Originally Posted by firefly007 (Post 41814)
Ok... got it

What Linux OS are you using ... make sure that ufw if Ubuntu/Deb has been disabled.
first see if its there and enabled
sudo ufw status
then type
sudo ufw disable

Check What firewall comes with your package!

Then open bittorrent ports.
iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT iptables -A OUTPUT -p tcp --source-port 6881:6999 -j ACCEPT

I'm assuming that you have a Linux/Deb OS

Also I asume that your paths are correct in your tracker/site config file.

when I'm trying to do "sudo ufw status" I get:
"sudo: ufw: command not found".

And when I'm trying to do "iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT iptables -A OUTPUT -p tcp --source-port 6881:6999 -j ACCEPT" I get:
"Bad argument `iptables'
Try `iptables -h' or 'iptables --help' for more information."

I'm using CentOS 5 and paths are correct.

firefly007 23rd July 2013 01:49

ah

in Centos

edit

vi /etc/sysconfig/iptables

and

Add the following lines, ensuring that they appear before the final LOG and DROP lines for INPUT chain:

Code:


## allow everyone to access port 80 and 443 (IPv4 Only)##

 -A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT

Then save and exit, you can find how to use VI editor here: http://www.cyberciti.biz/faq/save-fi...acos-unix-bsd/

Then restart IPtables with:

service iptables start

Dote 23rd July 2013 01:57

Quote:

Originally Posted by firefly007 (Post 41816)
ah

in Centos

edit

vi /etc/sysconfig/iptables

and

Add the following lines, ensuring that they appear before the final LOG and DROP lines for INPUT chain:

Code:


## allow everyone to access port 80 and 443 (IPv4 Only)##

 -A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT

Then save and exit, you can find how to use VI editor here: http://www.cyberciti.biz/faq/save-fi...acos-unix-bsd/

Then restart IPtables with:

service iptables start

I get an error:
Quote:

Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: nat mangle filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: iptables-restore: line 2 failed
[FAILED]

firefly007 23rd July 2013 02:11

Pm me your Iptable please

Dote 23rd July 2013 02:31

Quote:

Originally Posted by firefly007 (Post 41818)
Pm me your Iptable please

i sent you the iptable.

firefly007 23rd July 2013 03:33

Answered

and I made a mistake... it must be

Quote:

-A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT -A OUTPUT -p tcp --source-port 6881:6999 -j ACCEPT

Dote 23rd July 2013 13:39

Quote:

Originally Posted by firefly007 (Post 41824)
Answered

and I made a mistake... it must be

Still, the same error.
"pplying iptables firewall rules: iptables-restore: line 1 failed
[FAILED]"

Also when uploader upload torrent after few seconds he get an error "Tracker: reached timed out".

Now someone with seedbox uploaded torrent and he succeeded but everyone else failed.
And there is another one who rebooted his seedbox and now everything is fine but from uploader's computer they cant.

firefly007 26th July 2013 03:16

post your announce.php here!


All times are GMT +2. The time now is 12:09.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.