The ports I am using for the clients are tcp/udp 60010-60011
My iptables look like this:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-ds
ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:60010
ACCEPT tcp -- anywhere anywhere tcp dpt:60010
ACCEPT tcp -- anywhere anywhere tcp dpt:60011
ACCEPT udp -- anywhere anywhere udp dpt:60011
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
And the log from the client looks like this....# Generated by iptables-save v1.3.8 on Tue Aug 26 18:10:37 2008
*filter
:INPUT DROP [128:54543]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [2723:1384052]
-A INPUT -i eth0 -p tcp -m tcp --dport 445 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 139 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p udp -m udp --dport 60010 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 60010 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 60011 -j ACCEPT
-A INPUT -p udp -m udp --dport 60011 -j ACCEPT
COMMIT
# Completed on Tue Aug 26 18:10:37 2008
Why would there be a problem to connect TO the tracker? =/[2008/08/26 - 19:08:50] error: Problem connecting to tracker - (-2, 'Name or service not known')
And last, netstat -lp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 4378/mysqld
tcp 0 0 *:60011 *:* LISTEN 4649/python
tcp 0 0 *:netbios-ssn *:* LISTEN 4477/smbd
tcp 0 0 *:www *:* LISTEN 4549/apache2
tcp 0 0 192.168.0.6:domain *:* LISTEN 4257/named
tcp 0 0 localhost:domain *:* LISTEN 4257/named
tcp 0 0 localhost:ipp *:* LISTEN 4460/cupsd
tcp 0 0 localhost:953 *:* LISTEN 4257/named
tcp 0 0 *:microsoft-ds *:* LISTEN 4477/smbd
tcp6 0 0 [::]:domain [::]:* LISTEN 4257/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 4280/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 4257/named
getnameinfo failed
getnameinfo failed
udp 0 0 192.168.0.6:netbios-ns *:* 4475/nmbd
udp 0 0 *:netbios-ns *:* 4475/nmbd
udp 0 0 192.168.0.6:netbios-dgm *:* 4475/nmbd
udp 0 0 *:netbios-dgm *:* 4475/nmbd
udp 0 0 192.168.0.6:domain *:* 4257/named
udp 0 0 localhost:domain *:* 4257/named
udp 0 0 *:bootpc *:* 3850/dhclient3
udp 0 0 *:56689 *:* 4257/named
udp6 0 0 [::]:domain [::]:* 4257/named
udp6 0 0 [::]:41024 [::]:* 4257/named
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 11842 4492/winbindd /tmp/.winbindd/pipe
unix 2 [ ACC ] STREAM LISTENING 11577 4378/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 11846 4492/winbindd /var/run/samba/winbindd_privileged/pipe
unix 2 [ ACC ] STREAM LISTENING 11749 4460/cupsd /var/run/cups/cups.sock
and last but not least, the interfaces file...
GNU nano 2.0.7 File: /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
pre-up iptables-restore < /iptables
auto eth0
iface eth0 inet dhcp
I can't see the error =/