LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2006, 04:22 PM   #1
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Rep: Reputation: 15
Problems with the firewall


I recently installed dc++ for linux.
The problem is that I can download only when my firewall is disabled.
I am rather new to linux and I don't know how to configure the firewall in order to use dc++ properly.
Please help.


I belive because of this problem azureus doesn't work either.
 
Old 06-25-2006, 06:45 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
You need to forward the correct ports through your firewall. I don't know what the defaults are for either but I believe Azureus has a load of info about this on their home page, check it out.
 
Old 06-26-2006, 05:35 PM   #3
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cs-cam
You need to forward the correct ports through your firewall. I don't know what the defaults are for either but I believe Azureus has a load of info about this on their home page, check it out.
And how do I forward a port. Let's say I am using port 34000.
I've used the Security Level Configuration in the Administration submenu. I've added port 34000 to the trusted sevices.
Still doesn't work.
 
Old 06-26-2006, 07:05 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
as root run the command 'iptables -L' and post that here.. which might give us some related info.

are you on a LAN with a router or other hardware firewall device? if so, are they configured properly?
 
Old 06-28-2006, 02:15 PM   #5
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nadroj
as root run the command 'iptables -L' and post that here.. which might give us some related info.

are you on a LAN with a router or other hardware firewall device? if so, are they configured properly?

root@144 da_marius]# 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
 
Old 06-28-2006, 09:40 PM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The above shows that the Firewall on your Linux box is disabled - there are no Iptables rules.

However, are you behind a Router or other firewall - eg and ADSL router? If so, you will need to forward ports to your Linux box. This is typically done by accessing the router's config through your web browser, and setting up a virtual server for that port.

I hope this helps
--Ian
 
Old 06-29-2006, 06:24 AM   #7
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Original Poster
Rep: Reputation: 15
sorry
this is the right one :
[root@144 da_marius]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
 
Old 06-29-2006, 09:39 PM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You need to set up DC++ properly.
1) Open DC++, and open the settings window. In the "Connection Type", enter the port that you want DC++ to run on. Choose 1412. Go the www.whatismyip.com, and enter that IP address. Click OK.

2) Open your firewall settings. Click Settings - Administration - Security Level and Firewall. You will need to enter your root password when prompted. In the window that is displayed, click "Other Ports", and then click Add. In the small window that comes up, enter 1412 for the port number, and click OK.

3) You have not said if you are behind a router yet. If you are, you will need to set up a "Virtual Server" on that router, forwarding port 1412 to your computer.

I hope this helps
--Ian
 
Old 07-09-2006, 08:40 AM   #9
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Original Poster
Rep: Reputation: 15
thanks a lot. that really helped
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewall Problems Rick069 Linux - Security 2 08-16-2005 10:20 AM
Firewall Problems fannymites Linux - Software 3 12-03-2004 05:37 PM
Firewall problems Dummy-in-Linux Linux - Newbie 5 06-17-2004 02:36 AM
Firewall problems... basix Linux - Newbie 0 03-07-2004 02:52 AM
Firewall problems lcadwell Linux - Networking 5 08-07-2001 04:12 AM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration