묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
페도라.. 일반사용자 ftp접속이 안됩니다.도움바랍니다.
2006.08.23 04:24
###############################################
[root@youdw ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:49931 *:* LISTEN 1418/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1399/portmap
tcp 0 0 *:http *:* LISTEN 1857/httpd
tcp 0 0 youdw:50000 *:* LISTEN 1635/hpiod
tcp 0 0 youdw:50002 *:* LISTEN 1640/python
tcp 0 0 *:telnet *:* LISTEN 15651/xinetd
tcp 0 0 youdw:ipp *:* LISTEN 3764/cupsd
tcp 0 0 youdw:smtp *:* LISTEN 1708/sendmail: acce
tcp 0 0 *:ftp *:* LISTEN 27825/proftpd: (acc
tcp 0 0 *:ssh *:* LISTEN 19344/sshd
tcp 0 1484 ::ffff:211.182.247.170:ssh ::ffff:58.79.20.37:de-noc ESTABLISHED 28844/0
################################################
[root@youdw ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
#####################################3
[root@youdw home]# ftp localhost
Connected to youdw.
220 FTP Server ready.
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): youdw
331 Password required for youdw.
Password:
530 Login incorrect.
Login failed.
421 Service not available, remote server has closed connection
ftp>
#########################################
FileZilla로 서버유형SFTP using SSH2에서 접속이 됩니다.
lokkit에서 방화벽 해제해도 알FTP에서는 접속이 안되네요..ㅡㅡ;;;
[root@youdw ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:49931 *:* LISTEN 1418/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1399/portmap
tcp 0 0 *:http *:* LISTEN 1857/httpd
tcp 0 0 youdw:50000 *:* LISTEN 1635/hpiod
tcp 0 0 youdw:50002 *:* LISTEN 1640/python
tcp 0 0 *:telnet *:* LISTEN 15651/xinetd
tcp 0 0 youdw:ipp *:* LISTEN 3764/cupsd
tcp 0 0 youdw:smtp *:* LISTEN 1708/sendmail: acce
tcp 0 0 *:ftp *:* LISTEN 27825/proftpd: (acc
tcp 0 0 *:ssh *:* LISTEN 19344/sshd
tcp 0 1484 ::ffff:211.182.247.170:ssh ::ffff:58.79.20.37:de-noc ESTABLISHED 28844/0
################################################
[root@youdw ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
#####################################3
[root@youdw home]# ftp localhost
Connected to youdw.
220 FTP Server ready.
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): youdw
331 Password required for youdw.
Password:
530 Login incorrect.
Login failed.
421 Service not available, remote server has closed connection
ftp>
#########################################
FileZilla로 서버유형SFTP using SSH2에서 접속이 됩니다.
lokkit에서 방화벽 해제해도 알FTP에서는 접속이 안되네요..ㅡㅡ;;;