LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-06-2013, 02:23 PM   #1
mrmarria
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Rep: Reputation: Disabled
vsftpd, refusing remote connects, refslackware, firewall settings and inetd



I am sure there is something simple that I am overlooking.

assuming inetd and / or rc.firewall error

New install Slackware I have SSH working, apache working and allowing connects on both.

fired up vsftp which works fine locally:
root@WEBserver:/home/michael# ftp localhost
Connected to localhost.
220 Welcome to Red Coyote FTP service.
Name (localhost:michael):
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

but cannot connect from remote.

Any suggestions?

Michael
 
Old 06-07-2013, 10:24 AM   #2
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 84

Rep: Reputation: Disabled
I guess it's a firewall issue. Check if port 21 (or other if you changed it in vsftpd.conf) is being blocked either by your system's or router's firewall.

Last edited by elesmod; 06-07-2013 at 10:26 AM.
 
Old 06-07-2013, 11:58 AM   #3
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 767

Rep: Reputation: 154Reputation: 154
We need more details about your configuration and how you are trying to connect remotely. Is your server on a static IP or dynamic, directly on the internet or behind a router firewall/gateway device? Also would be helpful if you posted the errors you get when trying to connect remotely.
 
Old 06-07-2013, 01:28 PM   #4
mrmarria
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
vsftpd refusing connections

I did find I was missing a line in rc.firewall

$IPT -A INPUT -p tcp --dport ftp -m state --state NEW -s 0.0.0.0/0 -j ACCEPT

One of those I looked at it too hard to see it moments, I guess.

Thanks all.

Michael

what log would have shown the attempts, BTW? have not figured that out yet......

Last edited by mrmarria; 06-07-2013 at 01:29 PM.
 
Old 06-10-2013, 08:45 AM   #5
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by mrmarria View Post
what log would have shown the attempts, BTW? have not figured that out yet
Maybe this topic will help: http://www.linuxquestions.org/questi...tempts-632999/
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Very Secure FTP (vsftpd) is refusing to start on Slackware Current WhisperiN Linux - Server 12 12-15-2009 12:29 AM
vsftpd error: refusing to run with writable anonymous root abd_bela Debian 2 04-15-2008 05:42 AM
vsftpd from inetd correctly killahsmurf Slackware 4 07-26-2007 04:29 PM
VSFTPD refusing login/denying cause anon only gonus Linux - Networking 3 10-09-2005 08:22 PM
vsftpd inetd -> xinetd slackster Linux - Networking 2 06-26-2005 05:37 PM


All times are GMT -5. The time now is 01:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration