LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-08-2007, 12:39 PM   #1
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Rep: Reputation: 16
Can connect to IRCD locally, but not abroad


I setup an IRCD server the other day. I am running the process using my user account. I can connect just fine with an IRC client locally (localhost:6667), but not from another computer..

I imagine there is a firewall stopping this from working, but I can't figure out how or where. I am running Susa 9.1. Through YaST, I disabled the Suse firewall. All my other services can be reached (SSH, HTTP, FTP, etc.), but not IRCD. I sudo'd "iptables --list", and all I got was the following:

Quote:
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
Which suggests to me I have no firewalls going via iptables (btw, I know nothing about iptables...).

I am at a loss as to what else might be preventing this connection from working. Thoughts?

Thanks.
 
Old 08-08-2007, 12:50 PM   #2
apetrescu
LQ Newbie
 
Registered: Aug 2007
Location: Waterloo Ontario (Canada)
Distribution: Kubuntu 7.04
Posts: 8

Rep: Reputation: 0
This sounds like an NAT problem. Do you have a router that the computer running the ircd server connects through? If so, you will have to go to that router's config page and forward port 6667 for the internal IP of the machine running the ircd server.

If you need help with that second step, let me know
 
Old 08-08-2007, 01:13 PM   #3
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by apetrescu
This sounds like an NAT problem. Do you have a router that the computer running the ircd server connects through? If so, you will have to go to that router's config page and forward port 6667 for the internal IP of the machine running the ircd server.

If you need help with that second step, let me know
I should have clarified the situation a little more - this Linux server is not running out of my home, but is a Virtual server at 1and1.com.
 
Old 08-08-2007, 01:18 PM   #4
apetrescu
LQ Newbie
 
Registered: Aug 2007
Location: Waterloo Ontario (Canada)
Distribution: Kubuntu 7.04
Posts: 8

Rep: Reputation: 0
Ah! Well, the same thing may apply if the virtual machine uses bridged networking instead of getting it's own address from the DHCP server (and even then, maybe!)

Also, some VPS providers will intentionally block port ranges like 6660-6669 precisely because they don't want people running ircd servers and things like that. IRC servers are notoriously common and easy targets for DDOS attacks, which means very high server load for your provider. This may be intentional.

Your best bet is to contact 1and1.com technicians and ask them
a) If you're allowed to just run an ircd server
b) If they need to forward the appropriate port range for you

Your configurations inside the box seem to already be fine, judging by your post.
 
Old 08-08-2007, 01:34 PM   #5
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Just curious: what IRCD software are you using?
 
Old 08-08-2007, 02:42 PM   #6
belorion
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 124

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by apetrescu
Ah! Well, the same thing may apply if the virtual machine uses bridged networking instead of getting it's own address from the DHCP server (and even then, maybe!)

Also, some VPS providers will intentionally block port ranges like 6660-6669 precisely because they don't want people running ircd servers and things like that. IRC servers are notoriously common and easy targets for DDOS attacks, which means very high server load for your provider. This may be intentional.

Your best bet is to contact 1and1.com technicians and ask them
a) If you're allowed to just run an ircd server
b) If they need to forward the appropriate port range for you

Your configurations inside the box seem to already be fine, judging by your post.
Thanks, that put me in the right direction. 1and1 has seperate firewall software that I have to access through their website.
 
Old 08-08-2007, 02:43 PM   #7
apetrescu
LQ Newbie
 
Registered: Aug 2007
Location: Waterloo Ontario (Canada)
Distribution: Kubuntu 7.04
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by belorion
Thanks, that put me in the right direction. 1and1 has seperate firewall software that I have to access through their website.
Glad to hear it But seriously, you should ask permission before running an ircd server or you may find your account suspended
 
  


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
vsftpd server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 12:59 AM
Problems with IRCD on Mandrake, cant connect to the box. Knuckles10 Linux - Networking 2 10-03-2004 02:17 AM
Unable to connect to internet with SIS900 but able to ping locally kevinevans Linux - Networking 4 08-10-2004 01:16 PM
Can't connect to Apche with https - locally it's OK abapdr Linux - Software 2 05-26-2004 03:37 AM
cant connect to glftpd even locally darazman Linux - Software 1 09-06-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:18 PM.

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