LinuxQuestions.org
Help answer threads with 0 replies.
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 09-17-2005, 12:56 PM   #1
devito
Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: SuSE
Posts: 14

Rep: Reputation: 0
sshd & proftpd refuses remote connection


I have got my sshd working when i'm logged inside my home network. When i'm elsewhere, the connection acuses "Host Unknown". In /etc/hosts.allow i wrote "sshd : ALL" so it would accept all IP's connecting to the machine.

But outside my home network it doesn't work.

Also, i was trying to setup PROFTPD to serve ftp, but when i connect, inside or outside my network, i see my served folders, but can't touch them because the connection always time's out.

Any suggestions are welcome.
Tks.
 
Old 09-17-2005, 11:43 PM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Are you using a NAT router to connect to the internet? If so, you'll need to port forward the appropriate ports to your local machines.
 
Old 09-18-2005, 02:55 PM   #3
devito
Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: SuSE
Posts: 14

Original Poster
Rep: Reputation: 0
Both services are redirected to the machine.
 
Old 09-18-2005, 04:07 PM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Are you running a firewall on the machine? Are there any rules that would affect 22 (sshd), 21(ftpd control), 20 (ftpd data)?
iptables -nL

You can use tcpdump on the server to verify that requests are arriving from the router and your local network, and if data is being returned.

Last edited by Snowbat; 09-18-2005 at 04:20 PM.
 
Old 10-02-2005, 03:53 PM   #5
devito
Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: SuSE
Posts: 14

Original Poster
Rep: Reputation: 0
Still nothing. I can't use my ftp or ssh services outside my network..
 
Old 10-02-2005, 06:21 PM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Make and model of router? Did you reboot the router after setting up the port forward? Have you tried a reset to factory defaults and reconfigure it again (has cured unexplainable problems before)? What does a Shields UP common ports scan on http://www.grc.com/ show for ports 20, 21, and 22?
 
  


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
sshd refusing remote connection from SecureCRT 60s TV Batman *BSD 2 06-08-2005 04:45 PM
X refuses connection slim27616 SUSE / openSUSE 1 02-14-2005 04:37 AM
ProFTPd & SSHd, opening up to the Internet while maintaining security Xolo Linux - Security 3 12-11-2004 04:31 PM
proftpd & sshd - good dl / poor ul Ikebo Linux - Software 2 10-25-2004 12:36 PM
Remote connection (telnet & SSH) woes marioman Linux - General 2 09-29-2003 10:23 AM

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

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