Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-12-2005, 10:05 AM
|
#1
|
Member
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55
Rep:
|
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
|
|
|
05-12-2005, 10:15 AM
|
#2
|
Member
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384
Rep:
|
Hi,
is there a WAN, some routers, some firewalls between your server and your client ?
|
|
|
05-12-2005, 10:17 AM
|
#3
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Perhaps the SMTP server is only set to bind to the loopback interface? Which SMTP server are you running?
|
|
|
05-12-2005, 10:18 AM
|
#4
|
Member
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55
Original Poster
Rep:
|
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
|
|
|
05-12-2005, 10:18 AM
|
#5
|
Member
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55
Original Poster
Rep:
|
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
|
|
|
05-12-2005, 10:25 AM
|
#6
|
Member
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384
Rep:
|
Doesn't your gateway/firewall blocks the packets ?
|
|
|
05-12-2005, 10:27 AM
|
#7
|
Member
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55
Original Poster
Rep:
|
The gateway I use to go out, allows everything out and nothing but ssh in. The email server allows only SSH, SMTP, and telnet
|
|
|
05-12-2005, 10:45 AM
|
#8
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Well, is the mail server BEHIND the gateway?
|
|
|
05-12-2005, 10:58 AM
|
#9
|
Member
Registered: Aug 2004
Location: Indiana
Distribution: Fedora Core 2 and Suse Personal 9.1
Posts: 55
Original Poster
Rep:
|
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
|
|
|
05-12-2005, 01:44 PM
|
#10
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
If the gateway is blocking packets coming in, then how do you expect them to get to the server?
|
|
|
All times are GMT -5. The time now is 02:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|