>> Edit article
이름
제목
패스워드
: 와우리눅스 7.0을 사용하고 있는데 한통adsl을 공유하여 내부에서 여러명이 : 사용하고 있습니다. : 클라이언트에서 리눅스로 ftp를 하면 접속이 되지를 않습니다. : 클라이언트에서 외부에 있는 ftp서버로는 접속이 잘됩니다. : 해결방법좀 아시는 분은 알려주시면 감사하겠습니다. : 화일을 올려야 하는데 방법이 없어서 못하고 있습니다. : 참고 아래는 /etc/rc.d/init.d/firewall 내용입니다. : : #!/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=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 -j MASQ : echo 1 > /proc/sys/net/ipv4/ip_forward : ipchains -A forward -s 10.226.96.0/24 -j MASQ : : -- : 김나리 제가 보기에는 여기가 잘못된것 같네요 # Deny TCP connection attempts : ipchains -A input -l -i $EXTIF -p tcp -y -j DENY 이라인을 주석처리 해보시면 어떨런지...
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved