>> Edit article
이름
제목
패스워드
질문했던 내용인데..해결을 못해서 다시 질문합니다.. 어쩔때는 접속이 되는데...현재는 외부에서 제 컴퓨터로 접속이 안되고 있어요.. 웹서버는 물론이고..telnet, ftp도 접속이 안되요.. 마스커레이딩 때문이라는 말도 있어서..마스커레이딩한 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 ipchains -A forward -s 192.168.1.2/32 -j MASQ echo 1 > /proc/sys/net/ipv4/ip_forward 아~~글구 /etc/rc.d/init.d/에 보면 alzza-firewall과 firewall 두개가 있는데.. 두개모두 있어야하나요..
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved