Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AWS Client VPNを試してみた
Search
adachi.ryo
February 22, 2019
Technology
600
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS Client VPNを試してみた
adachi.ryo
February 22, 2019
Transcript
19 slides
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ϥϯαʔζגࣜձࣾ 43&ʗ҆ୡྋ ͋ͩͪΜ AWS Client VPNΛ ࢼͯ͠Έͨ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ɹΞδΣϯμ ɾࣗݾհ ɾAWS Client VPNͬͯͲ͏ͳͷΑʁ ɾΓ͍ͨ͜ͱ ɾߏ
ɾϨΠςϯγ ɾϩά ɾσϞ ɾϋϚͬͨͱ͜Ζ ɾ·ͱΊ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ࣗݾհ - name: Introduction me user: name:
adachin work: SRE/Hiring Recruitment detail: aws analytical base menta skill: ansible terraform shell etc blog: blog.adachin.me oss: Vuls https://www.wantedly.com/companies/lancers/post_articles/151653
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ AWS Client VPNͬͯͲ͏ͳͷΑʁ https://blog.adachin.me/archives/9813
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ Ϛωʔδυ ΊͪΌͪ͘Ό͍͍!!!
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ Γ͍ͨ͜ͱ ɾΦϨΰϯʹVPC01ͱAWS Client VPNͷઃఆ ɾ౦ژϦʔδϣϯʹVPC02,VPC03Λ2ͭઃఆ
ɾVPC01(ΦϨΰϯ)ͱVPC02,03(౦ژ)ΛVPCϐΞϦϯάͰଓ ɾVPC01,VPC02,VPC03ͦΕͧΕʹEC2ͷߏங ɾAWS Client VPNͷϢʔβʔ࡞(ূ໌ॻɺ伴) ɾଓͨ͠ࡍͷϩάʢCloudWatch Logs)͕औಘͰ͖Δ͜ͱΛ֬ೝ ɾVPNܦ༝ͰEC2ʹSSHͰ͖Δ͔֬ೝ ɾϨΠςϯγͷ֬ೝ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ߏ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ߏ ɾVPC01/ΦϨΰϯ ɾeasy-rsa CIDR 10.0.0.0/16 OpenVPNͷϢʔςΟϦςΟ subnet
10.0.0.0/24 10.0.1.0/24 αʔόূ໌ॻɺ伴ͷ࡞ ɾVPC02,VPC03/౦ژ CIDR 10.10.0.0/16 10.20.0.0/16 Subnet 10.10.0.0/24 10.20.0.0/24 ɾTuunelblick
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ઃఆʹ͍ͭͯ… ϒϩάݟ͍ͯͩ͘͞!!!!
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ϨΠςϯγͱ͔Ͳ͏ͳΜʁ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ϨΠςϯγ $ ping 10.0.0.189 PING 10.0.0.189 (10.0.0.189):
56 data bytes 64 bytes from 10.0.0.189: icmp_seq=0 ttl=254 time=127.708 ms 64 bytes from 10.0.0.189: icmp_seq=1 ttl=254 time=127.965 ms 64 bytes from 10.0.0.189: icmp_seq=2 ttl=254 time=128.099 ms 64 bytes from 10.0.0.189: icmp_seq=3 ttl=254 time=127.861 ms 64 bytes from 10.0.0.189: icmp_seq=4 ttl=254 time=127.784 ms 64 bytes from 10.0.0.189: icmp_seq=5 ttl=254 time=127.855 ms ^C --- 10.0.0.189 ping statistics --- 6 packets transmitted, 6 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 127.708/127.879/128.099/0.126 ms $ ifconfig utun1 utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.110.1.98 --> 10.110.1.98 netmask 0xffffffe0
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ VPNͷϩάͱ͔औΕΔΜʁ
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ϩά CloudWatch LogsͰશ෦ݟΕΔʂ
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ σϞΓ·͢
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ͜͜Ͱ͕!….
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ͱࢥ͍͖… Πϯλʔωοτ͕ܨ͕Βͳ͍ "
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ϋϚͬͨͱ͜Ζ https://inamuu.com/aws-client-vpn ɾͦͦsshͰ͖Δ͕ɺΠϯλʔωοτ͕ଓͰ͖ͳ͍ ɾϧʔτՃ ɾauthorization ruleʹΠϯλʔωοτͷΞΫηεΛڐՄ ɾެࣜΛՇ!!
ϥϯαʔζΫϥγίϜϕʔγοΫ߹ಉษڧձ ɹ·ͱΊ ɾOpenVPNαʔόӡ༻͍Βͣ ɾΦϨΰϯ͕ͩेૣ͍ ɾϩάCloudWatch Logsʹ ɾαʔόূ໌ॻɺ伴Λཧ͢Δඞཁ͕͋Δ ɾϓϩΩγɺBastionEIPৼΒͳͯ͘ྑ͖
ɾطଘͷαʔόূ໌ॻΛͬͯVPN࡞Ͱ͖Δ ɾΞΧϯτআͱ͍͏֓೦Ͱͳ͘ূ໌ॻΛrevoke ɾϥϯαʔζಋೖ͢Δ༧ఆʂʂ
2019/2/22 ϥϯαʔζ&ΫϥγίϜ&ϕʔγοΫ ߹ಉษڧձ ͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠ʂʂ
More Decks by adachi.ryo
See All by adachi.ryo
横断SREがSRE社内留学制度 / Enablingになぜ踏み切ったのか
rvirus0817
0
1.5k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
6.5k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
7.1k
Findy Team+のSOC2取得までの道のり
rvirus0817
0
6.4k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
6.2k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
2
9.4k
Amazon Security Lakeを活用したセキュリティログの集約とAIによる可視化の最前線
rvirus0817
0
810
TechBull Membersの開発進捗どうですか!?
rvirus0817
0
2.2k
クラウド脆弱性の傾向とShisho Cloudの活用
rvirus0817
0
340
Other Decks in Technology
See All in Technology
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
280
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
0
340
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
220
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
170
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
120
Fukurou Labo_Engineer_Deck
fukuroulabo
0
100
Libérez Firefox et Thunderbird avec nos astuces
hellosct1
0
200
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
140
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
120
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
510
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Product Roadmaps are Hard
iamctodd
55
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Designing for humans not robots
tammielis
254
26k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
830
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Are puppies a ranking factor?
jonoalderson
2
4.2k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
700
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360