Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-28-2004, 05:39 AM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Unable to access my ssh server and ftp server from the Internet, but smtp works


I've got a Suse 8.2 box, with kernel 2.4.23 and two ethernet interface eth0 (internal) and eth1 (public ip).

I've ssh server, proftpd, and qmail.

With or without iptables enabled I can't access my ftp server and ssh server from the Internet. The strange thing is that smtp (qmail) works great

I've noticed some strange things from ifconfig:

1. All my NICs have the same metric (I don't know how to change it) *
2. The TX bytes from my public interface (eth1) are always 0
3. The TX bytes from my internal interface grow continuosly when i go outside (surf internet, ...)

* May be this the problem ?

Some other things

When I try to connect to my ftp server from the Internet, it says "Connected. Wait for login sequence" then after some seconds aborts.

THe default route is through my public interface and my public gateway (infact I can browse the Internet, connect to my pop mail, etc...)

May be the outside traffic goes through the wrong interface ? But, if this is right, why SMTP instead works ?
Old 05-28-2004, 05:17 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Metric can be the same for both interfaces, no problem here.
I'd check if your server's receiving ssh and ftp request. To test it you'd need a sniffer (tcpdump, ethreal or anything you can find). With sniffer running you need to try to connect from outside (you can ask a friend, for example). You'll see if there was a connection attepmt at all or not. Can you imagine your ISP blocking it?


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
Unable to relay via SMTP Server linux_2008 Linux - Networking 1 12-24-2004 07:00 AM
Unable to get full internet access : only Google works !! samael26 Mandriva 15 11-11-2004 11:54 AM
Setting up a server , FTP, HTTP, POP3, SMTP, DNS merman63769 Linux - Newbie 2 09-20-2004 12:44 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:17 PM.

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