{"id":1844,"date":"2022-07-14T09:29:36","date_gmt":"2022-07-14T07:29:36","guid":{"rendered":"https:\/\/netspider.com.ua\/?p=1844"},"modified":"2022-07-14T09:31:35","modified_gmt":"2022-07-14T07:31:35","slug":"routes-openvpn-under-macos-os-x","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2022\/07\/14\/routes-openvpn-under-macos-os-x\/","title":{"rendered":"\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0456\u044f OpenVPN-\u043a\u043b\u0456\u0454\u043d\u0442\u0430 \u043f\u0456\u0434 macOS"},"content":{"rendered":"\n<p>\u041f\u0440\u043e\u0432\u043e\u0434\u0438\u0432 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f OpenVPN-\u043a\u043b\u0456\u0454\u043d\u0442\u0430 \u043f\u0456\u0434 macOS \u0456 \u0437\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u0438 \u0441\u0432\u043e\u0457 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438, \u0431\u043e \u043f\u0443\u0441\u043a\u0430\u0442\u0438 \u0443\u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0456\u043a \u0447\u0435\u0440\u0435\u0437 \u0412\u041f\u041d \u043d\u0435\u043c\u0430\u0454 \u043f\u043e\u0442\u0440\u0435\u0431\u0438. \u0417\u043d\u0430\u0439\u0448\u043e\u0432 \u0443 <a href=\"https:\/\/openvpn.net\/community-resources\/reference-manual-for-openvpn-2-4\/\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0456\u0457<\/a> \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 \u043a\u043b\u044e\u0447:<\/p>\n<p><code>--route network\/IP [netmask] [gateway] [metric] Add route to routing table after connection is established. Multiple routes can be specified. Routes will be automatically torn down in reverse order prior to TUN\/TAP device close.This option is intended as a convenience proxy for the &lt;b&gt;route&lt;\/b&gt; shell command, while at the same time providing portable semantics across OpenVPN's platform space.<!--formatted--><\/code><\/p>\n<p>\u041d\u0430\u0447\u0435 \u0432\u0441\u0435 \u0441\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0456 \u043c\u0430\u0454 \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438. \u0410\u043b\u0435 \u043d\u0456\u0442. \u042f\u043a\u0449\u043e \u0434\u043e\u0434\u0430\u0442\u0438 \u0443\u0441\u0456 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438, \u0442\u043e \u0432\u0438\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0430:<\/p>\n<p><code>tun_prop_route_error: route destinations other than vpn_gateway or net_gateway are not supported<\/code><\/p>\n<p>\u0406 \u0432\u0430\u043d\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0430\u043a\u0443 \u043f\u043e\u043c\u0438\u043b\u043a\u0443 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u043e \u043d\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u0412\u0438\u044f\u0432\u043b\u044f\u0454\u0442\u044c\u0441\u044f, \u043d\u0430 macOS \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0434\u043e\u0434\u0430\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 network\/IP \u0442\u0430 netmask, \u0442\u043e\u0434\u0456 \u0432\u0441\u0435 \u043f\u0440\u0430\u0446\u044e\u0454.<\/p>\n<p>\u0410 \u0449\u0435 \u043d\u0430 \u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0434\u043e\u0434\u0430\u0442\u0438:<\/p>\n<p><code>route-nopull<\/code><br \/><code>route-noexec<\/code><\/p>\n<p>\u0422\u043e\u0434\u0456 \u0442\u0440\u0430\u0444\u0456\u043a \u0431\u0443\u0434\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0443\u0432\u0430\u0442\u0438\u0441\u044c \u043b\u0438\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 \u043e\u043a\u0440\u0435\u043c\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u0456 route.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"\u041f\u0440\u043e\u0432\u043e\u0434\u0438\u0432 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f OpenVPN-\u043a\u043b\u0456\u0454\u043d\u0442\u0430 \u043f\u0456\u0434 macOS \u0456 \u0437\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u0438 \u0441\u0432\u043e\u0457 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438, \u0431\u043e \u043f\u0443\u0441\u043a\u0430\u0442\u0438 \u0443\u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0456\u043a \u0447\u0435\u0440\u0435\u0437 \u0412\u041f\u041d \u043d\u0435\u043c\u0430\u0454 \u043f\u043e\u0442\u0440\u0435\u0431\u0438. \u0417\u043d\u0430\u0439\u0448\u043e\u0432 \u0443 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0456\u0457 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 \u043a\u043b\u044e\u0447: &#8212;route network\/IP [netmask] [gateway] [metric] Add route to routing table after connection is established. Multiple routes can be specified. Routes will be automatically torn down in reverse order prior to TUN\/TAP device\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2022\/07\/14\/routes-openvpn-under-macos-os-x\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[681,1715,378,1905,1904,1712,1661,1796],"class_list":["post-1844","post","type-post","status-publish","format-standard","hentry","category-main","tag-apple","tag-gateway","tag-macos","tag-metric","tag-netmask","tag-openvpn","tag-os-x","tag-unix"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=1844"}],"version-history":[{"count":4,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1844\/revisions"}],"predecessor-version":[{"id":1855,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1844\/revisions\/1855"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=1844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=1844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}