LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-12-2005, 10:05 AM   #1
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Rep: Reputation: 15
Blocked


I am trying to get a email server up, and as far as the email server goes all is well. I cannot connect through port 25 from the outside though. If I ssh into the server and do a telnet localhost 25, I get connected. If i try to go from the outside and telnet (public ip) 25 I get connection refused unable to open a connection on port 25.

Can anyone help?


Oh yeah, this even happens when iptables is shutdown, when up though it is set to allow smtp
 
Old 05-12-2005, 10:15 AM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

is there a WAN, some routers, some firewalls between your server and your client ?
 
Old 05-12-2005, 10:17 AM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Perhaps the SMTP server is only set to bind to the loopback interface? Which SMTP server are you running?
 
Old 05-12-2005, 10:18 AM   #4
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Yes, I gave my server a public address, and trying to connect to it through my gateway/firewall. I can SSH to it, I can ping it, but no connection through port 25
 
Old 05-12-2005, 10:18 AM   #5
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
Perhaps the SMTP server is only set to bind to the loopback interface? Which SMTP server are you running?
I am using postfix, and I have mynetworks setup to allow from our public IP on the gateway
 
Old 05-12-2005, 10:25 AM   #6
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Doesn't your gateway/firewall blocks the packets ?
 
Old 05-12-2005, 10:27 AM   #7
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
The gateway I use to go out, allows everything out and nothing but ssh in. The email server allows only SSH, SMTP, and telnet
 
Old 05-12-2005, 10:45 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, is the mail server BEHIND the gateway?
 
Old 05-12-2005, 10:58 AM   #9
bhughesiii
Member
 
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
Well, is the mail server BEHIND the gateway?
No, the server has it's own public IP address.. on the outside of the gateway.. It uses the gateway address given to me by the ISP
 
Old 05-12-2005, 01:44 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If the gateway is blocking packets coming in, then how do you expect them to get to the server?
 
  


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
ping blocked IP bruse Linux - Networking 1 08-21-2005 02:23 PM
Ports Blocked spaceballs Slackware 4 05-02-2005 09:42 PM
blocked port 80 squi Linux - Newbie 1 09-19-2003 09:57 AM
My CD drives are blocked. Baldorg Linux - Hardware 13 09-13-2003 04:34 PM
getting by blocked ports niehls Linux - Networking 1 07-06-2003 03:00 PM

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

All times are GMT -5. The time now is 07:28 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