IP Masquerade

    :     

     

 

    IP ϴ. Ϲε PPP ų ȣ 񽺸 ޴´ٵ Ǵ ް ִ SOHO(Small Office Home Office)ȯ濡 Ʈ ϰ ϴ 鿡 ϳ IP ǻ͸ ϱ⿡ Ʈŷ ٰ ۿ .
    ϴ IP Masquerade ϸ IP Address Ҵ ǻͿ Ʈ ø̼ ִµ ̰ Ŀο ϴ ̸ ؼ /Ǿ ִ. IP Masquerade ϰ ø̼ 뿡 Ʈ Ӽӵ ǰ ִ.
    Windows 95 Windows NT Wingate α׷ ̿ϸ ̿ ϰ ϴ ϸ鼭 Wingate 뿡 ؼ ƹ ߰ ϴٴ ִ.
    ׷ ϳ IP ͳݿ ִ ұԸ ȯ . е鵵 SOHOȯ ִ.

    [׸ 1. Ʈ ]

    ׸ 1 Ǵ ̰ ִ ̴.
    ڽ 33600 Ǿ ְ Ͽ ISP(Internet Service Provider : ͳ ü) Ǿ ִ. , 1, 2 NE2000ȣȯ ̴ ī( ī θ) Ǿ UTP Ǿ ִ. BNC .
    IP Address 192.168.x.x ο ϵ Ҵ C Class IP̹Ƿ ̰ ⿡ ϸ ȴ. ׸ ֵ ӽ鿡 ͳ ϱ ؼ ľߐ ѵ Ϲ 츦 .

    * ο IP Address *

    class

    IP Address

    Subnet Mask

    A

    10.0.0.0 ~ 10.255.255.255

    255.0.0.0

    B

    172.16.0.0 ~ 172.31.255.255

    255.255.0.0

    C

    192.168.0.0 ~ 192.168.255.255

    255.255.255.0

     

    쿡 (hoem.hitel.net) telnet Ͽ ϰ Ѵٸ telnet Ŭ̾Ʈ (peace.left.com) ִ Ŀ telnet Ͽ ܺο ִ ȣƮ ڷ Ͽ Ѵ.
    ͳ Ҹ Web ݽ IE ϴµ ӽ . ̶ ڽ Ŀ lynx ؽƮ ؾ߸ ϴµ ̴ ϱ ¦ ̴. ظ Ͽ ׸ .

    [׸ 2. Ϲ ]

    ϴ IP Masquerade ̿ϸ ӽ ٷ ͳݿ ȣƮ ִ.
    ׸ 2 쿡 ̷Ʈ ڿ ִµ ̶ ӽ ٷ telnet home.hitel.net̶ Ÿθ ϸ ϴ. Netscape̳ Arena Ͽ ͳ ִ. Ʒ ׸ .

    [׸ 3. IP-Masquerade ]

    ׸ ͳ ٷ Ǿ ӽ ġ ÷̰ ̳ ͳ Ǵ Ʈ ø̼ǵ ִµ ̰ ٷ 츮 ϰ ϴ IP Masquerade ̴. ׷ IP Masquerade Ͽ Ѳ ο ٴٷ پ .

     

1. 䱸

    ϳ̻ / IP Address ڽ ⿡ OSӽ ʿϴ. ⿡ Ŀ 2.0X ̻ ̾ϸ ipfwadm̶ ƿƼ 2.3̻ ʿϴ.
    ٽ ڸ ֱ ISP ׸ 95 ȯ̴. ̰ ϴ Ϲ Ư 䱸ϴ ƴϴ.

     

2.

    Ŀο IP Masquerade ϵ ϱ Ŀ Ͽ Ѵ. ĿϿ ⿡ ٷ Ƿ Ŀ úκ ϱ ٶ. ٸ κ Ϲ ٸ make config Ʒ δ Yes ֱ⸸ ϸ ȴ. ϴٸ X-window make xconfig ϰ صθ ٽ ϴ.

    enable loadable module support [Y]
    networking support [Y]
    networking firewalls [Y]
    tcp/ip networking [Y]
    ip forwarding/gatewaying [Y]
    ip firewalling [Y]
    ip masquerading(EXPERIMENTAL) [Y]
    ip always defragment [Y]
    dummy net driver support [Y]
    ipautofw masquerade support [Y]

    Ŀ κ ؼ ʴ Ѵ. Ŀ ġ , ġѴ.

    make modules; make modules_install

    depmod -a
    modprobe ip_masq_ftp
    modprobe ip_masq_raudio
    modprobe ip_masq_irc
    .
    .
    .

    ߰ ϰ ϴ ø̼ е ˾Ƽ ߰ϸ ȴ.  cuseeme ϰ Ѵٸ modprobe ip_masq_cuseeme ָ߰ ȴ. ִ ø̼ǿ ؼ ˾ƺڸ ftp, real audio, vdolive, quake, irc, CU-Seeme ִµ ̴ /usr/src/linux/modules Ȯغ ִ.
    Ŀ κ .
    δ Ǿ ִ ٸ Ŭ̾Ʈ νϱ ؼ /etc/hosts ϵ .

    copyleft:/etc]# cat hosts
     

    127.0.0.1

    localhost

    localhost.localdomain

    192.168.0.1

    peace.left.com

    peace /* linux */

    192.168.0.10

    nox.left.com

    nox /* windows 1 */

    192.168.0.20

    copy.left.com

    copy /* windows 2 */


    copyleft:/etc]#

    127.0.0.1 ȣƮ ڱ ڽ Ųٴ ˰ ̴. Ʒ ڽ ϰ ϴ ȣƮ ָ ȴ. ° Į alias ǮȣƮ ſ ڽ ϴ ִ. ϸ IP Ӽ ϴ ƴ϶ hostsϿ ϰ ʹٸ ߰ټ ִ.

    203.245.15.250 home.hitel.net hitel

    ʹ telnet home.hitel.net̶ ʿ䰡 telnet hitelε ϴ. ̰ ʿ ־ ͵鿡 ؼ ˾ƺҰ ʿ ؼ ˾ƺ .

     

3.

    쿡 Ư .
    Ʈ ϱ ؼ TCP/IP Protocol ġְ ؼ ܺη ٴ ˷ֱ⸸ ϸ ȴ. ׷ Ʒ ׸ ϳϳ غ .

    3.1. ȭ Ʈũ ȯ濡 콺 ư ϴ Ǵ ǿ ִ Ʈũ Ѵ.

    3.2. ġ Ʈ ҿ TCP/IP ġǾ ִ Ȯ Ŀ ٸ "߰"-""-"߰"-"Microsoft"-"TCP/IP" ߰Ѵ.

    3.3. TCP/IP ߰ Ŀ ŬϿ â .

    3.4. IPּ ǿ Ҵ IPּһ üũϰ IPּҿ Ʈ ũ д. IPּҴ ָ ȴ. /etc/hosts 192.168.0.10 ׸ Ʈ ũ C class 255.255.255.0 ´.

    3.5. Ʈ Ͽ ڽ IP ش. ڽ 192.168.0.1̹Ƿ ̸ ְ "߰" .

    3.6. Ȯ ٽ Ѵ.

    3.7. â Էغ. ping 192.168.0.1
    192.168.0.1 IP Address̸ ϴ Ѵ. ms ۵ϴ ̳ ƹ ٸ ϵγ Ʈ ߸ κ ٽ ѹ Ȯϱ ٶ.

     

4. Now! IP-Masquerading...

    ӽ . ׷ ٽ ڽ ƿ. ipfwadm 2.3̻ Ͽ Ʒ .

    copyleft:~]# ipfwadm -F -p deny
    copyleft:~]# ipfwadm -F -a m -S 192.168.0.10/24 -D 0.0.0.0/0
    copyleft:~]# ipfwadm -F -a m -S 192.168.0.20/24 -D 0.0.0.0/0
    copyleft:~]#

    ipfwadm IP Firewall Adminastration̶ ̾ α׷̸ -S Ŭ̾Ʈ IP Address ָ ȴ. IPڿ 24 Ʈũ̸ ⿡ 192.168.0.10 C Class ϹǷ 24ſ 255.255.255.0 ־ .
    ׷ Ǿ Ȯϱ Ͽ ISP PPP â Էغ.

    telnet home.hitel.net

    ڳâ ڷ Ͽٸ ̴. ࿡ ڷ ȵȴٸ ٸ õغ ׷ ߻ϸ ٽѹ ݺؼ غ.
     

    Ϲ ۵ϴ Ŭ̾Ʈ

    HTTP

    POP

    SMTP

    Telnet

    FTP

    Archie

    NNTP

    VRML

    traceroute

    IRC

    Gopher

    Real Audio

    CU-SeeMe


    츮 ϴ ͳ ְ Ǿ. ڳ 쿡 ̾߱⳪ ҵŸ ̿Ͽ ٷ ϴ ȣƮ ϸ Netscape, Internet exploror ִ.
    ftp ִ. 쿡 ws_ftp ϴµ Ȥ ǰ Ŀ ߻ϸ鼭 źεǴ 쿡 Ʒ ׸ Ÿ ٿ apssive transpers ϸ ƹ ִ.

    [׸ 4. ws_ftp ]

    ø̼ 100% ִ ƴϴ. Ʈ ÷̰ ̳ ͳ, ݹ ø̼ ۵ ʴ´. ׷ٰؼ ƴϴ. Ұ ׳ ѱ ʱ ̴. ̸ ϰ ϱ Ͽ ø̼ ϰ ִ. ׷  밡 ø̼ǵ鿡 ؼ ˾ƺ .

     

5. IP-Masq Ȱ.

    츮 ϴ IP ؼ κ ˾ƺҰ ܰ پ ø̼ ؼ ̾߱ϱ ϰڴ. ⿡ ƺθ ˾ƺ.

    ƺ - Diablo (battle.net)
    Ƽ ̿ ϴ ̶ ʾƵ ̴. ƺθ ϱ ؼ ipautofw̶ ƿƼ ʿѵ ̰
    http://www.hwy401.com ִ. ٿε Ŀ /usr/local/src Ǯش.

    tar xfvz ipautofw.tgz

    Ŀ Ͻÿ Ʒ ָ ȴ.

    cd/usr/src/linux
    patch -p1 < /usr/local/src/ipautofw/2.0.0/ipautofw-2.0.0.diff
    make mrproper
    make config
    make dep
    make clean
    make zlilo
    cd/usr/local/src/ipautofw/2.0.0
    make
    make install

    ƺη ÷̸ ϱ ؼ ipautofw ϸ ȴ.

    ipautofw -A -r udp 61126112 -c tcp 116
    ipautofw -A -r udp 61126112 -c tcp 118

    ʿ ƺθ Ͽ Ʈ ÷̸ ܺ. ̻ ƺ 츦 ˾ƺҴµ ͳ̳ ݹ ݾ ٸ. ִ ø̼ ڰ ⿡ Ȱ ؼ ص Ʈ http://dijon.nais.com/~nevo/masq ϱ ٶ. ƴϴ ʿ ø̼ ִٸ õغ.

    ϴٰ 93 ø̼ Ʈ̴.

    IP-Masquerade Ʈ

    Games (15)

      1. Diablo (battel.net)
      2. QuakeWorld
      3. Red Alert
      4. SubSpace
      5. InterCasino
      6. Quake
      7. Kali
      8. Monopoly
      9. Legal Crime
      10. Ultima Online
      11. Total Annihilation
      12. Mplayer Games Network
      13. Tanarus
      14. Figher Ace Beta
      15. Netrek

    Chat Programs (18)

      1. IRC
      2. ICQ
      3. CU-SeeMe
      4. Internet Phone
      5. Speak Freely v6.1b
      6. AOL Instant Messenger
      7. Westwood Chat
      8. VoxChat
      9. VDO Phone
      10. Microsoft NetMeeting
      11. OnLive Traveler!
      12. OnLive Talker!
      13. Iris Phone 2.5
      14. IDT Net2Phone
      15. iChat
      16. IPhone
      17. PowWow
      18. VoxPhone 3.0

    Utilities (10)

      1. SSH
      2. DNS behind Masq
      3. X-Windows
      4. Citrix WinFrame Client
      5. Citrix WinFrame Server
      6. Remotely Possible v3.2
      7. pcAnywhere v7.5
      8. Timbuktu Pro
      9. Atom Time 95
      10. Symantec Live Update

    Web Stuff (7)

      1. VDO Live
      2. Real Audio
      3. MS Netshow 2.0
      4. Real Player
      5. PointCast 2.0
      6. VDO Video
      7. HTTP behind Masq

    Miscellaneous (3)

      1. HTTP
      2. FTP
      3. Telnet
      4. NFS
      5. SMB
      6. CleanSweep 3.0 AutoUpdate
      7. Windows Networking
      8. FTP behind Masq
      9. TheDJ Player
      10. PPTP
      11. America Online
      12. Bottle Mail 1.2
      13. IPX

    Requests (29)

      1. MotoRacer
      2. Cool Talk
      3. Internet Phone
      4. Active Worlds
      5. Interstate 76
      6. Kali w/o Proxy
      7. Hexen 2
      8. Kahn 95
      9. SuperFTP
      10. Streamworks
      11. Dark Reign
      12. Intel Video Phone
      13. NT Logon
      14. iChat Pager
      15. Ding!
      16. Microsoft DirectPlay
      17. SQL*NET tools
      18. Age of Empires
      19. IIS 3.0 FTP
      20. mp3-Wolf
      21. PGPhone
      22. Ultim@te Race
      23. wwwoffled 1.x
      24. Netscape Conference
      25. Microsoft Exchange
      26. Myth : The Fallen Lords
      27. Connectix Video Phone 2.x
      28. Outpost 2
      29. Carbon Copy 32

    Craveyard (1)

      1. IGames

     

    http://www.hwy401.com
    http://www.wiznet.ca/~ambrose
    http://ipmasq.home.ml.org
    http://www.indyramp.com/masq
    http://dijion.nais.com/~nevo/masq

    IP-Masquerade ϼǾ ϴ ƴϴ. ݵ ⿡ ϰ Ƹ ϰ ִ õ ̴. ϴ OS η ̶ Ͼ ǽġ ʴ´.




top

home...