LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-23-2003, 12:51 PM   #1
rusium
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9, XP Pro
Posts: 12

Rep: Reputation: 0
Question ftp doesnt accept non-local connections


im running redhat 9 with vsftpd, and for some strange reason only local connections can connect to my box via ftp. firewall is set to accept ftp, http, ssh, dhcp.. it allows http connections from non local users and ssh, just not ftp...

heres vsftpd.conf
---
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=You are being watched.
pam_service_name=vsftpd
userlist_enable=NO
listen=YES
tcp_wrappers=YES
passwd_chroot_enable=YES
chroot_local_user=YES
---

any ideas?
 
Old 05-23-2003, 12:59 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
It does sound like a firewall problem can you post the output of:
iptables -L
 
Old 05-23-2003, 12:59 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Oh - what error do you get from the clients?
 
Old 05-25-2003, 11:24 PM   #4
rusium
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9, XP Pro
Posts: 12

Original Poster
Rep: Reputation: 0
a

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (2 references)
target prot opt source destination
ACCEPT udp -- ns5.attbi.com anywhere udp spt:domain dpts: 1025:65535
ACCEPT udp -- ns2.attbi.com anywhere udp spt:domain dpts: 1025:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:S YN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SY N,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SY N,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp spts:bootps:boot pc dpts:bootps:bootpc
ACCEPT udp -- anywhere anywhere udp spts:bootps:boot pc dpts:bootps:bootpc
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp flags:SYN,RST,AC K/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp reject-with icmp -port-unreachable


when attempting to connect i get a generic error message basically stating there it no connection to the server whatsoever
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsh doesnt accept connections Xris718 Linux - General 3 05-19-2005 02:14 PM
Proftpd won't accept connections cL4YmAN Linux - Newbie 0 06-09-2004 03:33 PM
SSH doesn't accept connections basse- Linux - Software 1 05-23-2004 07:33 AM
How to set SSH server to accept V2 connections only? chupacabra Linux - Security 18 01-24-2003 04:57 PM
gdm's xdmcp not willing to accept connections ddc_prueba Linux - General 0 03-24-2002 05:21 PM


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