{"id":998,"date":"2020-02-06T21:57:28","date_gmt":"2020-02-06T21:57:28","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=998"},"modified":"2020-02-06T21:57:28","modified_gmt":"2020-02-06T21:57:28","slug":"openvpn","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=998","title":{"rendered":"OpenVPN"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ever since I had my first QNAP (a TS-219 which I think came out in 2010) I&#8217;ve liked QNAPs. Apart from the odd booting problem and the frequent updates it&#8217;s been perfect, having had no hardware problems and ever increasing functions and apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of those apps is a VPN server and it&#8217;s always been too fiddly to get working &#8211; until now. Currently I have an SS-439 and the software now seems mature enough to work with the minimum of fuss.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I enabled the OpenVPN application, downloaded the certificate, set up the user etc. and downloaded the OpenVPN client for Windows 7 (yeah need a new laptop veeeery soon). Having done the client side config, I tried this on the office Wifi. No luck. Wouldn&#8217;t connect at all. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First debugging step was to try it on the inside of my network (with a brief interlude to upgrade Wireshark). Same result. That took me to looking at my BT Smarthub 2 firewall. Looks like no blockers there but I decided to add a port forwarding rule just in case.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.p2vpro.com\/wp-content\/uploads\/2020\/02\/SmartHubPortForwarding.tiff\" alt=\"\" class=\"wp-image-1000\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This did *something* because the behaviour of the client changed and having turned on logging for VPN on the Qnap, I could see user failed logins which corresponded to the message on the client.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I verified the username and password and then noticed that the username was case sensitive &#8211; an oldie but a goodie.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Having fixed that I connected fine &#8211; from the inside. Tomorrow the real test will be to see if I can get to it from the outside! I am hopeful! If it works, I might have a working VPN option I can use if I&#8217;m ever in China again. I spent ages trying to get a VPN working the last time I was there without success.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever since I had my first QNAP (a TS-219 which I think came out in 2010) I&#8217;ve liked QNAPs. Apart from the odd booting problem and the frequent updates it&#8217;s been perfect, having had no hardware problems and ever increasing &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=998\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-998","post","type-post","status-publish","format-standard","hentry","category-general-technology"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=998"}],"version-history":[{"count":2,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/998\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/998\/revisions\/1001"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}