Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

[Áú¹®]natd·Î ºñ°øÀÎ ip¿¡¼­ À¥¼­¹ö¸¦?



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


natd·Î ºñ°øÀÎ IP·Î ÀÎÅͳÝ,ÅÚ³Ý.±âŸµîµîÀº Àß µË´Ï´Ù.
±×¸®°í À¥¼­ºñ½º¸¦ ºñ°øÀÎ IP 192.168.0.2·Î ³Ñ±â·Á°í Çϴµ¥ Àß ¾ÈµÇ³×¿ä

1.¼­¹ö ³×Æ®¿öÅ©»óȲ
fxp0 (°øÀÎ ÀÎÅÍ³Ý IP)
xl0 (ºñ°øÀÎ IP 192.168.0.1)

2.Ŭ¶óÀÌ¾ðÆ®»óȲ
ºñ°øÀÎ IP 192.168.0.2¿¡¼­ À¥¼­¹ö±¸µ¿


3. natd¼­¹ö¼³Á¤³»¿ë

rc.conf¿¡´Â ÀÌ·¸°Ô ¼³Á¤
natd_flags="-f /etc/natd.conf"

natd.conf¿¡´Â ¾Æ·¡ºÎºÐÀÌ ¼³Á¤
natd -redirect_port 80 192.168.0.2:80

rc.local¿¡´Â
/sbin/natd -p 8668 -n fxp0 -redirect_address 192.168.0.1 0.0.0.0
8668 (natd)Æ÷Æ®ÀÇ ÆÐŶÀ» ºñ°øÀÎ IP 192.168.0.1¿¡ Àü´ÞÇ϶ó°í Çß±¸¿ä


Äֿܼ¡¼­
#natd -redirect_port 80 192.168.0.2:80 ÀÌ·¸°Ô ÇØºÃ´Âµ¥µµ ¾ÈµÇ³×¿ä
¹¹°¡ À߸øµÈ°ÍÀÎÁö..¾Ë¼ö°¡ ¾øÀ½


--
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/03/26 13:37:13 $
Powered by FreeBSD