{"id":445,"date":"2013-06-06T13:43:05","date_gmt":"2013-06-06T07:43:05","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=445"},"modified":"2018-01-30T14:41:07","modified_gmt":"2018-01-30T09:41:07","slug":"openvpn-2-1-windows-and-nix-clients-topologu-subnet-client-to-client","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=445","title":{"rendered":"Openvpn >= 2.1, Windows and *nix clients, topology subnet, client-to-client"},"content":{"rendered":"<p>If you have both Windows and *nix clients in your OpenVPN implementation and need them to be able to communicate with each other (&#8216;client-to&#8217;client&#8217; option in the server configuration file), you may face the problem on Windows, while using the stable version of <a href=\"http:\/\/openvpn.se\/download.html\" target=\"_blank\">OpenVPN GUI<\/a>. It&#8217;s based on 2.0 OpenVPN, which doesn&#8217;t have the ability to handle client connection with \/24 subnet mask, and we strongly need it.<br \/>\nIn such a case use the development version of OpenVPN GUI. For this moment (June 6, 2013) it is <a href=\"http:\/\/openvpn.se\/development.html\" target=\"_blank\">OpenVPN 2.1_beta7 &#038; OpenVPN GUI 1.0.3<\/a>. The trick is that OpenVPN supports &#8216;topology xxx&#8217; directive starting from the 2.1 version, and the development package (as for today) for Windows is based on it.<br \/>\nYour <em>Windows client&#8217;s<\/em> configuration file should be similar to this:<br \/>\n<code><br \/>\nclient<br \/>\ndev tun<br \/>\nproto udp<br \/>\nremote IP.ADD.RE.SS 1194<br \/>\ntopology subnet<br \/>\nnobind<br \/>\npersist-key<br \/>\npersist-tun<br \/>\n;<br \/>\nca \"c:\\\\program files\\\\openvpn\\\\ca.crt\"<br \/>\ncert \"c:\\\\program files\\\\openvpn\\\\client5.crt\"<br \/>\nkey \"c:\\\\program files\\\\openvpn\\\\client5.key\"<br \/>\n;<br \/>\ncomp-lzo<br \/>\nverb 3<br \/>\n<\/code><\/p>\n<p>UPDATE: as for now (January 30, 2018) Windows version is available from other location: <a href=\"https:\/\/openvpn.net\/index.php\/open-source\/downloads.html\" rel=\"noopener\" target=\"_blank\">https:\/\/openvpn.net\/index.php\/open-source\/downloads.html<\/a><br \/>\nHowto: <a href=\"https:\/\/community.openvpn.net\/openvpn\/wiki\/Easy_Windows_Guide\" rel=\"noopener\" target=\"_blank\">https:\/\/community.openvpn.net\/openvpn\/wiki\/Easy_Windows_Guide<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have both Windows and *nix clients in your OpenVPN implementation and need them to be able to communicate with each other (&#8216;client-to&#8217;client&#8217; option in the server configuration file), you may face the problem on Windows, while using the stable version of OpenVPN GUI. It&#8217;s based on 2.0 OpenVPN, which doesn&#8217;t have the ability [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[75,76],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-openvpn","tag-vpn"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=445"}],"version-history":[{"count":6,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":1184,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/445\/revisions\/1184"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}