{"id":154829,"date":"2012-10-18T15:14:04","date_gmt":"2012-10-18T11:14:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=154829"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=154829","title":{"rendered":"<span class=\"post_title\">Mikrotik + IPSec + Cisco. \u0427\u0430\u0441\u0442\u044c 2. \u0422\u043e\u043d\u043d\u0435\u043b\u044c \u043d\u0430 \u00ab\u0441\u0435\u0440\u043e\u043c\u00bb IP<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<i>\u0412 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043a <a href=\"http:\/\/habrahabr.ru\/post\/151951\/\">\u043f\u043e\u0441\u0442\u0443<\/a>.<\/i><br \/>  \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043a\u043e\u0433\u0434\u0430 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0446\u0438\u0441\u043a\u0438 \u0438 \u043c\u0438\u043a\u0440\u043e\u0442\u0430 \u0431\u044b\u043b\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 IP&#8217;\u044b.<br \/>  \u0417\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u044e \u043f\u0440\u0438\u043c\u0435\u0440 \u00ab\u0441\u0435\u0440\u043e\u0433\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0438\u043a\u0430\u00bb, \u0442.\u0435 \u0441\u0435\u0440\u044b\u0439 IP, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u0435\u0442 \u0443 \u0441\u0435\u0431\u044f \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0435\u0439 (binat).<\/p>\n<h4>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c ipip-\u0442\u043e\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u043e\u0444\u0438\u0441\u0430\u043c\u0438, \u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c ipsec, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Mikrotik RB450G \u0438 Cisco 2821.<\/h4>\n<h5>\u041d\u044c\u044e\u0430\u043d\u0441\u044b<\/h5>\n<p>  \u043d\u0430 \u0446\u0438\u0441\u043a\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP, \u0430 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0435 \u0441\u0435\u0440\u044b\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u043c \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0439, \u0441 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0435\u0439 (\u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u043d\u0435\u0448\u043d\u0438\u043a\u0443 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u044f\u0442\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043d\u044b\u0439, \u0441\u0435\u0440\u044b\u0439 \u00abIP\u00bb).<br \/>  \u0421\u0445\u0435\u043c\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/072\/b50\/f9f\/072b50f9f897213a6a73663339d85fa1.png\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h5>\n<p>  <\/p>\n<ul>\n<li> Cisco 2821 (OS v12.4)<\/li>\n<li>2. Mikrotik RB450G<\/li>\n<li>3. \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 IP \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445<\/li>\n<li>4. \u0410\u0434\u0440\u0435\u0441 \u0446\u0438\u0441\u043a\u0438: 77.77.77.226. \u041f\u043e\u0434\u0441\u0435\u0442\u044c \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0446\u0438\u0441\u043a\u0438: 10.192.0.0\/22<\/li>\n<li>5. \u0410\u0434\u0440\u0435\u0441 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430: 99.99.99.2. \u041f\u043e\u0434\u0441\u0435\u0442\u044c \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430: 192.168.100.0\/24<\/li>\n<li>6. \u0421\u0435\u0440\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430 \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435: 172.16.99.2.<\/li>\n<\/ul>\n<h5>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h5>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0438\u043b\u0438\u0430\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 (\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0441\u0442\u043d\u044b\u0439) \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e IP \u0432\u044b\u0434\u0430\u043b \u043c\u043d\u0435 \u00ab\u0441\u0435\u0440\u044b\u0439\u00bb.<br \/>  \u041d\u0430 \u043c\u043e\u0451 \u0437\u0430\u043a\u043e\u043d\u043d\u043e\u0435 \u0432\u043e\u0437\u043c\u0443\u0449\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443 \u043d\u0430\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0434\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \u2014 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0434\u043b\u044f \u043d\u0430\u0441 \u0441\u0434\u0435\u043b\u0430\u043d \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 nat&#8217;\u0430, \u0438 \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0432\u043d\u0435\u0448\u043d\u0438\u043a \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u044f\u0442\u0441\u044f \u043d\u0430 \u043d\u0430\u0448 \u00ab\u0441\u0435\u0440\u044b\u0439\u00bb ip, \u0438 \u043f\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u043e\u043d\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043c\u043e\u0433\u0443\u0442.<br \/>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043d\u0430\u0448 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440 \u043e\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f, \u0438 \u044f \u0441\u0442\u0430\u043b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0442\u043e\u043d\u043d\u0435\u043b\u044c. \u0422\u043e\u043d\u043d\u0435\u043b\u044c \u043d\u0435 \u0437\u0430\u0432\u0451\u043b\u0441\u044f \ud83d\ude42<br \/>  \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0435\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u0430\u044f. \u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0432\u0440\u043e\u0434\u0435 \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430 \u0434\u0435\u043b\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u00ab\u0441\u0435\u0440\u044b\u043c\u00bb, \u043d\u043e \u0438 NAT-T \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435\u0442<br \/>  \u041e\u043a\u043e\u043b\u043e \u0447\u0430\u0441\u0430 \u044f \u043c\u0443\u0447\u0430\u043b \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a \u0441 \u0446\u0438\u0441\u043a\u043e\u0439, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f (\u043a\u0441\u0442\u0430\u0442\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0435\u0451 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043d\u0430 racoon \u043f\u043e\u0434 freebsd \u2014 \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u043e).<\/p>\n<h6>\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u0438\u0442\u043e\u0433\u0435<\/h6>\n<p>  \u041d\u0430 \u0446\u0438\u0441\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u043b \u0442\u0443\u043d\u0435\u043b\u044c, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u043a\u0430\u0437\u0430\u043b \u0441\u0435\u0440\u044b\u0439 ip \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430 \u0432 destination.<\/p>\n<p>  \u0412\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 (\u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435) \u043f\u0440\u0438\u0432\u043e\u0436\u0443 \u043d\u0438\u0436\u0435.<\/p>\n<h4>Cisco:<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">! \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 - \u0445\u0435\u0448 \u043c\u04345 \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 3des \u043f\u043e \u043f\u0430\u0440\u043e\u043b\u044c\u043d\u043e\u043c\u0443 \u043a\u043b\u044e\u0447\u0443 (pre-share) crypto isakmp policy 20  encr 3des  hash md5  authentication pre-share ! group2 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0435 \u043d\u0430\u0434\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c dh-group=modp1024  group 2  ! \u0421\u0430\u043c \u043a\u043b\u044e\u0447 crypto isakmp key MyPassWord address 99.99.99.2 no-xauth crypto isakmp keepalive 30 ! \u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c. \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f transport, \u0430 \u043d\u0435 tunnel \u0440\u0435\u0436\u0438\u043c crypto ipsec transform-set transform-2 esp-3des esp-md5-hmac  mode transport  crypto dynamic-map dynmap 10  set transform-set transform-2  reverse-route  crypto map vpnmap client configuration address respond crypto map vpnmap 5 ipsec-isakmp dynamic dynmap crypto map vpnmap 10 ipsec-isakmp ! \u043a\u0440\u0438\u043f\u0442\u043e\u043c\u0430\u043f\u0430 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430 crypto map vpnmap 95 ipsec-isakmp  description polyanka ! ip \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0430  set peer 99.99.99.2  set security-association lifetime seconds 86400  set transform-set transform-2 ! pfs group2 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0435 \u043d\u0430\u0434\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c dh-group=modp1024  set pfs group2 ! access-\u043b\u0438\u0441\u0442, \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0449\u0438\u0439 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435  match address 136  ! \u0421\u0430\u043c \u0442\u043e\u043d\u043d\u0435\u043b\u044c interface Tunnel95  description tunnel_NewMikrotik  ip unnumbered GigabitEthernet0\/1 ! \u0426\u0438\u0441\u043a\u0438\u043d \u0430\u0434\u0440\u0435\u0441  tunnel source 77.77.77.226 ! \u0410\u0434\u0440\u0435\u0441 \u043c\u0438\u043a\u0440\u043e\u0442\u0430.  ! \u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415 - \u0410\u0414\u0420\u0415\u0421 \u0421\u0415\u0420\u042b\u0419. \u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0431\u0435\u043b\u044b\u0439 - \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f... ! \u0422\u043e\u0447\u043d\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u0440\u0432\u0451\u0442 \u0441\u0432\u044f\u0437\u044c.  tunnel destination 172.16.99.2  tunnel mode ipip  interface GigabitEthernet0\/1  description Internet  ip address 77.77.77.226 255.255.255.224  no ip redirects  no ip unreachables  no ip proxy-arp  ip wccp web-cache redirect out  ip virtual-reassembly  ip route-cache policy  no ip mroute-cache  duplex auto  speed auto  no mop enabled ! \u0412\u041a\u041b\u042e\u0427\u0410\u0415\u041c \u0428\u0418\u0424\u0420\u041e\u0412\u0410\u041d\u0418\u0415 \u041d\u0410 \u0418\u041d\u0422\u0415\u0420\u0424\u0415\u0419\u0421\u0415  crypto map vpnmap ! \u0420\u043e\u0443\u0442\u0438\u043d\u0433 \u0441\u0435\u0442\u0438, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u0439\u0441\u044f \u0437\u0430 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u043e\u043c ip route 192.168.100.0 255.255.255.0 Tunnel95 ! \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0442\u043e\u043d\u043d\u0435\u043b\u044f access-list 136 permit ip host 77.77.77.226 host 99.99.99.2 access-list 136 permit ip host 77.77.77.226 host 172.16.99.2 <\/code><\/pre>\n<h4>\u041c\u0438\u043a\u0440\u043e\u0442\u0438\u043a:<\/h4>\n<p>  <\/p>\n<pre><code class=\"bash\">\/interface ipip add comment=&quot;Office tunnel&quot; disabled=no dscp=0 local-address=172.16.99.2 \\     mtu=1260 name=Cisco-VPN remote-address=77.77.77.226                 \/ip ipsec proposal set [ find default=yes ] auth-algorithms=md5 disabled=no enc-algorithms=3des \\     lifetime=30m name=default pfs-group=modp1024 \/ip ipsec peer add address=77.77.77.226\/32 auth-method=pre-shared-key dh-group=modp1024 \\     disabled=no dpd-interval=2m dpd-maximum-failures=5 enc-algorithm=3des \\     exchange-mode=main generate-policy=yes hash-algorithm=md5 lifebytes=0 \\     lifetime=1d my-id-user-fqdn=&quot;&quot; nat-traversal=no port=500 proposal-check=\\     obey secret=MyPassWord send-initial-contact=yes \/ip route add disabled=no distance=1 dst-address=10.192.0.0\/22 gateway=Cisco-VPN scope=30 \\     target-scope=10 \/ip firewall filter add action=accept chain=input comment=&quot;default configuration&quot; disabled=no add action=accept chain=output disabled=no <\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u0436\u0435 \u043a\u043e\u043d\u0444\u0438\u0433, \u0433\u043b\u0430\u0437\u0430\u043c\u0438 WinBox:<br \/>  1. <b>\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b-IP Tunnel<\/b>. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/449\/5fa\/067\/4495fa067f87095c519b33aa97110ba2.png\"\/><br \/>  2. \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>IP-IPSec-Proposals<\/b> \u0432 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0435 <b>\u041e\u0411\u042f\u0417\u0410\u0422\u0415\u041b\u042c\u041d\u041e<\/b> \u0441\u043c\u0435\u043d\u0438\u0442\u044c SHA1 \u043d\u0430 MD5, \u0442.\u043a \u0432 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f MD5.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/eef\/ac7\/bef\/eefac7bef43bc6103bbde67d71eeae99.png\"\/><br \/>  3. <b>IP-IPSec-Peers<\/b>. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/28e\/9dd\/14d\/28e9dd14d1968b4d819d6f2635647dc4.png\"\/><br \/>  4. <b>IP-Routes<\/b>. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/b70\/5e2\/13a\/b705e213ab566140d91f3da86f5a8f0b.png\"\/><\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0431\u044b\u043b \u043f\u043e\u043b\u0435\u0437\u0435\u043d.    \t   \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\/154829\/\"> http:\/\/habrahabr.ru\/post\/154829\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<i>\u0412 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043a <a href=\"http:\/\/habrahabr.ru\/post\/151951\/\">\u043f\u043e\u0441\u0442\u0443<\/a>.<\/i><br \/>  \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043a\u043e\u0433\u0434\u0430 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0446\u0438\u0441\u043a\u0438 \u0438 \u043c\u0438\u043a\u0440\u043e\u0442\u0430 \u0431\u044b\u043b\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 IP&#8217;\u044b.<br \/>  \u0417\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u044e \u043f\u0440\u0438\u043c\u0435\u0440 \u00ab\u0441\u0435\u0440\u043e\u0433\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0438\u043a\u0430\u00bb, \u0442.\u0435 \u0441\u0435\u0440\u044b\u0439 IP, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u0435\u0442 \u0443 \u0441\u0435\u0431\u044f \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0435\u0439 (binat).<\/p>\n<h4>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430: \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c ipip-\u0442\u043e\u043d\u043d\u0435\u043b\u044c \u043c\u0435\u0436\u0434\u0443 \u043e\u0444\u0438\u0441\u0430\u043c\u0438, \u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c ipsec, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Mikrotik RB450G \u0438 Cisco 2821.<\/h4>\n<h5>\u041d\u044c\u044e\u0430\u043d\u0441\u044b<\/h5>\n<p>  \u043d\u0430 \u0446\u0438\u0441\u043a\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP, \u0430 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0442\u0438\u043a\u0435 \u0441\u0435\u0440\u044b\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u043c \u043f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u0439, \u0441 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0435\u0439 (\u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u0432\u043d\u0435\u0448\u043d\u0438\u043a\u0443 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u044f\u0442\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043d\u044b\u0439, \u0441\u0435\u0440\u044b\u0439 \u00abIP\u00bb).<br \/>  \u0421\u0445\u0435\u043c\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/072\/b50\/f9f\/072b50f9f897213a6a73663339d85fa1.png\"\/>  <\/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-154829","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/154829","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=154829"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/154829\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=154829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=154829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}