LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-20-2004, 08:11 AM   #1
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
opening a port in slackware


hi i think port 4662 is closed and i need it to open to run xmule, can any one please tell me the command or file to edit on slackware 10 to open this port.

thanks

berrance
 
Old 11-20-2004, 08:16 AM   #2
gug
LQ Newbie
 
Registered: Nov 2004
Location: Barcelona (ES) & London (GB)
Distribution: Slackware-current
Posts: 15

Rep: Reputation: 1
Are you running iptables to block ports?
If not they are all open by default, and it is probably your ISP that is blocking them
Try "lsmod" or "iptables -L" as root to check.
 
Old 11-20-2004, 08:46 AM   #3
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
i think i have opened the ports this is the results from when i type iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:4662

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere 192.168.0.2 tcp dpt:4662

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


xmule still wont connect, i know it isnt a problem on my network firwall or my isp blocking ports as i have had my mates laptop connected to the networks with emule in windows fully working and downloading files through port 4662
 
Old 11-20-2004, 08:58 AM   #4
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
after a few changes my output from iptables -L is

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:4662
ACCEPT tcp -- anywhere bn-slack.berrancenetworks.co.uk tcp dpt:4662

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere 192.168.0.2 tcp dpt:4662
ACCEPT tcp -- anywhere bn-slack.berrancenetworks.co.uk tcp dpt:4662
ACCEPT tcp -- anywhere bn-slack.berrancenetworks.co.uk tcp dpt:4662

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

from my understanding i need to deleat the 3 strings in the FORWARD section and create one in the OUTPUT sectoin if this s write how can i do this is i am geting very confused at the moment LOL
 
Old 11-20-2004, 09:24 AM   #5
gug
LQ Newbie
 
Registered: Nov 2004
Location: Barcelona (ES) & London (GB)
Distribution: Slackware-current
Posts: 15

Rep: Reputation: 1
I don't think iptables is blocking anything - you've had the default policy as ACCEPT right from the start, so nothing was being blocked.
 
  


Reply



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
Opening Port steve007 Linux - Newbie 5 07-23-2005 01:05 PM
opening a port Robin01 Linux - General 3 11-17-2004 10:40 PM
opening router port andrebras Linux - Networking 3 11-06-2004 10:26 PM
Opening a Port gpamkenny Linux - Networking 3 11-04-2004 02:51 PM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 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
Open Source Consulting | Domain Registration