{"id":232709,"date":"2014-08-08T13:47:03","date_gmt":"2014-08-08T09:47:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=232709"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=232709","title":{"rendered":"<span class=\"post_title\">\u0422\u043e\u043b\u044c\u043a\u043e \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 openvpn \u0432 VmWare\/VirtualBox?<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0425\u0430\u0431\u0440\u044e\u0437\u0432\u0435\u0440\u044b!!!<\/p>\n<p>  \u0412\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0437\u0430\u0432\u0435\u0441\u0442\u0438 openvpn \u0432 virtualbox\/vmware.<br \/>  \u0418\u043c\u0435\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u00abFedora release 19 (Schr\u00f6dinger\u2019s Cat)\u00bb \u0433\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f openvpn.<br \/>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u0436\u0435\u043b\u0435\u0437\u043a\u0435(PC), \u0442\u043e openvpn \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 vpn \u0441\u0435\u0442\u0438. <br \/>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 VmWare workstation (10.0.1 build-1379776) \u0438\u043b\u0438 VirtualBox (4.3.14) \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f vpn \u2014 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 tun0 \u0432 UP, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 vpn IP-\u0448\u043d\u0438\u043a\u0438, \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0441\u0430\u0434\u044f\u0442\u0441\u044f route \u041d\u041e \u043d\u0435 \u043f\u0438\u043d\u0433\u0443\u0435\u0442\u0441\u044f vpn \u0433\u0435\u0439\u0442, \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0445\u043e\u0441\u0442.<br \/>  \u0412 message \u043b\u043e\u0433\u0430\u0445 \u0438\u0437 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0438\u0448\u044c \u043e\u0448\u0438\u0431\u043a\u0430:  <\/p>\n<blockquote><p>Aug 8 14:37:48 localhost NetworkManager[484]:  \/sys\/devices\/virtual\/net\/tun0: couldn&#8217;t determine device driver; ignoring\u2026<br \/>  Aug 8 14:37:51 localhost vnstatd[557]: Interface \u00abtun0\u00bb enabled.<\/p>\n<p>  \u0412\u043e\u0442 \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 tun0 \u0434\u0435\u0432\u0430\u0439\u0441\u0430.  <\/p>\n<blockquote><p>[root@localhost ~]# ls \/sys\/devices\/virtual\/net\/tun0<br \/>  addr_assign_type dev_id ifalias netdev_group queues tx_queue_len<br \/>  address dormant ifindex operstate speed type<br \/>  addr_len duplex iflink owner statistics uevent<br \/>  broadcast flags link_mode phys_port_id subsystem<br \/>  carrier group mtu power tun_flags<br \/>  [root@localhost ~]# <\/p><\/blockquote>\n<p>  \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c firewall \u043d\u0430 windows 8\/7(\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043b\u0430\u043f\u0442\u043e\u043f\u0430\u0445) \u0433\u0434\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e Vmware\/Virtualbox \u0438 iptables \u043d\u0430 guest \u0445\u043e\u0441\u0442\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \ud83d\ude41<br \/>  \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u0441\u044f \u043a\u0442\u043e-\u0442\u043e \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c? <\/p>\n<p>  <a name=\"habracut\"><\/a><\/p><\/blockquote>\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\/232709\/\"> http:\/\/habrahabr.ru\/post\/232709\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0425\u0430\u0431\u0440\u044e\u0437\u0432\u0435\u0440\u044b!!!<\/p>\n<p>  \u0412\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0437\u0430\u0432\u0435\u0441\u0442\u0438 openvpn \u0432 virtualbox\/vmware.<br \/>  \u0418\u043c\u0435\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u00abFedora release 19 (Schr\u00f6dinger\u2019s Cat)\u00bb \u0433\u0434\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f openvpn.<br \/>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u0436\u0435\u043b\u0435\u0437\u043a\u0435(PC), \u0442\u043e openvpn \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 vpn \u0441\u0435\u0442\u0438. <br \/>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 VmWare workstation (10.0.1 build-1379776) \u0438\u043b\u0438 VirtualBox (4.3.14) \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f vpn \u2014 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 tun0 \u0432 UP, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 vpn IP-\u0448\u043d\u0438\u043a\u0438, \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0441\u0430\u0434\u044f\u0442\u0441\u044f route \u041d\u041e \u043d\u0435 \u043f\u0438\u043d\u0433\u0443\u0435\u0442\u0441\u044f vpn \u0433\u0435\u0439\u0442, \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0445\u043e\u0441\u0442.<br \/>  \u0412 message \u043b\u043e\u0433\u0430\u0445 \u0438\u0437 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0438\u0448\u044c \u043e\u0448\u0438\u0431\u043a\u0430:  <\/p>\n<blockquote><p>Aug 8 14:37:48 localhost NetworkManager[484]:  \/sys\/devices\/virtual\/net\/tun0: couldn&#8217;t determine device driver; ignoring\u2026<br \/>  Aug 8 14:37:51 localhost vnstatd[557]: Interface \u00abtun0\u00bb enabled.<\/p>\n<p>  \u0412\u043e\u0442 \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 tun0 \u0434\u0435\u0432\u0430\u0439\u0441\u0430.  <\/p>\n<blockquote><p>[root@localhost ~]# ls \/sys\/devices\/virtual\/net\/tun0<br \/>  addr_assign_type dev_id ifalias netdev_group queues tx_queue_len<br \/>  address dormant ifindex operstate speed type<br \/>  addr_len duplex iflink owner statistics uevent<br \/>  broadcast flags link_mode phys_port_id subsystem<br \/>  carrier group mtu power tun_flags<br \/>  [root@localhost ~]# <\/p><\/blockquote>\n<p>  \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c firewall \u043d\u0430 windows 8\/7(\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u043b\u0430\u043f\u0442\u043e\u043f\u0430\u0445) \u0433\u0434\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e Vmware\/Virtualbox \u0438 iptables \u043d\u0430 guest \u0445\u043e\u0441\u0442\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \ud83d\ude41<br \/>  \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u0441\u044f \u043a\u0442\u043e-\u0442\u043e \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c? <\/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-232709","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/232709","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=232709"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/232709\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}