{"id":231103,"date":"2014-07-25T15:49:03","date_gmt":"2014-07-25T11:49:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=231103"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=231103","title":{"rendered":"<span class=\"post_title\">\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u0432\u0441\u0435\u043c \u0432 \u043e\u0444\u0438\u0441\u0435 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u0438\u0442\u044c \u0421\u0438\u0441\u0430\u0434\u043c\u0438\u043d\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u041a\u0430\u043a \u0412\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0434\u0435\u043d\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430, \u043d\u043e \u0432\u043e\u0442 \u0432 \u043e\u0444\u0438\u0441\u0435 \u043c\u043e\u0435\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435 \u0432\u0441\u0435 \u0437\u043d\u0430\u044e\u0442. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u044f \u0441\u043e\u043e\u0440\u0443\u0434\u0438\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443 \u0434\u043b\u044f \u043a\u043e\u043b\u043b\u0435\u0433. \u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0438\u0440\u043c\u044b Mikrotik, \u0442\u043e \u043d\u0430 \u043d\u0435\u043c \u0438 \u0432\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/779\/27a\/143\/77927a14316251ba1797475ad84ff474.jpg\" alt=\"image\"\/><br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0410 \u0437\u0430\u0434\u0443\u043c\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u0430: \u043f\u043e\u043a\u0430 \u0437\u0430\u0431\u044b\u0432\u0447\u0438\u0432\u044b\u0439 \u043a\u043e\u043b\u043b\u0435\u0433\u0430 \u0441\u0435\u0440\u0444\u0438\u0442 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u043c\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430, \u043d\u0443 \u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0442\u043e \u043e\u043d \u0442\u0430\u043c \u0445\u043e\u0442\u0435\u043b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0435\u0447\u0435\u0440\u043e\u043c \u0432 \u043f\u044f\u0442\u043d\u0438\u0446\u0443.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c \u043d\u0430 Mikrotik`\u0435 \u043f\u0440\u043e\u043a\u0441\u0438 \u0441\u0435\u0440\u0432\u0435\u0440<\/p>\n<p>  <code>\/ip proxy set enabled=yes<\/code><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0449\u0443\u044e \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445:<\/p>\n<p>  <code>\/ip proxy reset-html<\/code><\/p>\n<p>  \u041d\u0430\u0441 \u0441\u043f\u0440\u043e\u0441\u044f\u0442:<\/p>\n<p>  <code>Current html pages will be lost! Reset anyway? [y\/N]: <\/code><\/p>\n<p>  \u0438 \u043c\u044b \u0441\u043c\u0435\u043b\u043e \u0436\u043c\u0435\u043c \u00aby\u00bb<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0448\u0435 \u043f\u0440\u043e\u043a\u0441\u0438<\/p>\n<p>  <code>\/ip proxy access add action=deny disabled=no<\/code><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 Winbox<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3f8\/ae9\/ef2\/3f8ae9ef2297969dae2a86e68bf01c72.png\" alt=\"image\"\/><\/div>\n<\/div>\n<p>  \u0412 Mikrotik`\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0430 <i>webproxy\/error.html<\/i> \u0435\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u043c \u043a\u0440\u0430\u0441\u0438\u0432\u043e. \u0422\u0443\u0442 \u0435\u0449\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u044e: \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <i>$(url)<\/i> \u043e\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 URL \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u2014 \u043a\u0443\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043f\u0430\u0441\u0442\u044c. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0435:<\/p>\n<p>  <code>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;5; url=$(url)&quot;&gt;<\/code><\/p>\n<p>  \u0412\u043e\u0442 \u0447\u0442\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/912\/5bd\/bdc\/9125bdbdc92e19bee657afed8908c71e.png\" alt=\"image\"\/><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 Winbox<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3fa\/c71\/020\/3fac7102081ef9dde67a561c9f8b1de2.png\" alt=\"image\"\/><\/div>\n<\/div>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0441 80 \u043f\u043e\u0440\u0442\u0430 \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u043e\u043a\u0441\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u043c \u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 <i>Ok<\/i> \u2014 \u044d\u0442\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u0435\u0445 \u043a\u0442\u043e \u0443\u0436\u0435 \u0432\u0438\u0434\u0435\u043b \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443.<\/p>\n<p>  <code>\/ip firewall nat add disabled=no chain=dstnat protocol=tcp dst-port=80 src-address-list=!Ok action=redirect to-ports=8080 comment=sysadmin<\/code><\/p>\n<p>  \u0414\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u044b\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445:<\/p>\n<p>  <code>\/ip firewall nat move [find comment=sysadmin] destination=0<\/code><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 Winbox<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/c85\/0fe\/6a6\/c850fe6a69479c6c787727074b619cf0.png\" alt=\"image\"\/><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e3\/860\/41d\/4e386041d32e6d79a0fb9128820b5d5f.png\" alt=\"image\"\/><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/8b1\/c87\/fe1\/8b1c87fe1b576fc5e4a17b0d5dce1afd.png\" alt=\"image\"\/><\/div>\n<\/div>\n<p>  \u043d\u0443 \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a <i>Ok<\/i> \u0442\u0435\u0445 \u043a\u0442\u043e \u0432\u0438\u0434\u0435\u043b \u043d\u0430\u0448\u0443 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443:<\/p>\n<p>  <code>\/ip firewall filter add disabled=no chain=input protocol=tcp dst-port=8080 action=add-src-to-address-list address-list=Ok address-list-timeout=15m comment=sysadmin<\/code><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043a\u0442\u043e \u0442\u043e \u043d\u0435 \u043f\u043e\u0437\u0430\u0431\u044b\u043b \u0441\u0442\u0430\u0432\u0438\u043c timeout \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043d\u0430 15 \u043c\u0438\u043d\u0443\u0442<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 Winbox<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/6cb\/ab4\/3cb\/6cbab43cbb013888af29a2d3fea13572.png\" alt=\"image\"\/><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/736\/d18\/ac4\/736d18ac43dd95ca84e050312b0dbd4b.png\" alt=\"image\"\/><\/div>\n<\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u043f\u043e http \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u0443\u0432\u0438\u0434\u044f\u0442 \u043d\u0430\u0448\u0443 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443 \u0430 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u0430 \u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0445\u043e\u0442\u0435\u043b\u0438. \u041c\u0438\u043d\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 15 \u0432\u0441\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0441\u044f.<\/p>\n<p>  \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0434\u0430\u0442\u044c \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0421\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0442\u0435\u043c\u0435:<br \/>  <a href=\"http:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Proxy\">Manual:IP\/Proxy<\/a><br \/>  <a href=\"http:\/\/wiki.mikrotik.com\/wiki\/How_to_make_transparent_web_proxy\">How to make transparent web proxy<\/a><br \/>  <a href=\"http:\/\/local.com.ua\/forum\/topic\/33866-mikrotik-%D0%B7%D0%B0%D0%B3%D0%BB%D1%83%D1%88%D0%BA%D0%B0\/page-2\">MikroTIK + \u0417\u0430\u0433\u043b\u0443\u0448\u043a\u0430<\/a>      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/231103\/\"> http:\/\/habrahabr.ru\/post\/231103\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u041a\u0430\u043a \u0412\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0434\u0435\u043d\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430, \u043d\u043e \u0432\u043e\u0442 \u0432 \u043e\u0444\u0438\u0441\u0435 \u043c\u043e\u0435\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435 \u0432\u0441\u0435 \u0437\u043d\u0430\u044e\u0442. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u044f \u0441\u043e\u043e\u0440\u0443\u0434\u0438\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0443\u0442\u043e\u0447\u043d\u0443\u044e \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043b\u043a\u0443 \u0434\u043b\u044f \u043a\u043e\u043b\u043b\u0435\u0433. \u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0438\u0440\u043c\u044b Mikrotik, \u0442\u043e \u043d\u0430 \u043d\u0435\u043c \u0438 \u0432\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/779\/27a\/143\/77927a14316251ba1797475ad84ff474.jpg\" alt=\"image\"\/>  <\/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-231103","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/231103","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=231103"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/231103\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}