ִ ٸ 迡 뷮 ٲٴ

Ͽ Sukrit Dhandhania 2009 4 15

  & Dev

̵ Ǵ 1 ٸ Ѱ Ʈ ϴ 쿡 󸶳 ģ ִ ˰ ִ. ׷, Ȯ ܰ ٱ üũ 쿡 ڽſ ų ִ. ̵ η ޸ Ѱ Ʈ ο ġ ޸ ְ ׷ ̸ ٸ ʿ䰡 ִ Ⱓ ߼۵ ο ̴. Ǵ 񽺸 ִ, Ǵ ù° ο װ 뷮 ߼ϱ Ͽ ġ ִ. IPTables Ͽ 迡 Ը ִ.

̹ 𸣸, IPtables κ ߼ϴ Ʈ ȣ̴. ش Ʈ̰ ȣθ ٴ ٸ ִ.  츮 IP ( ױ) ױ 80, 뷮 ٲٱ Ͽ IPTables ̴ 122.164.34.240. ù ڸ Ͼ ϵ ̴. ͹̳ â, Ѹ ڷ α ڿ ޸ʽÿ:

# 1 >/proc/sys/net/ipv4/ip_forward

ܰ IPTables ο 뷮 ٲٵ ϱ ̴:

# iptables - nat t - D PREROUTING - p tcp - dport 80 - j DNAT - 122.164.34.240

⿡ IPTables Ͼ ̴. 3 ǿ ܰ 츮 ó ̵ IPTables ο ױ 80 ٿ ٽ Ͽ Ѵ.

# iptables - nat t - D POSTROUTING - p tcp - d 122.164.34.240 - dport 80 - j ȸ

ܰ κ ϰ ִٰ Ŭ̾Ʈ 迡 ִ 츮 ο ʴ 쿡, ̱ Դϴ 䱸ȴ.

Ʈ:
  • 迡 ¥
  • netstat 踦 ϴ
  • More on BlogRush
  • Walkthrough: Time Machine for OS X 10.5 Leopard
  • How to install applications on your Nokia N95 via Bluetooth
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.

    { 0 comments add one now }

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>