{"id":749,"date":"2017-10-19T16:31:47","date_gmt":"2017-10-19T13:01:47","guid":{"rendered":"http:\/\/learn.parsvds.com\/?p=749"},"modified":"2017-10-19T16:31:47","modified_gmt":"2017-10-19T13:01:47","slug":"configuring-ipv6-on-your-vps","status":"publish","type":"post","link":"https:\/\/parsvds.com\/wikitest\/2017\/10\/19\/configuring-ipv6-on-your-vps\/","title":{"rendered":"\u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0631\u062f\u0646 IPv6 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-1451 aligncenter\" src=\"http:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2017\/10\/ipv6-globe-100731106-large-300x200.jpg\" alt=\"\" width=\"368\" height=\"245\" \/><\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 IPv6 \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0646\u06cc\u0645.<\/p>\n<p><span style=\"color: #008000;\"><strong>\u0646\u06a9\u062a\u0647:<\/strong><\/span>\u0627\u06af\u0631 \u0634\u0645\u0627 \u0633\u0627\u0628 \u0646\u062a IPv6 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u062c\u0627\u0632\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0631\u06cc\u0633\u062a \u06a9\u0646\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 \u062a\u0627 IPv6 \u06a9\u0627\u0631 \u06a9\u0646\u062f.<\/p>\n<p>\u0631\u06cc\u0633\u062a \u06a9\u0631\u062f\u0646 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0648 \u06cc\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0647\u0627\u06cc \u0645\u0634\u0627\u0628\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u06af\u06cc\u0631\u062f.<\/p>\n<p>\u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0627\u0632\u00a0 2001:DB8:1000::100 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 IP \u062f\u0631 \u06a9\u0627\u0631\u062a \u0634\u0628\u06a9\u0647 \u0627\u0635\u0644\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0627\u0632\u00a0 2001:19f0:4009:2001::1234\u00a0 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u062a \u0634\u0628\u06a9\u0647 \u062f\u0648\u0645 (IP \u0627\u0636\u0627\u0641\u0647) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0636\u0631\u0648\u0631\u06cc \u0646\u0645\u06cc \u0628\u0627\u0634\u062f.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Windows:<\/strong><\/span><\/p>\n<p>\u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0645\u06cc \u0628\u0627\u06cc\u0633\u062a \u062f\u0631 CMD \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<pre><code>netsh interface ipv6 set global randomizeidentifiers=disabled\nnetsh interface ipv6 add address interface=\"Local Area Connection\" address=\"2001:DB8:1000::100\/64\"\nnetsh interface ipv6 add address interface=\"Local Area Connection\" address=\"2001:19f0:4009:2001::1234\/64\"\n<\/code><\/pre>\n<p><span style=\"color: #ff0000;\"><strong>CentOS:<\/strong><\/span><\/p>\n<p>\u062f\u0631 \/etc\/sysconfig\/network-scripts\/ifcfg-eth0 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u062a\u063a\u06cc\u0631 \u062f\u0647\u06cc\u062f (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f nano \u06cc\u0627 vi \u0645\u06cc \u0628\u0627\u0634\u062f):<\/p>\n<pre><code>IPV6INIT=\"yes\"\nIPV6ADDR=\"2001:DB8:1000::100\/64\"\nIPV6_AUTOCONF=\"yes\"\nIPV6ADDR_SECONDARIES=\"2001:19f0:4009:2001::1234\/64\"\n<\/code><\/pre>\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647\u00a0 IP forwarding \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a (\u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 VPN \u0648 \u06cc\u0627 \u0645\u0634\u0627\u0628\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f) \u0634\u0645\u0627 \u0645\u06cc \u0628\u0627\u06cc\u0633\u062a \u0641\u0627\u06cc\u0644 \u0632\u06cc\u0631 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f\u00a0\/etc\/sysctl.conf<\/p>\n<pre><code>net.ipv6.conf.all.accept_ra=2\nnet.ipv6.conf.eth0.accept_ra=2\n<\/code><\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Debian\/Ubuntu:<\/strong><\/span><\/p>\n<p>\u062f\u0631 \/etc\/network\/interfaces \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>iface eth0 inet6 static\naddress 2001:DB8:1000::100\nnetmask 64\nup \/sbin\/ip -6 addr add dev eth0 2001:19f0:4009:2001::1234\n<\/code><\/pre>\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647\u00a0 IP forwarding \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a (\u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 VPN \u0648 \u06cc\u0627 \u0645\u0634\u0627\u0628\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f) \u0634\u0645\u0627 \u0645\u06cc \u0628\u0627\u06cc\u0633\u062a \u0641\u0627\u06cc\u0644 \u0632\u06cc\u0631 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f\u00a0\/etc\/sysctl.conf:<\/p>\n<pre><code>net.ipv6.conf.all.accept_ra=2\nnet.ipv6.conf.eth0.accept_ra=2\n<\/code><\/pre>\n<p><span style=\"color: #ff0000;\"><strong>FreeBSD:<\/strong><\/span><\/p>\n<p>\u062f\u0631 \/etc\/rc.conf \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"\"><code>rtsold_enable=\"YES\"\nipv6_activate_all_interfaces=\"YES\"\nrtsold_flags=\"-aF\"\nifconfig_vtnet0_ipv6=\"inet6 2001:DB8:1000::100 prefixlen 64 accept_rtadv\"\n\nifconfig_vtnet0_alias0=\"inet6 2001:19f0:4009:2001::1234 prefixlen 64\"<\/code><\/pre>\n<p><span style=\"color: #0000ff;\"><strong>\u0645\u0646\u0628\u0639: \u062f\u0627\u0646\u0634\u0646\u0627\u0645\u0647 <a href=\"https:\/\/parsvds.com\/\">\u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633<\/a><\/strong><\/span><\/p>\n<h4><strong>\u0633\u0627\u06cc\u062a <span style=\"color: #0000ff;\">\u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633<\/span> \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u0646\u062f\u0647 \u06cc \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u0647\u0627\u0633\u062a \u0648 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc<\/strong><\/h4>\n<p><span style=\"color: #0000ff;\"><strong>\u0633\u0627\u06cc\u062a \u067e\u0627\u0631\u0633 \u0648\u06cc \u062f\u06cc \u0627\u0633 \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u0646\u062f\u0647 \u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0628\u0627 IPv6<\/strong><\/span><\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #008000;\">\u0633\u0631\u0648\u0631 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0622\u0646\u0647\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0631\u0627\u0626\u0647 IPv6 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f<\/span><\/h2>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/parsvds.com\/virtual-server\/america\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone size-full wp-image-4899\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/001-united-states.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0645\u0631\u06cc\u06a9\u0627\u00a0<\/a> \u00a0 \u00a0 \u00a0<a href=\"https:\/\/parsvds.com\/virtual-server\/germany\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone size-full wp-image-4901\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/003-germany.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0622\u0644\u0645\u0627\u0646<\/a>\u00a0 \u00a0 \u00a0 \u00a0<a href=\"https:\/\/parsvds.com\/virtual-server\/netherlands\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4902\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/004-netherlands.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0647\u0644\u0646\u062f\u00a0<\/a>\u00a0 \u00a0\u00a0<a href=\"https:\/\/parsvds.com\/virtual-server\/england\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4900\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/002-united-kingdom.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0646\u06af\u0644\u06cc\u0633\u00a0<\/a><\/strong><\/p>\n<p style=\"text-align: center;\"><strong>\u00a0 \u00a0 \u00a0<a href=\"https:\/\/parsvds.com\/virtual-server\/australia\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4903\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/005-australia.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0633\u062a\u0631\u0627\u0644\u06cc\u0627<\/a>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<a href=\"https:\/\/parsvds.com\/virtual-server\/singapore\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4905\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/007-singapore.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0633\u0646\u06af\u0627\u067e\u0648\u0631\u00a0<\/a> \u00a0 \u00a0 \u00a0 \u00a0 <a href=\"http:\/\/parsvds.com\/virtual-server\/canada\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4904\" src=\"https:\/\/parsvds.com\/wiki\/wp-content\/uploads\/2020\/02\/006-canada.png\" alt=\"\" width=\"32\" height=\"32\" \/>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u06a9\u0627\u0646\u0627\u062f\u0627\u00a0<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 IPv6 \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0646\u06cc\u0645. \u0646\u06a9\u062a\u0647:\u0627\u06af\u0631 \u0634\u0645\u0627 \u0633\u0627\u0628 \u0646\u062a IPv6 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u062c\u0627\u0632\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0631\u06cc\u0633\u062a \u06a9\u0646\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 \u062a\u0627 IPv6 \u06a9\u0627\u0631 \u06a9\u0646\u062f. \u0631\u06cc\u0633\u062a \u06a9\u0631\u062f\u0646 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0648 \u06cc\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3607,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[21,22,27],"tags":[253,254,255,545,1579],"class_list":{"0":"post-749","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-linux-guides","8":"category-windows-guides","9":"category-faq","10":"tag-ipv6--vps","11":"tag-ipv6--","13":"tag--ipv6","14":"tag--ipv6--vps"},"uagb_featured_image_src":{"full":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1.jpg",420,236,false],"thumbnail":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1-150x150.jpg",150,150,true],"medium":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1-300x169.jpg",300,169,true],"medium_large":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1.jpg",420,236,false],"large":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1.jpg",420,236,false],"1536x1536":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1.jpg",420,236,false],"2048x2048":["https:\/\/parsvds.com\/wikitest\/wp-content\/uploads\/2017\/10\/IPv6-image-1.jpg",420,236,false]},"uagb_author_info":{"display_name":"\u0645\u06cc\u062b\u0645 \u062f\u0631\u06cc\u06a9\u0648\u0646\u062f","author_link":"https:\/\/parsvds.com\/wikitest\/author\/amindk\/"},"uagb_comment_info":0,"uagb_excerpt":"\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 IPv6 \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0646\u06cc\u0645. \u0646\u06a9\u062a\u0647:\u0627\u06af\u0631 \u0634\u0645\u0627 \u0633\u0627\u0628 \u0646\u062a IPv6 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u062c\u0627\u0632\u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0631\u06cc\u0633\u062a \u06a9\u0646\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0646\u062a\u0631\u0644 \u067e\u0646\u0644 \u062a\u0627 IPv6 \u06a9\u0627\u0631 \u06a9\u0646\u062f. \u0631\u06cc\u0633\u062a \u06a9\u0631\u062f\u0646 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0648 \u06cc\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631&hellip;","_links":{"self":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts\/749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/comments?post=749"}],"version-history":[{"count":0,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/posts\/749\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/media\/3607"}],"wp:attachment":[{"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parsvds.com\/wikitest\/wp-json\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}