Upgrade to Pro — share decks privately, control downloads, hide ads and more …

NATサーバーの必要性

 NATサーバーの必要性

mcz9mm

June 17, 2018
Tweet

More Decks by mcz9mm

Other Decks in Technology

Transcript

  1. Natαʔόʔͷ༻్ͱ ඞཁੑ Kaoru Matarai

  2. Network Adress Translation ϩʔΧϧΞυϨεΛάϩʔόϧΞυϨεʹม׵ ͠ɺΠϯλʔωοτͰ࢖༻Ͱ͖ͳ͍ϓϥΠϕʔ τΞυϨεΛ࣋ͭࣾ಺PCΛΠϯλʔωοτʹΞ ΫηεͰ͖ΔΑ͏ʹ͢ΔͨΊͷٕज़ ϓϥΠϕʔτΞυϨε (192.168.1.1) άϩʔόϧΞυϨε

    (161.14.1.2)
  3. Private Subnet࡞ͬͨ΋ͷͷɺ֎෦ ͷωοτϫʔΫʹ઀ଓͰ͖ͳ͍…

  4. PrivateSubnet͔Β҆શʹ઀ଓ PrivateSubnetଆ͔ΒͷIPΞυϨεΛύϒϦοΫIPʹม׵͠ɺड৴ଆ͸ NAT͔Βૹ৴͞Εͨ΋ͷͱ൑அ͢ΔͷͰɺԠ౴͸NATଆʹؼͬͯ͘ Δɻ͜ΕΛNAT͸ݩͷϗετͷIPΞυϨεʹ໭ͯ͠PrivateSubnetʹస ૹ͢ΔɻٯʹΠϯλʔωοτଆ͸઀ଓ͞Εͳ͍Α͏ʹͳ͍ͬͯΔɻ Private Subnet Πϯλʔωοτ NAT 10.0.2.10

    10.0.2.0/24 ͬͪ͜͸0,
  5. NATαʔόʔͷઃஔํ๏

  6. Private Subnet 10.0.2.10 10.0.2.0/24 Public Subnet /"5 10.0.1.10 10.0.1.0/24 ※NATαʔόʔ͸

    Πϯλʔωοτ͕઀ଓͰ͖Δ PublicSubnetʹઃஔ͢Δ͜ͱ 10.0.0.0/16
  7. END