>> Edit article
이름
제목
패스워드
iptables에서는 마스커레이드하는 방식이 ipchains와는 다릅니다. 다음과 같이 해보세요. /sbin/iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE MASQUERADE 관련 모듈들을 올려주는것 잊지 마시구요. 조금 더 자세한 내용을 알기를 원하신다면 다음의 링크된 문서를 살펴보세요. 그럼... http://kldp.org/Translations/html/2.4_NAT-KLDP/2.4_NAT-KLDP.html : [환경] : eth0 : 192.168.0.1 : eth1 : 192.168.1.1 : clients : 192.168.1.2 ~ 192.168.1.254 : : ipchains 사용시 환경은 : : /sbin/ipchains -F : /sbin/ipchains -P input ACCEPT : /sbin/ipchains -P forward ACCEPT : /sbin/ipchains -P output ACCEPT : /sbin/ipchains -A forward -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ : /sbin/ipchains -A forward -s 192.168.2.0/24 -d 0.0.0.0/0 -j MASQ : : 잘 사용하다 파란 7.1로 설치후 : 아래와 같은 환경으로 iptables를 구성하였는데 에러가 뜨네요. : : iptables -F : iptables -P INPUT ACCEPT : iptables -P FORWARD ACCEPT : iptables -P OUTPUT ACCEPT : iptables -A FORWARD -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ : iptables -A FORWARD -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ : : [에러] : # iptables -A FORWARD -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ : iptables v1.2.1a: Couldn't load target `MASQ':/lib/iptables/libipt_MASQ.so: cany : : Try `iptables -h' or 'iptables --help' for more information. : : 답변 부탁드립니다.--Linux는 즐거움이다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved