{"id":261943,"date":"2015-07-21T12:21:02","date_gmt":"2015-07-21T08:21:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=261943"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=261943","title":{"rendered":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0432 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u0441 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439 dd-wrt"},"content":{"rendered":"<p>             \u041d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0430\u0432\u0430\u0440\u0438\u044f \u0438 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043c\u0430 \u043f\u0440\u043e\u043f\u0430\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0412\u0434\u0432\u043e\u0439\u043d\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0435\u0441\u044c \u0434\u0430\u043b\u0435\u043a\u043e \u043e\u0442 \u0434\u043e\u043c\u0430 \u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0435\u0437\u0442\u044c \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438\u043b\u0438 NAS. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u043d\u0430\u043b\u0430 \u043c\u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u041c\u0413\u0422\u0421, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0443\u044e \u043c\u0435\u0434\u044c \u043d\u0430 \u043e\u043f\u0442\u0438\u043a\u0443, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043a\u0430\u043d\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0435\u043d\u0435\u0442, \u0438 \u0447\u0442\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u043f\u043e dd-wrt. \u0415\u0441\u043b\u0438 \u0441 \u043e\u043f\u0442\u0438\u043a\u043e\u0439 \u044f \u043f\u043e\u043c\u043e\u0447\u044c \u043d\u0435 \u0441\u043c\u043e\u0433\u0443, \u0442\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043f\u043e dd-wrt \u044f \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c.<\/p>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435, \u043d\u043e, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438 \u043d\u0430 \u0435\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u0435 \u043d\u0435\u0438\u0441\u043a\u0443\u0448\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0435, \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u0440\u0443\u0433\u043e\u0437\u043e\u0440 \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"https:\/\/habrastorage.org\/files\/7b5\/f48\/ae6\/7b5f48ae6cdb483bbc266b9db5d12ae9.jpg\"\/><\/div>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0440\u043e\u0443\u0442\u0435\u0440 asus rt-n16 \u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043e\u0442 \u0442\u043e\u0432. Kong 22000++. \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043a\u043e \u043c\u043d\u0435 \u043f\u043e \u043a\u0430\u0431\u0435\u043b\u044e, \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u043c \u043f\u043e dhcp. \u0412 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 dd-wrt \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cd2\/dc2\/e60\/cd2dc2e60312407fad2fc48fd3f6a4c8.png\"\/><\/p>\n<p>  \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0432\u0441\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0410\u0434\u0440\u0435\u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0435\u0442\u0438 \u0441\u043c\u0435\u043d\u0435\u043d \u043d\u0430 192.168.199.1.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 JFFS2, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u0443 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 Administration-Mangement \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 dd-wrt \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043e\u043f\u0446\u0438\u044e:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/fa1\/4bd\/39a\/fa14bd39a1254c60a78bf63861f17d03.png\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f JFFS2 \u043f\u0430\u043c\u044f\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u00abClean JFFS2\u00bb \u0438 \u043d\u0430\u0436\u043c\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u043e\u0443\u0442\u0435\u0440. \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0432 \u044d\u0442\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0439\u0434\u0435\u043c \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 telnet. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e putty:<\/p>\n<p>  <code>putty -telnet 192.168.199.1<\/code><\/p>\n<p>  \u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u043d\u0430 \u0432 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 dd-wrt \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0435 \u0438\u043c\u044f. \u041f\u0430\u0440\u043e\u043b\u044c \u2014 \u0442\u043e\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u043d\u0430 \u0432 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0432\u0432\u0435\u0434\u0435\u043c \u0438 \u0435\u0451 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0443 \u043c\u0435\u043d\u044f  <\/p>\n<pre><code>root@DD-WRT:~# nvram show &gt;\/dev\/null size: 29978 bytes (2790 left) <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0431\u0430\u0439\u0442 \u0432 nvram \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0442\u0430\u043c \u043d\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0448\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b. \u0415\u0441\u043b\u0438 \u044d\u0442\u0430 \u043f\u0430\u043c\u044f\u0442\u044c \u0438\u0441\u0447\u0435\u0440\u043f\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0432\u0441\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 dd-wrt \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0436\u0435, \u043d\u0435 \u0441\u0442\u043e\u0438\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b openvpn \u0432 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 nvram. \u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b openvpn \u043c\u043e\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 jffs2 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438\u0445 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u00abadditional config\u00bb \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a openvpn \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/516\/6aa\/4fc\/5166aa4fcc054b33b5720d45ba378377.png\"\/>  <\/div>\n<\/div>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433. \u041c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u0431\u0435\u043b\u044c \u0432 \u043f\u043e\u0440\u0442 LAN1 \u0440\u043e\u0443\u0442\u0435\u0440\u0430. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u0431\u0435\u043b\u044c \u0438\u0434\u0435\u0442 \u043e\u0442 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f GPON, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u041c\u0413\u0422\u0421. \u042d\u0442\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u0434\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0432 \u0441\u0432\u043e\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 192.168.100.0\/255.255.255.0. \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u00ab\u043e\u0442\u043e\u0440\u0432\u0430\u0442\u044c\u00bb \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043f\u043e\u0440\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043e\u0442 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0440\u0442\u043e\u0432 \u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0435\u043c\u0443 \u0430\u0434\u0440\u0435\u0441 \u0438\u0437 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f GPON, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 192.168.100.200.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0430\u044f \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0436\u0435\u043b\u0435\u0437\u043a\u0438, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e asus rt-n16. \u041d\u0430\u0431\u0435\u0440\u0435\u043c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0442\u0432\u0435\u0442:  <\/p>\n<pre><code>root@DD-WRT:~# nvram show | grep vlan.*port vlan2ports=0 8 vlan0ports=1 2 3 4 5* vlan1ports=4 3 2 1 8* size: 29978 bytes (2790 left) root@DD-WRT:~# nvram show | grep vlan.*hw vlan2hwname=et0 vlan1hwname=et0 vlan0hwname=et0 size: 29978 bytes (2790 left) <\/code><\/pre>\n<p>  \u0413\u0440\u0443\u043f\u043f\u044b \u043f\u043e\u0440\u0442\u043e\u0432 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b \u0432 \u0432\u044d\u043b\u0430\u043d\u044b. \u041f\u043e\u0440\u0442 0 \u2014 \u044d\u0442\u043e WAN \u043f\u043e\u0440\u0442 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043f\u043e\u0440\u0442\u044b 1234 \u2014 \u044d\u0442\u043e \u043f\u043e\u0440\u0442\u044b \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 (\u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!) \u043f\u043e\u0440\u0442\u0430\u043c LAN4,LAN3,LAN2,LAN1 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0440\u0442 4 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 LAN1. \u041f\u043e\u0440\u0442 8 \u0438 \u043f\u043e\u0440\u0442 8* \u2014 \u044d\u0442\u043e \u043f\u043e\u0440\u0442\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u0447\u0435\u0440\u0435\u0437 \u043d\u0438\u0445 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u0438\u0434\u0435\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0432 \u0440\u043e\u0443\u0442\u0435\u0440\u0435. \u042f \u043d\u0435 \u0445\u043e\u0447\u0443 \u0432\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043b\u044e\u0431\u043e\u0439 \u0432\u044d\u043b\u0430\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043c\u044b\u043a\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0440\u043e\u0443\u0442\u0435\u0440\u0430. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u00ab\u043e\u0442\u043e\u0440\u0432\u0435\u043c\u00bb 4-\u044b\u0439 \u043f\u043e\u0440\u0442:  <\/p>\n<pre><code>root@DD-WRT:~# nvram set vlan0ports=&quot;1 2 3 5*&quot; root@DD-WRT:~# nvram set vlan1ports=&quot;3 2 1 8*&quot; <\/code><\/pre>\n<p>  \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u043c 4 \u043f\u043e\u0440\u0442 \u0432 3-\u0438\u0439 \u0432\u044d\u043b\u0430\u043d  <\/p>\n<pre><code>root@DD-WRT:~# nvram set vlan3ports=&quot;4 8&quot; <\/code><\/pre>\n<p>  \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0432\u044b\u0439 \u0432\u044d\u043b\u0430\u043d \u0431\u044b\u043b \u0432\u0438\u0434\u0435\u043d, \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443  <\/p>\n<pre><code>root@DD-WRT:~# nvram set vlan3hwname=et0 <\/code><\/pre>\n<p>  \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f  <\/p>\n<pre><code>root@DD-WRT:~# nvram commit <\/code><\/pre>\n<p>  \u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0441 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439 dd-wrt.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435. \u0412 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 ddwrt \u0435\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u044d\u043b\u0430\u043d\u043e\u0432. \u041d\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441 \u043d\u0438\u043c\u0438 \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c, \u0442\u043e \u043c\u0430\u043b\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0431\u0440\u043e\u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043a\u0430\u0436\u0434\u044b\u0439, \u043a\u0442\u043e \u0447\u0438\u0442\u0430\u043b \u043f\u0440\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 dd-wrt \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440, \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u0441 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0440\u0438\u0442\u0443\u0430\u043b\u043e\u043c \u00ab30 30 30\u00bb. \u042d\u0442\u043e \u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u0430. \u0415\u0433\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u0434\u0435\u043b\u0430\u0442\u044c, \u0438\u043d\u0430\u0447\u0435 \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0432\u0430\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u044e \u043f\u043e\u0447\u0435\u043c\u0443. \u0421\u0431\u0440\u043e\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0432 \u0432\u0435\u0431\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u0435\u0442 \u043d\u0435 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 nvram, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u044d\u043b\u0430\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043d\u0430\u0434\u0435\u043b\u0430\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0438\u0442\u0443\u0430\u043b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u0435\u043d. \u041d\u043e \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0438\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u0432\u044b \u0435\u0449\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440):  <\/p>\n<pre><code>root@DD-WRT:~# erase nvram root@DD-WRT:~# reboot <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u00ab\u043f\u043e\u0438\u0433\u0440\u0430\u043b\u0438\u00bb \u0441 \u0432\u044d\u043b\u0430\u043d\u0430\u043c\u0438 \u0438 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0442\u043e \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u00ab30 30 30\u00bb \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c.  <\/div>\n<\/div>\n<p>  \u0410\u0434\u0440\u0435\u0441 \u043d\u0430\u0448\u0435\u043c\u0443 \u043d\u043e\u0432\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 4-\u044b\u043c \u043f\u043e\u0440\u0442\u043e\u043c, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0451\u043c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435, \u0433\u0434\u0435 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f. \u041a\u0430\u043a \u0443\u0447\u0438\u0442 \u043d\u0430\u0441 <s>\u0411\u043e\u043a\u043e\u043d\u043e\u043d<\/s> <a href=\"http:\/\/www.dd-wrt.com\/wiki\/index.php\/Script_Execution\">dd-wrt wiki<\/a>, \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 <code>\/jffs\/etc\/config\/<\/code> \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .startup \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0444\u0430\u0439\u0440\u0432\u043e\u043b \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d. \u041d\u0430\u0437\u043e\u0432\u0451\u043c \u043d\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442 vlan3.startup \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:  <\/p>\n<pre><code>#!\/bin\/sh WAN2_IFNAME=vlan3 WAN2_IPADDR=192.168.100.200 WAN2_GATEWAY=192.168.100.1 WAN2_NETMASK=255.255.255.0 if [ &quot;$(nvram get wan2_ipaddr)&quot; != &quot;$WAN2_IPADDR&quot; ]; then    nvram set wan2_ifname=$WAN2_IFNAME    nvram set wan2_ipaddr=$WAN2_IPADDR    nvram set wan2_gateway=$WAN2_GATEWAY    nvram set wan2_netmask=$WAN2_NETMASK    nvram commit fi ifconfig $(nvram get wan2_ifname) up $(nvram get wan2_ipaddr) netmask $(nvram get wan2_netmask) <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445 \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e. \u041c\u044b \u0437\u0430\u0432\u0435\u043b\u0438 \u0432 nvram 4-\u0440\u0435 \u043d\u043e\u0432\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u0437\u0430\u043d\u0435\u0441\u043b\u0438 \u0432 \u043d\u0438\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u0430\u0434\u0440\u0435\u0441, \u043c\u0430\u0441\u043a\u0443 \u0438 \u0448\u043b\u044e\u0437 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0430\u0434\u0440\u0435\u0441 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0434\u0430\u043d \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u044d\u0442\u043e \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430. \u0414\u0430\u043b\u0435\u0435 \u043a\u043e\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u0440\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. \u0421 \u0442\u0435\u043a\u0443\u0449\u0438\u043c\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0431\u044b \u0442\u0430\u043a:<br \/>  <code>ifconfig vlan3 up 192.168.100.200 netmask 255.255.255.0<\/code><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043a\u0430\u043d\u0430\u043b \u043d\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e:  <\/p>\n<pre><code>INTERVAL=30  while sleep $INTERVAL do         WAN1ALIVE=0         WAN2USING=0         WAN1GW=`nvram get wan_gateway`          echo &quot;check&quot;          if [ &quot;$WAN1GW&quot; != &quot;0.0.0.0&quot; ]; then                 if [ &quot;1&quot; = `ping -c 1 $WAN1GW 2&gt;\/dev\/null | awk    '\/packets received\/ {print $4}'` ]; then                         WAN1ALIVE=1                         echo &quot;wan1alive&quot;                 fi         fi          TARGET=`ip -4 route list 0\/0  | awk -v gate=&quot;via &quot;$WAN2_GATEWAY '$0 ~ gate {print $3}'`         if [ ! -z &quot;$TARGET&quot; ]; then                 WAN2USING=1                 echo &quot;wan2using&quot;         fi          if [ &quot;$WAN1ALIVE&quot; = &quot;1&quot; ] && [ &quot;$WAN2USING&quot; = &quot;1&quot; ]; then                 \/jffs\/etc\/config\/wan1.up                 echo &quot;Changed active WAN port to 1!&quot;         fi          if [ &quot;$WAN1ALIVE&quot; = &quot;0&quot; ] && [ &quot;$WAN2USING&quot; = &quot;0&quot; ]; then                 if [ &quot;1&quot; = `ping -c 1 $WAN2_GATEWAY 2&gt;\/dev\/null | awk '\/packets received\/ {print $4}'` ]; then                         \/jffs\/etc\/config\/wan2.up                         echo &quot;Changed active WAN port to 2!&quot;                 fi         fi  done; <\/code><\/pre>\n<p>  \u0421\u043b\u043e\u0432\u0430\u043c\u0438 \u044d\u0442\u043e\u0442 \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a. \u041a\u0430\u0436\u0434\u044b\u0435 n-\u0446\u0430\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434 \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:  <\/p>\n<ol>\n<li>\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \u0448\u043b\u044e\u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430. \u041e\u043d \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 wan_gateway \u0432 nvram \u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0448\u043b\u044e\u0437 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e dhcp \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u043d\u0435 \u0440\u0430\u0432\u0435\u043d \u00ab0.0.0.0\u00bb, \u0430 \u00ab0.0.0.0\u00bb \u043e\u043d \u0440\u0430\u0432\u0435\u043d \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0430\u0434\u0440\u0435\u0441 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043b\u0435\u0436\u0438\u0442, \u043c\u044b \u0435\u0433\u043e \u043f\u0438\u043d\u0433\u0443\u0435\u043c \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0430\u0433 WAN1ALIVE \u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0443, \u0442\u043e \u0435\u0441\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u043c.<\/li>\n<li>\u041f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u0448\u043b\u044e\u0437\u0430 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0430\u0433 WAN2USING=1, \u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043a\u0430\u043d\u0430\u043b.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b, \u0442\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b, \u0442\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0448\u043b\u044e\u0437\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0440\u0435\u0437\u0435\u0440\u0432.<\/li>\n<\/ol>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 wan1.up:  <\/p>\n<pre><code>#!\/bin\/sh # WAN1 DEV=vlan2 GATEWAY=`nvram get wan_gateway` DNS1=8.8.8.8 DNS2=8.8.4.4  nvram set wan_dns=&quot;$DNS1 $DNS2&quot; while ip route del default; do :; done ip route add default via $GATEWAY dev $DEV echo &quot;nameserver $DNS1&quot; &gt;\/tmp\/resolv.dnsmasq echo &quot;nameserver $DNS2&quot; &gt;&gt;\/tmp\/resolv.dnsmasq pr=&quot;$(ps|awk '\/dnsmasq\/ {print $1}')&quot; kill -9 $pr dnsmasq --conf-file=\/tmp\/dnsmasq.conf <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e. \u0423\u0434\u0430\u043b\u0438\u043b\u0438 \u0432\u0441\u0435 \u0448\u043b\u044e\u0437\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0414\u0430-\u0434\u0430, \u0438\u0445 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e: \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0431\u044b\u043b \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b, \u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043e\u0434\u0438\u043d \u0448\u043b\u044e\u0437 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0415\u0441\u043b\u0438 \u0437\u0430\u0442\u0435\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b, dd-wrt \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0448\u043b\u044e\u0437 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0422\u0443\u0442 \u0443\u0436 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u0442\u044c \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u00ab\u0433\u0440\u044f\u0437\u043d\u044b\u0439 \u0445\u0430\u043a\u00bb: <code>while ip route del default; do :; done<\/code>, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0432\u0441\u0435 \u0448\u043b\u044e\u0437\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0448\u043b\u044e\u0437\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u041d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \u0432\u0441\u0435 \u0448\u043b\u044e\u0437\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u044b\u0439 \u0448\u043b\u044e\u0437, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0438\u0441\u0430\u043d \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e wan_gateway nvram (\u0435\u0433\u043e \u0442\u0443\u0434\u0430 \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0430 \u043b\u043e\u0433\u0438\u043a\u0430 dd-wrt \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430). \u0417\u0430\u043c\u0435\u043d\u0438\u043c dns \u043d\u0430 dns \u0433\u0443\u0433\u043b, \u0443\u0431\u044c\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Dnsmasq\">dnsmasq<\/a> \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u043d\u043e\u0432\u044c.<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 wan2.up \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0442\u0430\u043a\u0438\u043c-\u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043d\u043e \u0430\u0434\u0440\u0435\u0441 \u0448\u043b\u044e\u0437\u0430 \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u0438\u0437 \u043f\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 wan2_gateway nvram \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 4-\u044b\u043c \u043f\u043e\u0440\u0442\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0430.<\/p>\n<pre><code>#!\/bin\/sh # WAN2 DEV=vlan3 GATEWAY=`nvram get wan2_gateway` DNS1=8.8.8.8 DNS2=8.8.4.4  nvram set wan_dns=&quot;$DNS1 $DNS2&quot; while ip route del default; do :; done ip route add default via $GATEWAY dev $DEV echo &quot;nameserver $DNS1&quot; &gt;\/tmp\/resolv.dnsmasq echo &quot;nameserver $DNS2&quot; &gt;&gt;\/tmp\/resolv.dnsmasq pr=&quot;$(ps|awk '\/dnsmasq\/ {print $1}')&quot; kill -9 $pr dnsmasq --conf-file=\/tmp\/dnsmasq.conf <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u0441\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043a vlan3.wanup, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043d\u044f\u0442\u0438\u044f WAN, \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u0440\u0432\u043e\u043b\u043b:<\/p>\n<pre><code>#!\/bin\/sh iptables -t nat -A POSTROUTING -o $(nvram get wan2_ifname) -j SNAT --to $(nvram get wan2_ipaddr) <\/code><\/pre>\n<p>  \u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043a\u0430 \u2014 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043d\u0430\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u043e\u0443\u0442\u0435\u0440 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0412\u0441\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0431\u044b\u043b\u0438 \u0432\u0437\u044f\u0442\u044b \u0438\u0437 \u043c\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0436\u0438\u0432\u0451\u0442 \u0441\u0432\u043e\u0435\u0439 \u0436\u0438\u0437\u043d\u044c \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043e\u043a\u043d\u043e telnet\\ssh \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043f\u0440\u043e\u0441\u0442\u044b\u043d\u044e \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u00abEnter\u00bb:  <\/p>\n<pre><code>nvram set vlan0ports=&quot;1 2 3 5*&quot; nvram set vlan1ports=&quot;3 2 1 8*&quot; nvram set vlan3ports=&quot;4 8&quot; nvram set vlan3hwname=et0 nvram commit mkdir -p \/jffs\/etc\/config cat &lt;&lt; 'EOF' &gt; \/jffs\/etc\/config\/vlan3.startup #!\/bin\/sh WAN2_IFNAME=vlan3 WAN2_IPADDR=192.168.100.200 WAN2_GATEWAY=192.168.100.1 WAN2_NETMASK=255.255.255.0 if [ &quot;$(nvram get wan2_ipaddr)&quot; != &quot;$WAN2_IPADDR&quot; ]; then    nvram set wan2_ifname=$WAN2_IFNAME    nvram set wan2_ipaddr=$WAN2_IPADDR    nvram set wan2_gateway=$WAN2_GATEWAY    nvram set wan2_netmask=$WAN2_NETMASK    nvram commit fi ifconfig $(nvram get wan2_ifname) up $(nvram get wan2_ipaddr) netmask $(nvram get wan2_netmask)  INTERVAL=30  while sleep $INTERVAL do         WAN1ALIVE=0         WAN2USING=0         WAN1GW=`nvram get wan_gateway`          echo &quot;check&quot;          if [ &quot;$WAN1GW&quot; != &quot;0.0.0.0&quot; ]; then                 if [ &quot;1&quot; = `ping -c 1 $WAN1GW 2&gt;\/dev\/null | awk    '\/packets received\/ {print $4}'` ]; then                         WAN1ALIVE=1                         echo &quot;wan1alive&quot;                 fi         fi          TARGET=`ip -4 route list 0\/0  | awk -v gate=&quot;via &quot;$WAN2_GATEWAY '$0 ~ gate {print $3}'`         if [ ! -z &quot;$TARGET&quot; ]; then                 WAN2USING=1                 echo &quot;wan2using&quot;         fi          if [ &quot;$WAN1ALIVE&quot; = &quot;1&quot; ] && [ &quot;$WAN2USING&quot; = &quot;1&quot; ]; then                 \/jffs\/etc\/config\/wan1.up                 echo &quot;Changed active WAN port to 1!&quot;         fi          if [ &quot;$WAN1ALIVE&quot; = &quot;0&quot; ] && [ &quot;$WAN2USING&quot; = &quot;0&quot; ]; then                 if [ &quot;1&quot; = `ping -c 1 $WAN2_GATEWAY 2&gt;\/dev\/null | awk '\/packets received\/ {print $4}'` ]; then                         \/jffs\/etc\/config\/wan2.up                         echo &quot;Changed active WAN port to 2!&quot;                 fi         fi  done; EOF chmod +x \/jffs\/etc\/config\/vlan3.startup cat &lt;&lt; 'EOF' &gt; \/jffs\/etc\/config\/vlan3.wanup #!\/bin\/sh iptables -t nat -A POSTROUTING -o $(nvram get wan2_ifname) -j SNAT --to $(nvram get wan2_ipaddr) EOF chmod +x \/jffs\/etc\/config\/vlan3.wanup cat &lt;&lt; 'EOF' &gt; \/jffs\/etc\/config\/wan1.up #!\/bin\/sh # WAN1 DEV=vlan2 GATEWAY=`nvram get wan_gateway` DNS1=8.8.8.8 DNS2=8.8.4.4  nvram set wan_dns=&quot;$DNS1 $DNS2&quot; #`ip -4 route list 0\/0  | awk '\/default via\/ {print &quot;ip route delete default&quot;}'` | sh # ip route delete default while ip route del default; do :; done ip route add default via $GATEWAY dev $DEV echo &quot;nameserver $DNS1&quot; &gt;\/tmp\/resolv.dnsmasq echo &quot;nameserver $DNS2&quot; &gt;&gt;\/tmp\/resolv.dnsmasq pr=&quot;$(ps|awk '\/dnsmasq\/ {print $1}')&quot; kill -9 $pr dnsmasq --conf-file=\/tmp\/dnsmasq.conf EOF chmod +x vi \/jffs\/etc\/config\/wan1.up cat &lt;&lt; 'EOF' &gt; \/jffs\/etc\/config\/wan2.up #!\/bin\/sh # WAN2 DEV=vlan3 GATEWAY=`nvram get wan2_gateway` DNS1=8.8.8.8 DNS2=8.8.4.4  nvram set wan_dns=&quot;$DNS1 $DNS2&quot; #`ip -4 route list 0\/0  | awk '\/default via\/ {print &quot;ip route delete default&quot;}'`|sh # ip route delete default while ip route del default; do :; done ip route add default via $GATEWAY dev $DEV echo &quot;nameserver $DNS1&quot; &gt;\/tmp\/resolv.dnsmasq echo &quot;nameserver $DNS2&quot; &gt;&gt;\/tmp\/resolv.dnsmasq pr=&quot;$(ps|awk '\/dnsmasq\/ {print $1}')&quot; kill -9 $pr dnsmasq --conf-file=\/tmp\/dnsmasq.conf EOF chmod +x \/jffs\/etc\/config\/wan2.up <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0443\u0436\u043d\u043e \u043c\u043d\u043e\u0433\u043e\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c\\\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c, \u043d\u043e \u043c\u043e\u044f \u0446\u0435\u043b\u044c, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0434\u043e\u043c\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b \u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u0440\u0432\u043e\u043b\u043b \u0438 \u043f\u0440\u043e\u0431\u0440\u043e\u0441 \u043f\u043e\u0440\u0442\u043e\u0432 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u043c \u043a\u0430\u043d\u0430\u043b\u043e\u043c, \u043c\u043d\u0435 \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b. \u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u043c\u0443 \u043d\u0430\u0434\u043e \u2014 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0439\u0442\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 vlan3.wanup. \u0416\u0435\u043b\u0430\u044e \u0443\u0434\u0430\u0447\u0438 \u0432 \u0432\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f\u0445!<\/p>\n<p>  \u0418\u0434\u0435\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u044b\u043b\u0438 \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u0442\u044b \u0438\u0437 <a href=\"http:\/\/www.dd-wrt.com\/wiki\/index.php\/Dual_WAN_with_failover\">dd-wrt wiki<\/a>.             <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/263163\/\"> http:\/\/habrahabr.ru\/post\/263163\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u041d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u0443 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0430\u0432\u0430\u0440\u0438\u044f \u0438 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043c\u0430 \u043f\u0440\u043e\u043f\u0430\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0412\u0434\u0432\u043e\u0439\u043d\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0435\u0441\u044c \u0434\u0430\u043b\u0435\u043a\u043e \u043e\u0442 \u0434\u043e\u043c\u0430 \u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0435\u0437\u0442\u044c \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438\u043b\u0438 NAS. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u043d\u0430\u043b\u0430 \u043c\u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u041c\u0413\u0422\u0421, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0443\u044e \u043c\u0435\u0434\u044c \u043d\u0430 \u043e\u043f\u0442\u0438\u043a\u0443, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043a\u0430\u043d\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0435\u043d\u0435\u0442, \u0438 \u0447\u0442\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0430\u043d\u0443\u0430\u043b\u043e\u0432 \u043f\u043e dd-wrt. \u0415\u0441\u043b\u0438 \u0441 \u043e\u043f\u0442\u0438\u043a\u043e\u0439 \u044f \u043f\u043e\u043c\u043e\u0447\u044c \u043d\u0435 \u0441\u043c\u043e\u0433\u0443, \u0442\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043f\u043e dd-wrt \u044f \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c.<\/p>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435, \u043d\u043e, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438 \u043d\u0430 \u0435\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u0435 \u043d\u0435\u0438\u0441\u043a\u0443\u0448\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0435, \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u0440\u0443\u0433\u043e\u0437\u043e\u0440 \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\"  src=\"https:\/\/habrastorage.org\/files\/7b5\/f48\/ae6\/7b5f48ae6cdb483bbc266b9db5d12ae9.jpg\"\/><\/div>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-261943","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=261943"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261943\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}