>> Delete No. 35899 article
No. FTP가 안되여~ ㅠㅠ; 도와주세여...

등록 2001-11-26 22:00:00 By localhost     조회 2
이름 후회막급    

		한국통신 MY-IP(고정아이피)라는 서비스를 받고 있구여, 하나의 회선으로 컴 네대를
인터넷 공유할려구여...
 한국통신(MY-IP) --- 리눅스 --- 허브 --- 컴1(192.168.1.2)
                                     +  컴2(192.168.1.3)
                                     +  컴3(192.168.1.4)           
 이렇게여...
 외부로 나가는 인터넷, telnet은 되는데여
근데 문제는 외부로 나가는 ftp가 안되고 있어여...
 메세지는 다음과 같아여..
 ===================================================================
 Connected to 211.***.***.***.
220 BCC3OOPS Server (ProFTPD For Korean) [localhost.localdomain]
User (211.***.***.***:(none)): violet00
331 Password required for violet00.
Password:
230 User violet00 logged in.
ftp> dir
500 Illegal PORT command.
425 Can't build data connection: Connection refused
ftp>
 ====================================================================
  ipchains 의 스크립트는 다음과 같슴다.
ㅠㅠ, 제발 도와주세염.....
아~ 오널더 이것때문에 퇴근도 못하고 있슴다.
 ====================================================================
 #!/bin/sh
#
#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=eth+
ANY=0.0.0.0/0
 ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
 ipchains -F forward
ipchains -F input
ipchains -F output
 #Deny TCP and UDP packets to privileged ports
 ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
 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 ACCEPT
ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j ACCEPT
ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p icmp -j ACCEPT
 #Do masquerading
 ipchains -A forward -s 192.168.1.2/32 -j MASQ
ipchains -A forward -s 192.168.1.3/32 -j MASQ
ipchains -A forward -s 192.168.1.4/32 -j MASQ
 echo 1 > /proc/sys/net/ipv4/ip_forward
 ====================================================================
 어떤 문제일까요....ㅠㅠ; 제~ 발~ 도와수세염..--나도 한사람의 리눅서이고 싶다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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