Firewall

  • mirami
Posted: Thu, 05/01/2008 - 16:10
Hello, I just tried Bittornado first time and I've got yellow mark (this mean some troubles with ports). I want to ask if there is some Firewall installed by default in 64studio. If yes how to set-up this to allow some ports? I didn't found any info about this. Thanks for help

What "no firewall" looks like with iptables

  • gabrbedd
  • 06/29/08
  • Sun, 06/29/2008 - 22:33
It's most likely an issue with your ISP blocking ports. Verizon is know to block all incoming ports. Other ISP's are known to meddle with them. However, here's how to prove that it's not your machine. To confirm that there's no firewall running, run the command 'iptables -L' and it should look like this: # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination This is an empty firewall -- which allows anything to happen. If this is what you see, the firewall is not the problem. It's also possible that something else is using those ports. Try using a different port range (e.g. 40000-40010). To know for sure if something has those ports reserved, use 'netstat --listening' or 'netstat --all'. If you have another computer on the same network, you can use nmap to confirm that the ports are open and are listening. Make sure that your bittorrent server/client/whatever is running, then run: # nmap -p 12000-12010 192.168.1.100 Interesting ports on (192.168.1.100): PORT STATE SERVICE 12000/tcp closed cce4x 12001/tcp closed unknown 12002/tcp closed unknown 12003/tcp closed unknown 12004/tcp closed unknown 12005/tcp closed unknown 12006/tcp closed unknown 12007/tcp closed unknown 12008/tcp closed unknown 12009/tcp closed unknown 12010/tcp closed unknown Note that mine are all closed. You want them to be open. An open port would look like: 12003/tcp open unknown CONCLUSION: If your firewall is clean, the ports are only reserved for the bittorrent server, and the ports show to be open (with nmap) when the bittorent server running... then it's not your computer. Hope this helps! -gabriel

Bittorrent issue

  • mirami
  • 02/20/08
  • Sat, 05/03/2008 - 12:33
I set 12000-12010 port range in Bittornado ... and there is note: >These settings will not take a effect until next time you start Bittornado< But after saving settings and restarting application these settings are again in default values. Doing something wrong? mirami Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

Router

  • mirami
  • 02/20/08
  • Fri, 05/02/2008 - 22:26
Hello Porisija, Yes I have a router, but I was using router a lot in Windows before I know quite well how to set-up portforwarding and so on. I set 12000-12010 port range in Bittornado and same I did in router set-up. I also set-up static IP on my computer network connection.This should works. But Bittornado still showing me yellow and sometimes even red mark. I don't know if 64studio have some default firewall, it came to my mind when I couldn't solve this issue. So iptables are firewall in Linux? I got this output ... trying the same like you: 64studio:/home/mira# ls /etc/init.d/ | grep ip 64studio:/home/mira# ls /sbin/ | grep ip dhclient-script ip ip6tables ip6tables-restore ip6tables-save ipmaddr iptables iptables-restore iptables-save iptunnel plipconfig How to work with this files? mirami Asus M6Va,CPU 2GHz, RAM 2GB, 64studio 32bit 2.1 pre14

Iptables is the "way"..

  • porisija
  • 09/29/07
  • Fri, 05/02/2008 - 19:56
..to internet - but it doesn't seem to be enabled by default in 64Studio. Or am I wrong? Do you have broadband connection and do you have a router somewhere on your way out to the net? If you do, the router could be the problem - most of them ..ahem.. nowadays run Linux and have a firewall by default - aka. iptables. I tried "ls /etc/init.d/ | grep ip" in my 64Studio system and didn't get any response, although "ls sbin/ | grep ip" came up with the "usual suspects" iptables et al. - the firewall in other words. Is your ISP blocking Bittornado connections?