{"id":77,"date":"2019-01-20T17:53:12","date_gmt":"2019-01-20T08:53:12","guid":{"rendered":"http:\/\/charon.s1005.xrea.com\/?p=77"},"modified":"2019-01-20T17:54:03","modified_gmt":"2019-01-20T08:54:03","slug":"vps%e4%b8%8a%e3%81%aeubuntu%e3%81%a7ufw%e3%82%92%e6%9c%89%e5%8a%b9%e3%81%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/linux-walker.net\/?p=77","title":{"rendered":"VPS\u4e0a\u306eUbuntu\u3067ufw\u3092\u6709\u52b9\u306b\u3059\u308b"},"content":{"rendered":"\n<p>\u3068\u3042\u308bVPS\u3092\u501f\u308a\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001ufw\u3092enable\u3059\u308b\u3068<br><br><br>$ sudo ufw enable <br>Command may disrupt existing ssh connections. Proceed with operation (y|n)? y <br>ERROR: problem running ufw-init <br>modprobe: ERROR: ..\/libkmod\/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file &#8216;\/lib\/mo<br>dules\/2.6.32-042stab092.2\/modules.builtin.bin&#8217; <br>modprobe: FATAL: Module nf_conntrack_ftp not found.<br> <br>\u306a\u3069\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br><br><a href=\"https:\/\/blog.kylemanna.com\/linux\/ufw-vps\/\">https:\/\/blog.kylemanna.com\/linux\/ufw-vps\/<\/a><br><br>\u3092\u53c2\u8003\u306b\u3001<br><br>Open \/etc\/default\/ufw<br>Comment out the line starting with \u201cIPT_MODULES\u201d and \u201cIPV6\u201d<br><br>\u3067\u89e3\u6c7a\u3059\u308b\u3082\u3001\u3055\u3089\u306b<br><br>[Errno 2] iptables: Memory allocation problem.<br><br>\u304c\u51fa\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u3069\u3046\u3082VPS\u3067\u306fiptables\u306e\u30eb\u30fc\u30eb\u306e\u6570\u306b\u5236\u9650\u304c\u3042\u308b\u6a21\u69d8\u3002<br><br>\u3067\u3082\u3001\u3068\u308a\u3042\u3048\u305assh\u306e\u30eb\u30fc\u30eb\u3092\u4e00\u3064\u524a\u9664\u3057\u305f\u3089\u51fa\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u3088\u3044\u3053\u3068\u306b\u3057\u307e\u3059\u3002<br><br><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3042\u308bVPS\u3092\u501f\u308a\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001ufw\u3092enable\u3059\u308b\u3068 $ sudo ufw enable Command may disrupt existing ssh connections. Proceed with op&hellip; <a class=\"more-link\" href=\"https:\/\/linux-walker.net\/?p=77\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">VPS\u4e0a\u306eUbuntu\u3067ufw\u3092\u6709\u52b9\u306b\u3059\u308b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-9","entry"],"_links":{"self":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=77"}],"version-history":[{"count":1,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/linux-walker.net\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-walker.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}