|2007-05-26, 08:42||Link #21|
2013 Best Female - Saki
Join Date: Nov 2006
Location: The New World
If you're using a firewall that is based on iptables (usually most of the default firewalls in Linux), you'll need to add a rule that opens your BT port. You'll need to do this as root.
1) Check the rules in place:
# iptables -L -v
will list nearly all the rules except for those in tables like "nat". Those don't matter for BT.
2) Find the file that loads the rules at boot. On RedHat/Fedora-flavored systems, this is the file /etc/sysconfig/iptables. I don't know where this file resides in Ubuntu, but I'm sure someone else here can help.
3) Add these two rules somewhere in the list of rules before the last rule which is usually a default deny rule:
/sbin/iptables -A INPUT -p tcp -d your.external.ip.address --dport your.bt.port -j ACCEPT /sbin/iptables -A OUTPUT -p tcp -d 0/0 --dport your.bt.port -j ACCEPT
If you are behind a router, your.external.ip.address is the address that talks to the router; it could be a 192.168.x.y type of address. If you trust your router, you can just disable firewalling on the machines behind it, then you won't have these problems at all.