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

Tidy up my home LAN

Tidy up my home LAN

161b9cca66648ef0b6b43527d7762a2d?s=128

umikaki

May 18, 2019
Tweet

More Decks by umikaki

Other Decks in Programming

Transcript

  1. ࣗ୐-"/ͷ੔ཧ੔಴  4BU ౦ւಓΒ͙ԣ඿ͷू͍ य़ͷר !VNJLBLJ .BJMVNJLBLJ!VNJLBLJOFU .BTUPEPO!VNJLBLJ!NBTUPEPOUSBJOJOGP

  2. ࣗݾ঺հ l .BTUPEPOࣗḉ࣋ͬͯ·͢ˣ IUUQTNBTUPEPOUSBJOJOGP l "OESPJEΞϓϦΤϯδχΞ l 'MPLP 30.ͷDPOUSJCVUPSʢʁʣ l

    ࠷ۙҾͬӽ͠·ͨ͠ l ϒϩά΍ͬͯ·͢ˣ IUUQTVNJLBLJCMPHIBUFOBCMPHDPN
  3. Ҿͬӽͨ͠ͱ͍͏͜ͱͰʜ

  4. ࠷ۙҾͬӽ͠·ͨ͠ • Ո͕޿͘ͳͬͨ ͨ͘͞Μḉ͕ஔ͚Δʂʂ • ωοτճઢ͕৽͘͠ͳͬͨ • Ո௞͕ߴ͘ͳͬͨ ʜͳͲͳͲ

  5. None
  6. (CQTճઢΛखʹೖΕͨʂʂ l ੈք࠷଎Λᨳ͏BVͻ͔Γ ϗʔϜ9ΪΨΛಋೖ͠·ͨ͠ l ޻ࣄඅɿ ԁɺֹ݄ɿ ԁ

  7. (CQTճઢΛखʹೖΕͨʂʂ l ϑϨοπޫ࣌୅ʹ࢖͑ͯͨ71/͸࢖͑ͳ͘ͳͬͨ l )(8ͷઃఆ߲໨͕গͳ͗͢ʜ

  8. ·ͣ͸-"/ߏ੒Λߟ͑·͠ΐ͏

  9. ౰ॳߏஙͨ͠ߏ੒ l ࣗ୐ωοτϫʔΫ͸ʢ)(8ͷσϑΥϧτʣͰߏ੒ l 71/͸ʢ4PGU&UIFS71/ͷσϑΥϧτʣ

  10. ౰ॳߏஙͨ͠ߏ੒ ݩʑ࣋ͬͯͨϧʔλʢ893%)1ʣͷ71/Λ࢖͏Ҋ ˠϧʔλͷௐࢠ͕ѱ͍ʢʁʣͨΊഇҊ ˠϙʔτΛ͍ͭ͘΋։͚ͳ͍ͱ͍͚ͳ͍ͷ͕ΊΜͲ͍͘͞ ḉʹ4PGU&UIFS 71/Λߏங ˠϙʔτ͸͚ͭͩ։͚Ε͹͍͍ͷͰ࠾༻ ˠBVͻ͔Γ͸ݻఆ*1ͬΆ͍ͷͰ%%/4΋͍Βͳ͍

  11. ḉͷߏ੒ • ࠓޙͷ͜ͱΛߟ͑ͯ,7.্ͷήετʹ4PGU&UIFS 71/ΛΠϯετʔϧ • 71/༻ͷήετ04͸6CVOUV -54Λ࠾༻ • ,7.ϗετ04͸$FOU04Λ࠾༻ʢ҆ఆ͍ͯ͠Δ͔Βʁʣ

  12. ߏஙͨ͠΋ͷͷʜ • 71/઀ଓͨ͠ͱ͖ͷμ΢ϯϩʔυ͕໌Β͔ʹ஗͍ • 4PGU&UIFS 71/࠶Πϯετʔϧɺ 04࠶Πϯετʔϧͨ͠΋ͷͷมΘΒͣ ˠݪҼෆ໌

  13. 4PGU&UIFS 71/͔Β0QFO71/΁ • 4PGU&UIFS 71/Λ΍Ίͯ0QFO71/Λߏங • 71/ḉͷ04΋6CVOUV -54͔Β$FOU04 ΁มߋ •

    71/ͷηάϝϯτ͸ʢ0QFO71/ͷσϑΥϧτʣ 10.8.0.0/24
  14. 4PGU&UIFS 71/͔Β0QFO71/΁ • ଎౓΋҆ఆͯ͠ग़ΔΑ͏ʹͳͬͨ • UDQͱVEQͷ྆ํͰ઀ଓͰ͖ΔΑ͏ʹͨ͠ ˠϙʔτ͕։์͞Ε͍ͯͳ͍ωοτϫʔΫͰ΋઀ଓͰ͖ΔΑ͏ʹ͢ΔͨΊ ˠVEQͷํ͕଎౓͕଎͍

  15. ͱΓ͋͑ͣҰ݅མண

  16. ͔࣮͠͠Ոʹؼͬͨͱ͖ʹ൵͕ܶʜ

  17. 実家に帰ったときの悲劇 ࣮Ո-"/ʹ઀ଓࣗ͠୐71/΁઀ଓ͠Α͏ͱ͕ͨ͠ʜ • ࣮Ո-"/ͷηάϝϯτʢʣͱ ࣗ୐-"/ͷηάϝϯτʢʣ͕ಉҰͳ͜ͱ͕൑໌ ˠࣗ୐-"/ʹ71/͔Βͭͳ͕Βͳ͍ঢ়ଶʹ

  18. ࣗ୐-"/ͷ*1ΞυϨεΛ࠶ߏ੒ • ͱΓ͋͑ͣ͸΍ΊΔ ʢ)(8ͷσϑΥϧτઃఆ্͕هʹͳͬͯΔ͜ͱ͕ଟ͘ɺ ΄͔ͷωοτϫʔΫͰ΋ڝ߹͢ΔՄೳੑ͕େʣ • Ϋϥε#ͷΛ࠾༻ ʢՈఉ಺ωοτϫʔΫͰ͋Ε͹ɺΫϥε#ͷΞυϨεΛ࢖͍ͬͯΔ͜ͱ͸ ·ͣͳ͍ͩΖ͏ͱ͍͏໨ଌʣ

  19. ݁ہ͜͏ͳΓ·ͨ͠ • )(8ɺϓϦϯλɿY • ϗετḉɿY • ήετḉɿY • ΫϥΠΞϯτ1$ɿY •

    %)$1ɿY
  20. ݁ہ͜͏ͳΓ·ͨ͠ 172.31.0.0/16 10.8.0.0/24

  21. ,7.ήετʹ৭ʑߏங͠·ͨ͠ +FMMZGJO (SBGBOB

  22. ࠓճͷڭ܇ • 71/Ͱ઀ଓ͢Δͱ͖͸ɺ ݱࡏͭͳ͕͍ͬͯΔ-"/ͷ*1ηάϝϯτʹ஫ҙ ˠηάϝϯτ͕ಉ͡৔߹͸ෆ۩߹ൃੜͷՄೳੑେ ˠɺͳͲ͸ආ͚Δ ʢσϑΥϧτͰઃఆ͞Ε͍ͯΔՄೳੑ͕ߴ͍ͨΊʣ • *1ΞυϨεͷׂΓৼΓ͸ɺ༻్ผʹ෼͚͓ͯ͘ͱ؅ཧ͕΍Γ΍͍͢ ʜ͔΋͠Εͳ͍

    • BVͻ͔Γ͸ϑϨοπޫʹൺ΂ͯ)(8ͷઃఆ߲໨͕গͳ͍ ˠϑϨοπޫͷ)(8͸୯ಠͰ-51*1TFDͷ71/͕ߏஙՄೳ ˎͨͩ͠WϓϥεͰ઀ଓ͍ͯ͠Δ৔߹Λআ͘
  23. ͓ Θ Γ