{"id":1141,"date":"2015-11-16T06:17:34","date_gmt":"2015-11-16T13:17:34","guid":{"rendered":"http:\/\/emresaglam.com\/blog\/?p=1141"},"modified":"2015-11-18T11:16:42","modified_gmt":"2015-11-18T18:16:42","slug":"openvpn-client-test-without-a-client","status":"publish","type":"post","link":"https:\/\/emresaglam.com\/blog\/blog\/2015\/11\/16\/openvpn-client-test-without-a-client\/","title":{"rendered":"OpenVPN client test, without a client."},"content":{"rendered":"<p>If you need to test the connectivity of your openvpn server from a client&#8217;s perspective, you can use this command:<\/p>\n<blockquote>\n<div class=\"PD IF\">\n<div id=\":fbk.co\" class=\"JL\">\n<div id=\":fbm.ma\" class=\"Mu SP\">\n<div id=\":fbm.co\" class=\"tL8wMe xAWnQc\" dir=\"ltr\">echo -e &#8220;\\x38\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00&#8221; | \u00a0 \u00a0 timeout 10 nc -u your.openvpnserver.ip\u00a0port\u00a0| cat -v<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p><\/blockquote>\n<p>This sends TLS negotiation header to the server and expects a reply in 10 seconds. If you get an empty line, things timed out. If you get a reply like the line below, you have connectivity.<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">@M-QM-^MTM-aM-^U^VM-Q^C^@^@^@^@^@@M-QM-^MTM-aM-^U^VM-Q^C^@^@^@^@^@<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you need to test the connectivity of your openvpn server from a client&#8217;s perspective, you can use this command: echo -e &#8220;\\x38\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00&#8221; | \u00a0 \u00a0 timeout 10 nc -u your.openvpnserver.ip\u00a0port\u00a0| cat -v &nbsp; This sends TLS negotiation header to the server and expects a reply in 10 seconds. If you get an empty line, &hellip; <a href=\"https:\/\/emresaglam.com\/blog\/blog\/2015\/11\/16\/openvpn-client-test-without-a-client\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OpenVPN client test, without a client.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[11,9,46],"_links":{"self":[{"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/posts\/1141"}],"collection":[{"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":2,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1143,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/posts\/1141\/revisions\/1143"}],"wp:attachment":[{"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emresaglam.com\/blog\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}