°Ô½Ã¹° 1,369°Ç
   
Netfilter NAT ºÎÇϺлê
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2011-07-21 (¸ñ) 14:04 Á¶È¸ : 7141
±ÛÁÖ¼Ò :
                                
iptables -t nat -A PREROUTING -d 192.168.230.9 -j DNAT --to-destination 192.168.160.11-192.168.160.12
iptables -t nat -A POSTROUTING -m iprange --dst-range 192.168.160.11-192.168.160.12 -j SNAT --to-source 192.168.230.9

[root@localhost bin]# cat /proc/sys/net/ipv4/ip_forward
1


Ãß°¡·Î ¶ó¿ìÆõǴ ¼­¹ö Ä«¿îÆÃÁ¤º¸ È®ÀÎÇÏ·Á¸é...
iptables -t nat -I POSTROUTING -d 192.168.160.11 
iptables -t nat -I POSTROUTING -d 192.168.160.12

¼¼¼ÇÈ®ÀÎ
cat /proc/net/ip_conntrack


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.