>> Delete No. 15830 article
No. 메스커레이딩에서 ftp가 안되요..

등록 2000-12-29 02:48:00 By localhost     조회 2
이름 학    

		레드헷 7.0을 쓰고 있습니다.
한통 ADSL을 이용해서
메스커 레이딩을 이용하여 사용하고 있는데..
리눅스에서는 외부계정의 ftp 접속이 잘 되는데..
클라이언트로 윈2000을 쓰고 있는데..
여기서 외부로(학교나 홈페이지계정) ftp접속을
하려면 접속은 되는데..
파일리스트 보여주는데서 문제가 생깁니다.
그냥 명령프롬프트에서 접속하면
접속은 잘됩니다(아이디와 패스워드확인까지)
그런데 ls를 해 보면..
아무것도 안나오네요..
그리고 cute ftp로 접속을 하면
 STATUS:>	Connect: Friday 02:34:07 12-29-2000
STATUS:>	Connecting to cepros.khu.ac.kr
STATUS:>	Connecting to cepros.khu.ac.kr (ip = 163.180.117.12)
STATUS:>	Socket connected. Waiting for welcome message...
	220 cepros FTP server (SunOS 5.7) ready.
STATUS:>	Connected. Authenticating...
COMMAND:>	USER crane76
	331 Password required for crane76.
COMMAND:>	PASS ********
	230 User crane76 logged in.
STATUS:>	Login successful
COMMAND:>	TYPE I
	200 Type set to I.
COMMAND:>	pwd
	257 "/export/home0/others1/crane76" is current directory.
COMMAND:>	TYPE A
	200 Type set to A.
STATUS:>	Retrieving directory listing...
COMMAND:>	PORT 192,168,1,2,7,78
	200 PORT command successful.
COMMAND:>	LIST
ERROR:>	Timeout
 위와같은 메세지가 나오네요..
 참고로 제 /etc/rc.d/init.d/firewall 스크립트를 적어보면
 #!/bin/sh
# To load required modules
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_vdolive
 # firewall-masq         This script sets up firewall rules for a machine
#                       acting as a masquerading gateway
#
# Copyright (C) 2000 Roaring Penguin Software Inc.  This software may
# be distributed under the terms of the GNU General Public License, version
# 2 or any later version.
 # Interface to Internet
EXTIF=ppp+
 ANY=0.0.0.0/0
 ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward DENY
 ipchains -F forward
ipchains -F input
ipchains -F output
 # Deny TCP and UDP packets to privileged ports
ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p udp -j DENY
ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY
 # Deny TCP connection attempts
ipchains -A input -l -i $EXTIF -p tcp -y -j DENY
 # Deny ICMP echo-requests
ipchains -A input -l -i $EXTIF -s $ANY echo-request -p icmp -j DENY
 # Do masquerading
ipchains -A forward -s 192.168.1.0/24 -j MASQ -d $ANY
#ipchains -A forward -s 192.168.1.3/32 -j MASQ
 echo 1 > /proc/sys/net/ipv4/ip_forward
 이와같이 되어있어엽..
어케해야하는지....
웹이나 텔넷은 전혀 문제 없는데..
유독 ftp만 문제네요...
그럼 좋은 답변 기다리겠습니다.--아무것두 모르는 초짜가..
헤헤...
리눅스만세...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved