>> Delete No. 57977 article
No. iptables을 이용하여 msn파일을 보내고 받는 방법좀...

등록 2002-10-01 03:25:00 By localhost     조회 5
이름 컴사랑    

		컴한대에 레드핫 7.3을 설치하고 랜카드 2개를 이용하여 하나는 인터넷을 받고 하나는 다
른 컴퓨터의 랜으로 잡았습니다. 그리고 winxp를 사용하여 Zterm을 이용하여 리눅스 서버에 
접속하여 사용하고 있습니다.. 그런데 다른것은 다 되는데 msn에서 파일을 보내는것은 되지
 않고 있습니다...도와주세요.. 제의 rc.local은
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
 touch /var/lock/subsys/local
 # IP_MASQUERADE
 # insmod_for_ftp
cd /lib/modules/2.4.18-3/kernel/net/ipv4/netfilter
insmod ip_conntrack.o
insmod ip_tables.o
insmod iptable_nat.o
insmod iptable_filter.o
insmod ip_conntrack_ftp.o
insmod ip_nat_ftp.o
insmod ipt_REDIRECT.o
 # iptables사용
/sbin/iptables -t nat -F
/sbin/iptables -p INPUT ACCEPT
/sbin/iptables -p OUTPUT ACCEPT
/sbin/iptables -p FORWARD ACCEPT
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 /sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 6891:6900 -j DNAT --to 192.168.0.1-192.168.0.2
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5190 -j REDIRECT --to-ports 5190
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 1863 -j REDIRECT --to-ports 1863
  # use_MSN_p2p
/usr/local/sbin/reaim &
 도와주세요...
지금 이걸로 벌써 3일째 입니다...
고수님들의 많은 도움 부탁드립니다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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