å人ã§è¤æ°å°ã®VPSãéç¨ãã¦ãããããããããªãã®ããµãã¼ãåããã¦OSã®å ¥ãç´ããå¿ è¦ã«ãªã£ãã®ãæ©ã«VPSã®è¦ç´ãããããã¨ã«ãªã£ããå ã 3å°ã®VPSãéç¨ãã¦ãããã1å°æ¸ãããã
VPNãµã¼ãã¼
ã¾ãã¯ãVPNãµã¼ãã¼ããããã®VPSã使ã£ã¦ããã
ä¸äººæ®ãããã¯ããã¦ã¨ãããã®ã家ã«ç¡æã¤ã³ã¿ã¼ããããã¤ãã¦ããã¿ã¤ãã®ç©ä»¶ã渡ãæ©ãããã¨ããããèªå® ãããã¯ã¼ã¯ã«ã¢ã¯ã»ã¹ããç°å¢ã®ããã«VPNãµã¼ãã¼ãç«ã¦ã¦ããã SoftEther VPNã使ã£ã¦æ§ç¯ãã¦ãããVPSã¨èªå® ãã¤ãªãæ ç¹éãªã³ã¯ã¨ãiPhone/Android/PCããã®æ¥ç¶ãããã¯ã©ã¤ã¢ã³ãæ¥ç¶ã®2ã¤ããããVPNãµã¼ãã¼ã«ã¤ãªãã¨èªå® ãããã¯ã¼ã¯ã¾ã§ç¹ããããã«ãªã£ã¦ããã iPhone/Androidããã®ã¢ã¯ã»ã¹ãSoftEther VPNã®L2TPã使ã£ã¦ããããæè¿ã§ã¯Androidã§IKEv2ããæ°è¦è¨å®ã§ããªããªã£ã¦ãããããããã¯Strongswanã使ã£ãã
éå¤å¤åããµã¼ãã¹ãµã¼ãã¼
次ã«ãæ§ã ãªãµã¼ãã¹ã®å ¥ã£ã¦ãããµã¼ãã¼ãããã¯Google Computing Engineã®Always Freeæ ã®e2-microã¤ã³ã¹ã¿ã³ã¹ã§åãã¦ããã
Giraffeãã¯ããã¨ããWebãµã¼ãã¼ã®ãã¹ãã£ã³ã°ã«ä½¿ã£ã¦ããããç·¨éç³»ã®å¿ è¦ãªãµã¼ãã¹ã¯ã»ã¨ãã©æ®åãã¦ããããããã§ããã°ã¨ãããã¨ã§Cloud RunãFirebase Cloud Functionsã«è¼ãæ¿ãããã¨ã«ããã
ã©ããããããªãã£ãã®ã¯IRCã®æ¥ç¶ãç¶æãã¦ããIRC proxyãWebã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ä½¿ããã¦ãããã常ææ¥ç¶ãå¿ è¦ã¨ãªãããããã¯VPSã«å ¥ãããããªãã£ãã
ã¡ã¼ã«ä¸ç¶ãµã¼ãã¼
æå¾ã«ãã¡ã¼ã«ä¸ç¶ãµã¼ãã¼ãããã§ä½ã£ããã¤ãæçµçã«ã¯Lightsailã§ã§ãã¦ããã
IPv6åã®ããããåããIPv6å°ç¨ã¤ã³ã¹ã¿ã³ã¹ã«ãªã£ã¦ããã®ã¯ä»¥åæ¸ããã¨ããã
ãã ãã¾ã IPv6ãªã³ãªã¼ã¯ããããé害ããã£ã
ãã以å¤ã«ããã¢ãã¤ã«åç·ã®OCNã¢ãã¤ã«ãIPv4ããæ±ããªãã¦ãåºå ã§ã¡ã¼ã«ã¢ãã¬ã¹ã«å±ãã確èªã³ã¼ããåä¿¡ããæä½ãã§ããªãã¨ããå®å®³ãåºã¦ãããæ°è¦ç³ãè¾¼ã¿çµäºãã¦ããã¨ããã®ããã使ããããã«ãªãè¦è¾¼ã¿ã¯ãªãããã§ãçµå±VPNãµã¼ãã¼ã§ãã©ã¯ã¼ããããã·ãã¦IPv4ã¢ãã¬ã¹ãã¤ãã¦ããã
æçµçã«
ã¡ã¼ã«ä¸ç¶ãµã¼ãã¼ã¨IRC proxyãGCEã«éç´ãã¦ãLightsailã解ç´ãããã¨ã«ããã
å ¥ãæ¿ãã¯ããããä½æ¥ã«ãªã£ãã
- VPNãµã¼ãã¼ã®åæ¢ã«ããOSå
¥ãæ¿ããVPNåæ§ç¯ã
- 1æ¥ã®åæ¢ä½æ¥ã
- GCEã«ä¹ã£ã¦ããWebãã¹ãã£ã³ã°ç³»ã®ãµã¼ãã¹ãCloud RunãFirebase Cloud Functionsã«ç§»è¡ã
- æ§ç¯å¾ã®DNSå·®ãæ¿ãã»ã¼åæ¢ãªãã§å®äºã
- IRC proxyãdocker-composeã«æ¼ãè¾¼ãã§ãLightsailã«ä¸æçã«ç§»åã
- åä½ç¢ºèªã¨nickã®å·®ãæ¿ãã§ä½åº¦ãç¬æã
- GCEã®ã¤ã³ã¹ã¿ã³ã¹ãä½ãç´ããIRC proxyã¨ã¡ã¼ã«åä¿¡ã·ã¹ãã ãæ§ç¯ãLightsailããåãå
å¤æ´ã
- s3qlã¯ããããã¨ã«ãã¦ãã¹ãå´ã«ãã¼ã¿ãç½®ããã¨ã«ãããã©ããããGmailã«åãè¾¼ã¾ãããããã®æ°ã«ãªãã°åéã§ããã®ã§ã
- ã»ã¼ç¡åæ¢ã§ããããã©dovecotã³ã³ããã®ãã¦ã³ããã¤ã³ããåéããã¦ããããã§æ°åç¬æã
- Lightsailãåé¤
- ä¸å¿ã¹ãããã·ã§ããã¯ã¨ã£ã¨ãã
Lightsailãæå³ããè²»ç¨ãããã£ã¦ãã¾ã£ã¦ãã¦ããªããçªã ãªã¼ã¨ããã®ããã£ã¨æã£ã¦ããã®ã§ããã£ãããããã¡ã¼ã«ä¸ç¶ã®ã·ã¹ãã ã«ãã¤ãã£ãã®IPv4ã¢ãã¬ã¹ãåãæ»ãããã®ãåã°ããã 主è¦ãªç§»è¡ã¯Dockerãdocker-composeãå¤ç¨ãããããããããªãï¼ã¿ãããªãã¨ãè¨ã£ã¦ãéå»ã®èªåã«æãã¦ããããã
ã¡ãã£ã¨å¤±æãããªã¼ã£ã¦æã£ãã®ã¯ãGCEã®ã¤ã³ã¹ã¿ã³ã¹ãContainer-Optimized OSã«ããã°è¯ãã£ããªã¨ããã¨ãããããã¯ä»å¾ã®èª²é¡ããã¨ãAWSã®å©ç¨ãæ¸ããã¦Google Cloudã«å¯ãã¦ãããã¨æã£ã¦ããRoute53ããããããªã£ã¦æã£ã¦ããã§ãSESã ãã¯ã©ããããããªãâ¦
http以å¤ã®ãµã¼ãã¹ããµã¼ãã¼ã¬ã¹ã«ãªãã°ããã®ã«ãªãã¿ããã«æããTLSãçµç«¯ãã¤ã¤ãinetdã¿ãããªæãã§æ¥ç¶ãã£ãã¨ãã ãèµ·åãã¦ãããã³ã³ãããµã¼ãã¹ãããã°ããã®ã«ã