{"id":939,"date":"2016-12-21T12:52:56","date_gmt":"2016-12-21T17:52:56","guid":{"rendered":"http:\/\/matthannan.net\/blog\/?p=939"},"modified":"2016-12-22T10:47:57","modified_gmt":"2016-12-22T15:47:57","slug":"openwrt","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/openwrt\/","title":{"rendered":"OpenWRT"},"content":{"rendered":"<p>Well, that was quick.<br \/>\nI was able to make a connection from remote back to the Gargoyle router via the OpenVPN tunnel. But, I was unable to see anything on the LAN. Sure, this was not one of the objectives when I started this journey, but after seeing that option in action in SoftEther, I now want it&#8230;because it is wicked cool. <\/p>\n<p>The issue with Gargoyle is that while it presented this option, when it was enabled, the router froze up and needed to be reset. This caused Jenny to start yelling. That was probably worse than the router crashing!<br \/>\n<code>var sigOtherAcceptTest === false;<\/code><\/p>\n<p>In searching for a solution, I read many, many forum posts about people having the same issue. The solution was almost always &#8220;Failsafe reset. The configuration is probably corrupt.&#8221; Well, I did that several times and heard about it from Jenny every time. This was not working.<\/p>\n<p>I started looking at OpenWRT a bit closer. The documentation on OpenWRT is far more detailed. In searching YouTube on OpenWRT, I started to get a sense of the GUI and how to live with this OS on my router. I actually like the GUI a bit more than the one in Gargoyle, and it is obvious that most of the power in this OS comes from the CLI. PuTTY to the rescue!<\/p>\n<p>I downloaded the latest OpenWRT version (15.0.1) for my router. I went with the factory version, which turned out to be a mistake. I had to wait until Jenny was asleep before I could start this process. For a tired lady, she stayed up watching Netflix on the bedroom smart TV and using her iPhone until 11PM. I knew what she was up to simply by looking in the graphs that Gargoyle provided! Pretty cool.<\/p>\n<p>Anyway, the upgrade process should only take five to ten minutes. About 35 minutes into the process, I started freaking out. I had an ssh session open to the router. It never crashed. I was watching YouTube vids about OpenWRT, and they never crashed out. Did the firmware actually upload? I refreshed the Gargoyle GUI web page and it was all good, just not updated. So I downloaded the 15.0.1 upgrade version of OpenWRT. Remember, Gargoyle is a front-end bolted onto a base of OpenWRT, so I guess it makes sense to go with the upgrade version. <\/p>\n<p>Loading that up, I started freaking out after about 15 minutes of watching &#8220;Uploading. Please wait.&#8221; I knew that something had happened, as my ssh session crashed, as did my YouTube binge. I tried resetting the IP on the PC, but no IP was being supplied. I saw lights and activity on the router, but nothing was working. I feared that at 12:15AM, I had bricked the router. This would make for a tough morning for Jenny&#8230;and so me! I power cycled the router. Nothing. I hit the reset button for 30 seconds. Nothing. Then I did the old 30-30-30 routine. This is holding the reset button with the router powered on for 30 seconds, then Hold the reset button for 30 seconds with the router powered off. Finally, power the router back up with the reset button held for 30 seconds. If this didn&#8217;t fix it, I had a brick. I went back over to the PC and saw that the Ethernet link was up! I saved it!!!<\/p>\n<p>So, it is up and running fine as of this morning. No complaints from Jenny and I am starting to follow the <a href=\"https:\/\/wiki.openwrt.org\/doc\/howto\/vpn.openvpn\" target=\"_blank\">documentation to get OpenVPN installed<\/a>. {edit} I am going with the TAP version of the VPN. You are welcome to look those up, but that link does a fair job of describing the differences between TAP and TUN. Since I set this up, I found <a href=\"https:\/\/wiki.openwrt.org\/doc\/howto\/vpn.server.openvpn.tap\" target=\"_blank\">this link<\/a> and I am about to test out some of the features listed in there.{\/edit}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, that was quick. I was able to make a connection from remote back to the Gargoyle router via the OpenVPN tunnel. But, I was unable to see anything on the LAN. Sure, this was not one of the objectives &hellip; <a href=\"https:\/\/matthannan.net\/blog\/openwrt\/\">Continue reading <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":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[286,98,282,289,172,278],"class_list":["post-939","post","type-post","status-publish","format-standard","hentry","category-geek","tag-gargoyle","tag-jenny","tag-openvpn","tag-putty","tag-ssh","tag-vpn"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/s2NxlE-openwrt","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":935,"url":"https:\/\/matthannan.net\/blog\/hello-from\/","url_meta":{"origin":939,"position":0},"title":"Hello from&#8230;","author":"matthannan","date":"20 December 2016","format":false,"excerpt":"my iPhone via OpenVPN connecting to the Gargoyle-Router. Setting up OpenVPN on the iPhone was the toughest part.","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":926,"url":"https:\/\/matthannan.net\/blog\/gargoyle-router-with-openvpn\/","url_meta":{"origin":939,"position":1},"title":"Gargoyle Router&#8230;with OpenVPN","author":"matthannan","date":"19 December 2016","format":false,"excerpt":"As it turns out, I have two routers on my home LAN. The one I have had in place for a long time is a Netgear WNDR4300. It is not the best router in the world, but it has been very stable for me over the years. The other router\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":950,"url":"https:\/\/matthannan.net\/blog\/hello-from-2\/","url_meta":{"origin":939,"position":2},"title":"Hello from&#8230;","author":"matthannan","date":"21 December 2016","format":false,"excerpt":"Mobile the Laptop, connected via my iPhone's hotspot to the OpenVPN server running on the OpenWRT router! I can see devices on the network, but only the wireless one. I am wondering if this is a firewall issue or something. In any event, it should be easy to fix. And,\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2259,"url":"https:\/\/matthannan.net\/blog\/synology-nas-vpn-server\/","url_meta":{"origin":939,"position":3},"title":"Synology NAS VPN Server","author":"matthannan","date":"9 May 2021","format":false,"excerpt":"It has been a long while since I wrote about VPN servers. This is because of the change of job, and then working from home for over a year because of COVID-19. But I have kept playing with the technology over the years. The old SoftEther VPN is long gone.\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":908,"url":"https:\/\/matthannan.net\/blog\/softether-vpn\/","url_meta":{"origin":939,"position":4},"title":"SoftEther VPN","author":"matthannan","date":"16 December 2016","format":false,"excerpt":"So, long story short, I will no longer be an AT&T employee as of Dec 31. On Jan 1, I begin the next chapter in my career, working for a small company based out of North Carolina. They usually are a contractor shop, but due to the nature of the\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1617,"url":"https:\/\/matthannan.net\/blog\/raspberry-pi-vpn-router-w-pia-novaspirit\/","url_meta":{"origin":939,"position":5},"title":"Raspberry Pi VPN Router w\/ PIA &#8211; Novaspirit","author":"matthannan","date":"25 August 2019","format":false,"excerpt":"This is something I've been using for awhile now, thought i would show you the entire process, This is a tutorial for setting up a raspberry pi vpn router.Source: Raspberry Pi VPN Router w\/ PIA - Novaspirit Set this up late last night. I am currently posting this \"from Ireland\".\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=939"}],"version-history":[{"count":6,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/939\/revisions"}],"predecessor-version":[{"id":957,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/939\/revisions\/957"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}