{"id":3826,"date":"2013-04-07T18:03:07","date_gmt":"2013-04-08T02:03:07","guid":{"rendered":"http:\/\/www.podfeet.com\/wordpress\/?p=3826"},"modified":"2024-12-14T21:53:29","modified_gmt":"2024-12-15T05:53:29","slug":"413-rewrite-rules-pcalc-leaving-google-plus-make-your-own-mac-vpn-server","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2013\/04\/413-rewrite-rules-pcalc-leaving-google-plus-make-your-own-mac-vpn-server\/","title":{"rendered":"#413 ReWrite Rules, Pcalc, Leaving Google Plus, Make Your Own Mac VPN Server"},"content":{"rendered":"<p>First I&#8217;m going to take you on an adventure where Belgium, Canada, and Ireland help me to get cool new social media links for the show.  Then Allister Jenks is going to challenge the RPN Calculator fanatics with his favorite <a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-the-best-calculator%2Fid284666222%3Fmt%3D8\" target=\"_blank\">iOS Calculator Pcalc<\/a>.  Then George from Tulsa is going to explain why he had to leave Google Plus.  In Chit Chat Across the Pond we&#8217;re going to have LOTS of fun &#8211; Donald Burr will be on to teach us how to create a VPN Server using our Macs. <a href=\"https:\/\/www.podfeet.com\/wordpress\/tutorials\/how-to-set-up-a-vpn-server-using-a-mac\/\" target=\"_blank\">Enjoy the ScreenSteps Tutorial<\/a> on how to do it yourself!<\/p>\n<p><audio class=\"wp-audio-shortcode\" id=\"audio-3826-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"http:\/\/traffic.libsyn.com\/nosillacast\/NC_2013_04_07.mp3?_=1\" \/><a href=\"http:\/\/traffic.libsyn.com\/nosillacast\/NC_2013_04_07.mp3\">http:\/\/traffic.libsyn.com\/nosillacast\/NC_2013_04_07.mp3<\/a><\/audio> <a href=\"http:\/\/phobos.apple.com\/WebObjects\/MZStore.woa\/wa\/viewPodcast?id=81677867\"><img loading=\"lazy\" decoding=\"async\" style=\"float: none;\" alt=\"itunes\" src=\"https:\/\/podfeet.com\/NosillaCast\/artwork\/itunes_subscribe_button.png\" width=\"125\" height=\"43\" \/><\/a><br \/>\n<a title=\"mp3 download\" href=\"http:\/\/traffic.libsyn.com\/nosillacast\/NC_2013_04_07.mp3\" target=\"_blank\">mp3 download<\/a><br \/>\n<!--more--><br \/>\nHi this is Allison Sheridan of the NosillaCast Mac Podcast, hosted at Podfeet.com, a technology geek podcast with an EVER so slight Macintosh bias. Today is Sunday April 7, 2013 and this is show number 413.  This is going to be a fun packed show. First I&#8217;m going to take you on an adventure where Belgium, Canada, and Ireland help me to get cool new social media links for the show.  Then Allister Jenks is going to challenge the RPN Calculator fanatics with his favorite iOS Calculator Pcalc.  Then George from Tulsa is going to explain why he had to leave Google Plus.  In Chit Chat Across the Pond we&#8217;re going to have LOTS of fun &#8211; Donald Burr will be on to teach us how to create a VPN Server using our Macs. I&#8217;ve been wanting to do this for a long time, partly because it&#8217;s just good clean geek fun, and partly because I&#8217;m too cheap to buy one of the online services for VPN since I only need it a few weeks out of each year.  Donald is highly skilled at taking complex things and making them sound easy and doable.  After Donald was done explaining it to me, I went back and followed his detailed written instructions, and I made you a <a href=\"https:\/\/www.podfeet.com\/wordpress\/tutorials\/how-to-set-up-a-vpn-server-using-a-mac\/\" target=\"_blank\">GIANT ScreenSteps tutorial<\/a>. I suppose he would call it a tutorial of doom, right? As always it&#8217;s under the Tutorials tab on podfeet.com if you ever get your nerve up to try this one!<\/p>\n<p>On top of all that excitement, Steve has been hard at work creating cool NosillaCast logo stuff over on Zazzle.  Bart and Stu created cups for the International Mac Podcast through Zazzle, and using Bart&#8217;s recommendation Steve got to work.  Now we WANTED to make these items so you could buy them and we would not make any money off of it, but unfortunately the lowest you can make is 10% off the items, so that&#8217;s what we went with. It&#8217;s not too bad but we didn&#8217;t want that to be the purpose.  Steve started with mugs, and they came out just gorgeous.  They have two NosillaCast logos on them, front and back (again Bart&#8217;s recommendation so that you AND other people both get to see the logo) and they have a black rim on the edge that really makes it look classy.  He also had Zazzle create embroidered caps with the podfeet logo (the full logo is a bit intense for embroidery).  I&#8217;m a big fan of white, zipup hoodies (I think I have 5 already) so he made up one of those for me.  I got a medium and it was a bit small so I&#8217;d go up a size if I were you. The hats are $20, the mugs are $17, and the sweatshirt is $40.  <\/p>\n<p><a href=\"http:\/\/www.zazzle.com\/nosillacast\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/podfeet.com\/NosillaCast\/NC_2013_04_07\/zazzle.png\" alt=\"zazzle page showing the 3 items described above\" style=\"margin: 5px;\"\/><\/a><br \/>\n<br \/>\nIf you don&#8217;t like exactly what we picked out, I just noticed that under the image for each of the three items, you can view the logo on other items &#8211; like there&#8217;s 92 other shirt kind of things you can have printed with the same logo for less than the sweatshirt.  Oddly they all become called &#8220;NosillaCast Zipper Sweatshirt&#8221; even if you pick out a tank top.  If you start poking around on Zazzle and see something you&#8217;d like, say a dog vest or an apron or a pillow, just let me know and I&#8217;ll get the logo designed for that product.  Anyway, Steve and I are having a lot of fun with this so let us know if you buy anything &#8211; send us a picture of you with it and we&#8217;ll post it on the show.  You can go find the logo stuff at <a href=\"http:\/\/www.zazzle.com\/nosillacast\">zazzle.com\/nosillacast<\/a>.  Ooh, maybe I should go create a ReWrite rule for that?  Anyway, big thanks to Steve for setting this up, I think it&#8217;s a really fun way for people to show off the fact that they&#8217;re true NosillaCastaways.<\/p>\n<h3>Social Media Links<\/h3>\n<p>I was listening to the Knightwise podcast (an excellent show on sliding between platforms, making technology work for you) and KW was plugging all of his social media stuff with these cool links. He said follow us on Google+ at knightwise.com\/googleplus, follow us on Twitter at knightwise.com\/twitter. I got jealous and asked him how he did that.  He said that <a href=\"http:\/\/twitter.com\/kdmurray\" target=\"_blank\">KDMurray<\/a> did it for him, he had no clue how it was done.  I thought about just bugging this random guy I hadn&#8217;t ever talked to before, but even for me that sounded a bit rude.<\/p>\n<p>Then I noticed KD was answering my tweets, and showing up to the live show, and I figured what the heck?  He gladly said he&#8217;d help me and sent me some really well written instructions.  Since it was Sunday night when I got the instructions, and the show was all buttoned up for the week, I thought now would be a PERFECT time to mess with my website. Well somewhere in there I boogered things up and on Monday morning George from Tulsa was the first (of many) to point out to me that podfeet.com was down.  What was I thinking messing with the site on THE most important day of the week, just the day everyone goes to the site to check out the new show???<\/p>\n<p>I was at work so I put vacation time on my timecard and put out emergency calls to Bart and KD to rescue me.  We piled into a Titan Pad to work on the problem.  Let me take a quick intermission here from the main plotline and explain what Titan Pad is.  Don&#8217;t worry, I&#8217;ll get back to the plot soon enough.<\/p>\n<p>Years ago there was a tool called Etherpad. It&#8217;s a website you could go to where multiple people could edit an online document a little like Google Docs became later on.  You get a list of who is editing, you get a little chat area to have conversations, the document is color coded by who is editing. You can even push a button to play back what has changed over time, and you can export and import the documents on the fly.  One day Etherpad sold themselves to Google, and became part of the Google Wave thing\u2026which crashed and burned and sadly that was the end of that.  The GOOD news is that when Etherpad sold themselves, they heard the call of the community and put their code out as open source.  From that sprang a whole lot of other tools with essentially that same capability, the most stable of which is <a href=\"http:\/\/titanpad.com\" target=\"_blank\">Titan Pad<\/a>.  So next time you want to compare notes on anything with another person, try going to titanpad.com and push the button to create a new pad, and then get to work on it together.<\/p>\n<p>Ok, side plot done.  KD and Bart joined me in the Titanpad and they tried to figure out what I&#8217;d botched up.  I flung around trying to recreate what I&#8217;d done, and had a lot of trouble retracing my steps but eventually between the three of us we got the site back up.  Or so I thought.  Late in the afternoon I started getting tweets from people saying that podfeet.com was there but if you clicked on any posts on the site, you&#8217;d get a 404 error.  ACK!  Back on with KD and he quickly solved THAT problem.<\/p>\n<p>Ok, now we&#8217;re successfully back where we started, but I&#8217;m not as cool as Knightwise yet.  On Saturday KD agreed to do a screenshare session with me where we&#8217;d experiment with how to do this.  Back when he and Bart were working on it in the Titanpad, KD was showing him how he was using redirects to take the user from say podfeet.com\/googleplus to the long gloppy url that is the NosillaCast community on G+.  One downside of that method is that for some reason I have to create empty folders for each redirect, so one for googleplus, one for twitter, etc.  Bart suggested a better way to do it using ReWrite Rules.  Lest you think I understand pretty much any of this, let me disuade you from that viewpoint right now.  I am, with blind faith, typing into the Apache Server file called .htaccess, commands I do not understand, from someone I&#8217;ve never met.  Yup, that&#8217;s how I roll.  I know, you&#8217;re shocked I borked it up earlier, right?<\/p>\n<p>Well ANYWAY, after about an hour, KD was able to crack the code and figure out how to make the ReWrite Rules work. If you&#8217;re interested, I pasted the code block from my root level .htaccess file into the shownotes os you can see how it was done:<\/p>\n<blockquote><p>\nRewriteEngine On<br \/>\nRewriteCond %{HTTP_HOST} ^(www.)?podfeet.com$<br \/>\nRewriteRule ^(\/)?$ wordpress [L]<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^twitter$ https:\/\/twitter.com\/podfeet [R=301,L]<br \/>\nRewriteRule ^facebook$  https:\/\/www.facebook.com\/nosillacast.podcast [R=301,L]<br \/>\nRewriteRule ^googleplus$ https:\/\/plus.google.com\/communities\/117336672755291339814 [R=301,L]<br \/>\nRewriteRule ^itunes$ https:\/\/itunes.apple.com\/ca\/podcast\/nosillacast-mac-podcast\/id81677867 [R=301,L]<br \/>\nRewriteRule ^subscribe$  http:\/\/phobos.apple.com\/WebObjects\/MZStore.woa\/wa\/viewPodcast?id=81677867 [R=301,L]<br \/>\nRewriteRule ^youtube$ http:\/\/www.youtube.com\/user\/nosillacast [R=301,L]\n<\/p><\/blockquote>\n<p>\nNow that we&#8217;ve gotten the geeky, cool, how did you do that part out of the way, the important thing is that now you can find the NosillaCast social stuff everywhere without remembering long complex urls.  podfeet.com\/twitter, podfeet.com\/facebook, podfeet.com\/googleplus, podfeet.com\/itunes, podfeet.com\/subscribe, and podfeet.com\/youtube.  How easy is that? If you forget, just type podfeet.com\/whateveryouthinkof and it will probably get you to what you want.  I&#8217;m so proud of myself, as I was writing this up, I added a new one, if you go to podfeet.com\/iosapp you get directly to the NosillaCast app in the iTunes store.  If you don&#8217;t have it already, it was written by Donald Burr, and it&#8217;s an awesome way to join the live show from an iOS device giving you the audio feed and the ability to chat in the live chat room. It&#8217;s a universal app for both iPhone and iPad.  You can also use the NosillaCast app to listen to past shows and read along in the shownotes.  Just so you know, all proceeds for the app go to Donald, not me so support our developer!<\/p>\n<p>Anyway, I thought this whole exercise was cool on so many levels. My buddy Knightwise in Belgium had something I wanted, he directed me to his buddy KD in Canada, we got my buddy Bart from Ireland in on the game, we used Titanpad to write code, and because of all that, my ReWrite Rules are currently cooler than Knightwise&#8217;s redirects (but KD will be fixing that soon\u2026)<\/p>\n<h3>PCalc from Allister Jenks<\/h3>\n<p>Links:<br \/>\n<a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-the-best-calculator%2Fid284666222%3Fmt%3D8\" target=\"_blank\">PCalc (iOS, universal)<\/a><br \/>\n<a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-lite-best-free-calculator%2Fid300311831%3Fmt%3D8\" target=\"_blank\">PCalc Lite (iOS, universal)<\/a><br \/>\n<a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc%2Fid403504866%3Fmt%3D12\" target=\"_blank\">PCalc (OS X 10.6.8 or later)<\/a><\/p>\n<p>Hello Allison and the NosillaCastaways. Allister from New Zealand once again, with a problem to be solved.<\/p>\n<p><a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-the-best-calculator%2Fid284666222%3Fmt%3D8\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/podfeet.com\/NosillaCast\/NC_2013_04_07\/pcalc.png\" alt=\"pcalc logo from itunes showing $10 price\" style=\"float: right; margin: 5px;\"\/><\/a>In episode 401, Donald Burr waxed lyrical over RPN calculators and emulators of such for iOS. I was in the chat room during recording and despite someone claiming I was a part of the club I had to deny such geek cred &#8211; I&#8217;ve certainly played with them but have never succeeded with one. <\/p>\n<p>Oh, I&#8217;ve done assembly language programming on 6502 and ARM2 processors and I know how stacks work, but my brain seems to work better with mathematical problems when they&#8217;re following order of operations, cavorting amongst brackets and generally behaving like the many years of learning I gained at school.<\/p>\n<p>My favourite calculator in high school was a Casio. I don&#8217;t remember the exact model, but it could do all the trigonometry, statistics, fractions and constants I needed and my favourite function as a budding programmer \u2013 converting between radial and rectangular coordinates. Many years later I tried to purchase an equivalent model but have never been happy with the newer designs which remove some functions or place them on silly membrane buttons in the flip out, soft case.<\/p>\n<p>Roll on some more years and I began looking for the perfect iOS calculator. After several attempts, I&#8217;ve settled on PCalc from TLA Systems Ltd. The developers bill it as the best calculator and I&#8217;m inclined to agree with them. They&#8217;ve really spent time on it since it was released in the early days of the App Store.<\/p>\n<p>It operates well in portrait or landscape. It does everything any scientific, engineering or programming calculator does. Trigonometry, powers and logs, decimal, hexadecimal, octal and binary bases, bitwise operations, unit conversions including currency, constants, special functions including tax calculations and more. It has a multi-line display, multiple memories and registers and a paper tape you can view and also send by email. It even has undo and redo.<\/p>\n<p>To personalise it, there are 11 themes that substantially change the look of the calculator \u2013 including one that looks quite like my beloved Casio. You have a choice of 7 fonts and 9 colours for the display digits, and you can even set the volume of key clicks and choose from one of six different sounds! There are settings for layouts, decimal places, thousands separators multiple memories and more. And then there are the 28 advanced options.<\/p>\n<p>Oh, and one more thing. It has an RPN mode \u2013 which I have turned off \u2013 and amongst the advanced options there is one that says &#8220;HP48 style RPN&#8221;.<\/p>\n<p>You can <a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-lite-best-free-calculator%2Fid300311831%3Fmt%3D8\" target=\"_blank\">try out the free Lite version<\/a>, which includes RPN mode, and you can then buy additional features as in app purchases, or buy a bundle to upgrade to the full version. If you want to take the plunge on <a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc-the-best-calculator%2Fid284666222%3Fmt%3D8\" target=\"_blank\">the full version, it&#8217;ll set you back $9.99<\/a>. It&#8217;s universal so will work great on your iPad, too. And there&#8217;s also a <a href=\"http:\/\/click.linksynergy.com\/fs-bin\/click?id=RmdfHXN7UMA&#038;subid=&#038;offerid=146261.1&#038;type=10&#038;tmpid=3909&#038;RD_PARM1=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fpcalc%2Fid403504866%3Fmt%3D12\" target=\"_blank\">$9.99 Mac version, available in the Mac App Store<\/a>.  The best calculator? I reckon so \u2013 by a mile. Or indeed, 1.609 kilometres.<\/p>\n<h3>George from Tulsa on Google Plus<\/h3>\n<p>I quit Google Plus rather than give Google my real name to replace the \u201cGeorge Fromtulsa\u201d persona I\u2019ve long used on the Internet. In real life, I\u2019m my employer\u2019s public face and identity.  There was no gain, and some risk, in Google having my real name to link \u201cGeorge Fromtulsa\u2019s\u201d sometimes-idiosyncratic Internet comments to my employer. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/podfeet.com\/NosillaCast\/NC_2013_04_07\/george.png\" alt=\"george's schnauzer picture\" style=\"float: right; margin: 5px;\"\/>Quitting Google Plus proved difficult.  I was addicted.  How addicted? I checked my feed first thing in the morning, last at night, and, thanks to my always-connected phone, more times during the day than I consciously controlled. It took me three weeks to work through the stages of grief from losing Google Plus:  Denial, Anger, Bargaining, and Depression, all before reaching Acceptance when I realized Google had actually done me a favor by kicking me out, cold turkey. <\/p>\n<p>In retrospect, what\u2019s most interesting is how Google Plus came to be so addictive in the first place. Blame brain science. Back in the 1950\u2019s scientists discovered how to activate a brain feedback loop in which stimulation creates an insatiable craving for more stimulation.  Rats given switches that controlled their own jolts of stimulation gave up food, water, and sleep so they could flip their little switches 24\/7&#8212;until they fell over dead. (<a href=\"http:\/\/en.wikipedia.org\/wiki\/Pleasure_center\" target=\"_blank\">WikiPedia: The Brain&#8217;s Pleasure Center<\/a>)<\/p>\n<p>A re-invented slot machine was likely the first real world product to successfully create, and make money from, insatiable craving.  Quoting MIT Professor Natasha Dow Schull:<\/p>\n<blockquote><p>&#8220;Every feature of a slot machine &#8212; its mathematical structure, visual graphics, sound dynamics, seating and screen ergonomics &#8212; is calibrated to increase a gambler&#8217;s &#8220;time on device&#8221; and to encourage &#8220;play to extinction,&#8221; which is industry jargon for playing until all your money is gone . . . \u201c<\/p><\/blockquote>\n<p><a href=\"http:\/\/articles.washingtonpost.com\/2008-07-06\/news\/36789682_1_slot-machines-machine-gamblers-gamblers-anonymous-meetings\" target=\"_blank\">Natasha Dow Schull writing in Washington Post<\/a>, <a href=\"http:\/\/anthronow.com\/articles\/gambled-away-video-poker-and-self-suspension\" target=\"_blank\">Natasha Dow Schull &#8211; Gambled Away: Video Poker and Self-Suspension<\/a>, <a href=\"http:\/\/anthronow.com\/articles\/gambled-away-video-poker-and-self-suspension\" target=\"_blank\">Psychological Aspects of Gambling Addiction<\/a>,  <a href=\"http:\/\/www.scientificpsychic.com\/workbook\/gambling.html\" target=\"_blank\">Your Brain On Gambling<\/a><\/p>\n<p>Bring to mind how feeds in Twitter, Facebook, and yes, Google Plus, work? It should. And of course, network television, video games, and, yep, that Smartphone in your hand? They\u2019re all trying to maximize your \u201ctime on device.\u201d  Some, especially games with In App Purchase, can even invade your wallet as effectively as a casino\u2019s one-armed bandit.  At the least, they\u2019ll monopolize your valuable time, and the more time you spend the more money the service you\u2019re using makes.<\/p>\n<p>Humans who call, text, email, and, yes, check social media while driving are causing hundreds of thousands of wrecks and hundreds of deaths every year. (<a href=\"http:\/\/www.nsc.org\/safety_road\/Distracted_Driving\/Documents\/Attributable%20Risk%20Summary.pdf\" target=\"_blank\">National Safety Council &#8211; 2010 &#8211; Cell Phone Crashes<\/a>, <a href=\"http:\/\/www.nsc.org\/Pages\/DeathbyCellPhone.aspx\" target=\"_blank\">National Safety Council &#8211; 2009 &#8211; Death by Cell Phone<\/a>, <a href=\"http:\/\/www.caranddriver.com\/features\/texting-while-driving-how-dangerous-is-it\" target=\"_blank\">Car &#038; Driver: How Dangerous Texting While Driving Is<br \/>\n<\/a>, <a href=\"http:\/\/www.usatoday.com\/story\/news\/nation\/2013\/03\/28\/adults-worse-than-teens-about-texting-behind-wheel\/2026331\/\" target=\"_blank\">USA Today Texting News March 2013<\/a>.) Remind you of those poor dead rats? <\/p>\n<h3>ScreenSteps<\/h3>\n<p>In the Chit Chat Across the Pond you&#8217;re going to hear Donald Burr teach us how to create a VPN server using a Mac or your own router.  I don&#8217;t have the right kind of router so I went down the path of using a Mac and it was super fun.  His written instructions are great, and I was able to follow along but I thought it would be fun as I did it to use ScreenSteps to capture the screens and make it as clear as possible.  I ended up taking 66 screenshots, so this is not a path for the faint of heart, I assure you, but I think using the ScreenSteps tutorial along with Donald&#8217;s great instructions, you&#8217;ll be able to follow along.  It wasn&#8217;t that much more work to take the screenshots and annotate them, throw a note or two next to the images and keep moving. In fact there were a few steps where you have to wait for things like Xcode to download, so I made use of that wait time by doing the annotations.  If you find yourself teaching other people how to do things like I do, check out hat&#8217;s going to wind this up for this week, many thanks to our sponsor for helping to pay the bills, Blue Mango Learning at <a href=\"http:\/\/bluemangolearning.com\">bluemangolearning.com<\/a> makers of ScreenSteps and Clarify. Don&#8217;t forget to send in your Dumb Questions, comments and suggestions by emailing me at <a href=\"mailto:allison@podfeet.com\">allison@podfeet.com<\/a>, follow me on twitter at <a href=\"http:\/\/twitter.com\/podfeet\">@podfeet<\/a>.  Check out the <a href=\"https:\/\/plus.google.com\/communities\/117336672755291339814\" target=\"_blank\">NosillaCast Google Plus Community<\/a> too &#8211; lots of fun over there!  If you want to join in the fun of the live show, head on over to <a href=\"https:\/\/podfeet.com\/live\">podfeet.com\/live<\/a> on Sunday nights at 5pm Pacific Time and join the friendly and enthusiastic NosillaCastaways.  Thanks for listening, and stay subscribed. and Clarify at <a href=\"http:\/\/www.bluemangolearning.com\/products\/\" target=\"_blank\">BlueMangoLearning.com<\/a>.<\/p>\n<h3>Chit Chat Across the Pond<\/h3>\n<p>Donald Burr of <\/p>\n<p>otakunopodcast.com <a href=\"http:\/\/donaldburr.com\/apps\/\">Otaku No Podcast<\/a> joins us to teach us how to create a VPN server on our Macs.  He&#8217;s also the creator of the  <a href=\"https:\/\/podfeet.com\/iosapp\" target=\"_blank\">NosillaCast iOS App<\/a><\/p>\n<p>\nThe internets are a scary place.  More and more, you need to protect yourself, especially while out and about.  The <a href=\"http:\/\/hakshop.myshopify.com\/products\/wifi-pineapple\">tools<\/a> and <a href=\"http:\/\/www.metasploit.com\/\">software<\/a> to perform sophisticated attacks are inexpensive (often free) and readily available, and are pretty much &#8220;point and click&#8221; easy to use (meaning just about any idiot\/script kiddie can use them).  An excellent way to protect your Internet traffic while away from home is by using a Virtual Private Network (VPN). <\/p>\n<p>A Virtual Private Network, or VPN, is basically an encrypted, private connection from you to another network, whether it is your home network or a corporate network.  <span style=\"font-size: 13px; line-height: 1.5em;\">The connection goes across the public Internet, but since it&#8217;s encrypted, nobody knows what is being sent on it, so your data is safe, nor can it be tampered with while in transit.  Even if someone were snooping the network you&#8217;re on and capturing data, it would be extremely difficult for them to decrypt it.  Also, the connection is virtual, meaning that, as far as your computer is concerned, it appears as though you are directly connected to the remote network, meaning you can access resources on that network directly, without needing to deal with messy and complex port forwarding, NAT traversal, and so on.  Think about it as kind of like a Wormhole from Star Trek: it connects you to distant galaxies as if you were right next door, yet you are isolated from normal space so the Romulans can&#8217;t attack or spy on you.  <\/span><span style=\"font-size: 13px; line-height: 1.5em;\">The Lab Rats have a <\/span><a class=\"vt-p\" style=\"font-size: 13px; line-height: 1.5em;\" href=\"http:\/\/www.youtube.com\/watch?v=CYVHoDjgJ-0\">pretty hilarious video<\/a><span style=\"font-size: 13px; line-height: 1.5em;\"> explaining all about VPNs.  (Yes it&#8217;s one of their infamous Food Demos.)<\/span><\/p>\n<p><span style=\"font-size: 13px; line-height: 1.5em;\">Why set up a VPN?<\/span><\/p>\n<ul>\n<li>To prevent &#8220;digital eavesdropping&#8221; (Happens ALL THE TIME; try opening up iTunes or file sharing the next time you&#8217;re on a hotel\/other public network)  Routing all your Internet traffic through a VPN prevents people from spying on it; to them it looks like unintelligible gibberish.<\/li>\n<li>To wrap inherently insecure protocols in a layer of security.  (FTP, Telnet, insecure Web sites\/Wordpress login pages, etc.)<\/li>\n<li>To securely access resources on a home or corporate network <span style=\"font-size: 13px; line-height: 1.5em;\">without having to open them up to the Internet at large (port forwarding).  Examples: <\/span><span style=\"font-size: 13px; line-height: 1.5;\">file sharing, screen sharing\/VNC, streaming media, private databases, home automation, etc.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">To work around government- or corporate-mandated Internet censorship\/site blocking. <\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">To pretend like you&#8217;re home, so that an app <a href=\"http:\/\/www.ipadforums.net\/ipad-apps\/44246-time-warner-app-connect-when-not-home.html\">thinks you&#8217;re using it from your home Internet connection<\/a>, or perhaps to <a href=\"http:\/\/thenextweb.com\/media\/2012\/08\/06\/the-olympics-drives-vpn-software-downloads-by-212-as-the-world-seeks-the-uks-online-coverage\/\">pretend like you&#8217;re somewhere else in the world<\/a> for a <a href=\"http:\/\/articles.latimes.com\/2012\/aug\/01\/business\/la-fi-tech-savvy-olympics-20120801\">similar reason<\/a><\/span><\/li>\n<\/ul>\n<p>There are several very good commercial VPN solutions out there: Cloak, AnchorFree, etc.  Unfortunately I&#8217;m currently in a fiscally conservative phase and can&#8217;t really justify a monthly expense for something I only use maybe a few times a month.  Also I wanted to remain in control.  When connecting to a VPN server you are essentially handing all of your Internet traffic to that company.  It&#8217;s not that I don&#8217;t trust Cloak, AnchorFree, etc., I just feel more comfortable handling things myself.  Plus it&#8217;s kind of a cool and geeky project. \ud83d\ude42<\/p>\n<p>Until recently however setting up and running your own VPN has been very hard to do: either you had to find an expensive commercial solution, or deal with finicky, hard to configure software.  Fortunately this has gotten a lot easier these days: there is excellent, free\/open source VPN software out there, <a class=\"vt-p\" href=\"http:\/\/openvpn.net\/index.php\/open-source.html\">OpenVPN<\/a>.  <span style=\"font-size: 13px; line-height: 1.5em;\">It&#8217;s open source, so the code has been thoroughly tested and reviewed.  It&#8217;s so good in fact that many of the commercial VPN implementations actually use OpenVPN under the hood!<\/span><\/p>\n<p>How it works (highly simplified):<\/p>\n<p>It&#8217;s all based on OpenSSL, the same encryption technology used all over the world for secure websites (https).  Both the OpenVPN server and the client (i.e. your laptop, iPhone, etc.) have a certificate along with a public\/private key pair.  When your client connects to the server, it checks the server&#8217;s certificate to make sure it is known to it; similarly, the server checks the client&#8217;s certificate to make sure it knows about it, and that it is authorized to connect.  Once they&#8217;ve verified each others&#8217; identities, the public\/private keys are used to fully encrypt the connection both ways.<\/p>\n<p>What you need:<\/p>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\"><a class=\"vt-p\" href=\"http:\/\/tuntaposx.sourceforge.net\/\">Tun\/Tap drivers<\/a><\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Free\/open source<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">needed for both VPN server and client machines<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Note: says that it is only compatible with 10.4-10.6, but it works fine in 10.7 and 10.8, so <a class=\"vt-p\" href=\"http:\/\/www.youtube.com\/watch?v=WB8XDk3sQBc\">Don&#8217;t Panic!<\/a><\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Dynamic DNS service<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Unless you have a static IP address (highly unlikely), you&#8217;ll want a dynamic DNS service so that you can easily connect to your home machine by name<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\"><a class=\"vt-p\" href=\"http:\/\/www.noip.com\/\">No-IP<\/a> works well and is free; there are also other services, both free and paid.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">If your router has built-in Dynamic DNS updating (nowadays many do) use that; otherwise you&#8217;ll need the <a class=\"vt-p\" href=\"http:\/\/www.noip.com\/downloads.php?page=mac\">No-IP Mac client<\/a> <\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">For the VPN Server (you only need one of these) you have your choice of the following:<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\">Option #1: Router running <\/span><a class=\"vt-p\" style=\"font-size: 13px; line-height: 1.2em;\" href=\"http:\/\/tomatousb.org\/\">Tomato firmware<\/a><span style=\"font-size: 13px; line-height: 1.2em;\">.  Many popular routers\/manufacturers are supported; see the website for the complete list.  (Note: <a href=\"http:\/\/www.dd-wrt.com\/\">DD-WRT<\/a> also has OpenVPN built-in now)<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Advantages<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">You probably already have a Tomato-compatible router<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">These routers are pretty inexpensive <\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Since routers usually stay on 24\/7, it is the best place to run your VPN server (since you want it available even if your computers are off)<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Uses almost zero power, runs quiet (no fans), etc.<\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Disadvantages:<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Obviously if you don&#8217;t have a Tomato-compatible router, you&#8217;re out of luck.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Involves doing a firmware upgrade on your router (nowadays this is pretty bulletproof but there is still a chance that things can go pear-shaped)<\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\">You will need:<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\">A router that&#8217;s compatible with the Tomato firmware (See the <a class=\"vt-p\" href=\"http:\/\/www.polarcloud.com\/tomatofaq#what_will_this_run_on\">FAQ<\/a>)<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\"><a class=\"vt-p\" href=\"http:\/\/tomatovpn.tomatomod.de\/release\/1.27vpn3.6\/\">TomatoVPN firmware<\/a> <\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\"><a href=\"https:\/\/dl.dropbox.com\/u\/169813\/openvpn-mac.tar.bz2\">Donald&#8217;s nifty setup scripts of doom!<\/a> <\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Option #2: Set up a VPN server on your Mac<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Advantages<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">You don&#8217;t need to go out and buy a new router, If yours isn&#8217;t Tomato-compatible<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Does not require firmware upgrading your router <\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Disadvantages<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Must be kept running 24\/7.<\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">You will need:<\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\"><a class=\"vt-p\" href=\"https:\/\/itunes.apple.com\/us\/app\/xcode\/id497799835?mt=12\">XCode<\/a> &#8211; free on the app store<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\"><a class=\"vt-p\" href=\"http:\/\/www.macports.org\/\">MacPorts<\/a> &#8211; also a free download<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\"><a href=\"https:\/\/dl.dropbox.com\/u\/169813\/openvpn-mac.tar.bz2\">Donald&#8217;s nifty setup scripts of doom!<\/a><\/span><\/li>\n<\/ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">For the VPN Client(s) (any machines you want to be able to connect to the VPN, e.g. your laptop, mobile devices, etc.)<\/span><span style=\"font-size: 13px; line-height: 1.2em;\"> <\/span><\/li>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Mac and Windows &#8211; <a class=\"vt-p\" href=\"http:\/\/www.sparklabs.com\/viscosity\/\">Viscosity<\/a>.  This is a paid app.  There are <a class=\"vt-p\" href=\"https:\/\/code.google.com\/p\/tunnelblick\/\">free\/Open Source OpenVPN clients<\/a> but I have never gotten them to work reliably, if at all.  (Seems like they are having trouble with Mountain Lion compatibility).  Plus their user interface is pretty horrid.  You could tinker with the free clients (some people have gotten them to work), or wait for them to get their ML compatibility straightened out, but I chose to go with a commercial solution.  <\/span><span style=\"font-size: 13px; line-height: 1.5em;\">It&#8217;s well put together and absolutely rock solid, never had it crash or do anything weird, and the company stands behind their product.  And at only $9, it&#8217;s very affordable, and worth every penny IMHO.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">iOS and Android &#8211; OpenVPN&#8217;s official app (totally free), available on both <a class=\"vt-p\" href=\"https:\/\/itunes.apple.com\/us\/app\/openvpn-connect\/id590379981\">iOS<\/a> and <a class=\"vt-p\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=net.openvpn.openvpn&amp;feature=related_apps#?t=W251bGwsMSwxLDEwOSwibmV0Lm9wZW52cG4ub3BlbnZwbiJd\" search_id=\"undefined\">Android<\/a>.  This is excellent news especially for iOS users, as until recently the only VPN technology that iOS supported was Apple&#8217;s own VPN technology as used in OS X Server (which means you had to buy Server and set it up), as well as a few commercial offerings, all of which (ironically enough) turn out to have some pretty serious <a class=\"vt-p\" href=\"http:\/\/arstechnica.com\/security\/2012\/07\/broken-microsoft-sheme-exposes-traffic\/\">security vulnerabilities<\/a>.  Or, if you wanted to try and use the open source VPN software, you would have to jailbreak.  Not any more!  (Actually this is true of Android as well; until recently you had to root an Android device and install a custom ROM in order to use VPN, however Google have made VPN functionality available to developers starting with 4.0 Ice Cream Sandwich.)<\/span><\/li>\n<\/ul>\n<p>First let&#8217;s talk IP addresses<\/p>\n<ul>\n<li>VPNs tie networks together, therefore both sides of the VPN can&#8217;t have the same IP address range (<a class=\"vt-p\" href=\"http:\/\/www.youtube.com\/watch?v=jyaLZHiJJnE\">don&#8217;t cross the streams!<\/a>)<\/li>\n<li>This is a problem since most of the world uses 192.168.0.x or 192.168.1.x by default<\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Apple routers are a bit better than most in that they typically use 10.0.1.x<\/span><\/li>\n<\/ul>\n<li>It is a good idea to change it, just to be safe<\/li>\n<li>Fortunately, in most cases this requires changing only one setting in the router <\/li>\n<ul>\n<li>For AirPort routers: Launch AirPort Utility, select your router, click Edit, go to the Network tab, click the Network Options button, and change the &#8220;IPv4 DHCP Range&#8221; option<\/li>\n<li>For LInksys routers, this setting should be somewhere in the Setup pages (Unfortunately I don&#8217;t have a Linksys router nor could I find any screenshots online)<\/li>\n<li>For Tomato routers: Basic -&gt; Network, change both the LAN -&gt; Router IP address, and DHCP Server -&gt; IP Range <\/li>\n<li>For other routers: Consult your router&#8217;s manual, look in its web interface at the Settings section, it should be there somewhere. <\/li>\n<\/ul>\n<li>Use something whacky like 192.168.56.x or 10.4.0.x, that way you&#8217;ll pretty much guarantee that you won&#8217;t run into any conflicts<\/li>\n<p>Setting up your Tomato router as an OpenVPN server:<\/p>\n<ol>\n<li>Install TomatoUSB according to the <a class=\"vt-p\" href=\"http:\/\/www.howtogeek.com\/60774\/connect-to-your-home-network-from-anywhere-with-openvpn-and-tomato\/\">instructions<\/a><\/li>\n<li>Set up an account at No-IP.com.<\/li>\n<li>Now configure Tomato to automatically update No-IP whenever your IP changes (yes, it can do this!)<\/li>\n<\/ol>\n<ol>\n<li>Basic -&gt; DDNS<\/li>\n<li>IP Address: Use WAN IP address<\/li>\n<li>Service: No-IP.com<\/li>\n<li>Fill in your email address, password, and the No-IP domain you chose to register (e.g. dburr.zapto.org)<\/li>\n<li>Tick the &#8220;Force next update&#8221; box<\/li>\n<li>Finally click Save <\/li>\n<\/ol>\n<li>Now download my setup scripts of doom.  Open a Terminal window and type the following:<br \/><span style=\"font-size: 13px; line-height: 1.5em;\"><strong><span style=\"font-family: 'Courier New';\">     cd ~\/Downloads<\/span><\/strong><br \/><strong><span style=\"font-family: 'Courier New';\">     tar xvjf openvpn-mac.tar.bz2<\/span><\/strong><br \/><strong><span style=\"font-family: 'Courier New';\">     cd openvpn-mac &amp;&amp; bash setup-tomato-certs<\/span><\/strong> <\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Once the setup procedure is complete, TextEdit will automatically launch and will open 4 files.  You will need to copy\/paste the contents of these files into the Tomato web interface.<\/span><\/li>\n<ol>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">On the Tomato interface, go to VPN Tunnelling -&gt; Server and select the &#8220;Server1&#8221; tab.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Set up the settings as below:<\/span><\/li>\n<\/ol>\n<ol>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Tick the &#8220;Start  with WAN&#8221; box<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Interface Type: TUN<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Protocol: UDP<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Port: 1194<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Firewall: Automatic<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Authorization mode: TLS<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Extra HMAC authorization: disabled<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">VPN subnet\/mask: 10.8.0.0 \/ 255.255.255.0 <\/span><\/li>\n<\/ol>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Now select the &#8220;Keys&#8221; tab, and you will see a series of text boxes<\/span><\/li>\n<ol>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">In the &#8220;Certificate Authority&#8221; box, paste the contents of the &#8220;ca.crt&#8221; TextEdit window.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">In the &#8220;Server Certificate&#8221; box, paste the contents of the &#8220;server.crt&#8221; TextEdit window.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">In the &#8220;Server Key&#8221; box, paste the contents of the &#8220;server.key&#8221; TextEdit window.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Finally, in the &#8220;Diffie-Hellman Parameters&#8221; box, paste the contents of the &#8220;dh1024.pem&#8221; TextEdit window.<\/span><\/li>\n<\/ol>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">Finally, click the &#8220;Start&#8221; button.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">During setup you also set you your first VPN connection.  You should see a Finder window showing the connection file you created (the file name will be &#8220;connection-name.ovpn&#8221;)  Copy this file onto your device using the instructions below for setting up OpenVPN clients.<\/span><\/li>\n<li>To create VPN connections for additional devices, open a Terminal window and enter this command:<br \/>          <strong><span style=\"font-family: 'Courier New';\">setup-vpn-client <em>connection-name<\/em><\/span><\/strong><\/li>\n<p><strong><span style=\"font-family: 'Courier New';\"><em> <\/em><\/span><\/strong><span style=\"font-size: 13px; line-height: 1.2em;\"> <\/span><\/p>\n<p><span style=\"font-size: 13px; line-height: 1.5em;\">Setting up your Mac as an OpenVPN server:<\/span><\/p>\n<ol>\n<li><span style=\"font-size: 13px;\">Give your Mac a static internal IP address<\/span><\/li>\n<\/ol>\n<ol>\n<li><span style=\"font-size: 13px;\">For that you will need your Mac&#8217;s MAC address (yeah I know this sounds weird)<\/span><\/li>\n<li><span style=\"font-size: 13px;\">Get it by going to System Preferences -&gt; Network -&gt; (Ethernet or WiFi, whichever you normally use) -&gt; Advanced -&gt; Hardware<\/span><\/li>\n<li><span style=\"font-size: 13px;\">Now enter this into your router<\/span><\/li>\n<\/ol>\n<ol>\n<li><span style=\"font-size: 13px;\">For AirPort routers: launch AirPort Utility, select your router, click Edit, go to the Network tab, under DHCP Reservations, click the + button<\/span><\/li>\n<li><span style=\"font-size: 13px;\">For Linksys routers: again, I don&#8217;t have one, so can&#8217;t tell you exactly where to look, but it should be somewhere in the Settings page.  Look for &#8220;Static DHCP&#8221; or &#8220;DHCP Reservation&#8221; or something similar.<\/span><\/li>\n<li><span style=\"font-size: 13px;\">For Tomato routers: Basic -&gt; Static DHCP<\/span><\/li>\n<li><span style=\"font-size: 13px;\">For other routers: again, it should be somewhere in the Settings page.  Look for &#8220;Static DHCP&#8221; or &#8220;DHCP Reservation&#8221; or something similar.<\/span><\/li>\n<\/ol>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Set up an account at No-IP.com.  Then set up automatic updating whenever your public IP address changes.<\/span><\/li>\n<ol>\n<li>Many routers now have this capability built-in.  Look for &#8220;Dynamic DNS&#8221; or &#8220;DDNS.&#8221;  If it&#8217;s a Tomato router:<\/li>\n<\/ol>\n<ol>\n<li>Basic -&gt; DDNS<\/li>\n<li>IP Address: Use WAN IP address<\/li>\n<li>Service: No-IP.com<\/li>\n<li>Fill in your email address, password, and the No-IP domain you chose to register (e.g. dburr.zapto.org)<\/li>\n<li>Tick the &#8220;Force next update&#8221; box <span style=\"color: #ff0000;\">&lt;&#8211; Allison didn&#8217;t see this box<\/span><\/li>\n<li>Finally click Save <\/li>\n<\/ol>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\">If your router doesn&#8217;t support dynamic DNS updating, you&#8217;ll need to install the No-IP Mac client and set it up according to the directions. <\/span><\/li>\n<li><span style=\"font-size: 13px;\">Install Xcode from the App Store.  Once it&#8217;s done installing, run it, g<\/span><span style=\"font-size: 13px; line-height: 1.5;\">o to Xcode menu -&gt; Preferences, and click the &#8220;Downloads&#8221; icon, then select the &#8220;Components&#8221; tab.  In the screen that appears, click the &#8220;Install&#8221; button next to &#8220;Command Line Tools.&#8221;  When that is finished, you can quit XCode.<\/span><\/li>\n<li>\n<p><span style=\"font-size: 13px; line-height: 1.5;\">Open a Terminal window (in Finder, go to the Go menu -&gt; Utilities, then find and double click on Terminal icon).  At the Terminal prompt, enter<br \/><strong><span style=\"font-family: 'Courier New';\">     xcodebuild -license<\/span><\/strong><br \/><\/span><span style=\"font-size: 13px; line-height: 1.2em;\">Read through the EULA and accept it by typing <strong><span style=\"font-family: 'Courier New';\">agree<\/span><\/strong> when prompted.  Do not close or quit Terminal; you will need it for the next few steps.<\/span><\/p>\n<\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Download and install MacPorts.  After the installation, switch back to your Terminal window and run the following commands:<br \/>          <strong><span style=\"font-family: 'Courier New';\">source ~\/.profile<\/span><\/strong><br \/>          <strong><span style=\"font-family: 'Courier New';\">sudo port -v selfupdate<\/span><\/strong><br \/><\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Now from the command line install the OpenVPN server software by typing<br \/>          <strong><span style=\"font-family: 'Courier New';\">sudo port -v install openvpn2<\/span><\/strong><\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Next, download and install the tuntap drivers.  Note that, to get around Gatekeeper in Lion\/Mountain Lion, you need to right-click on the installer package and choose &#8220;open.&#8221;<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Finally, download Donald&#8217;s Scripts of Doom.  Switch to Terminal and run the following commands:<br \/><strong><span style=\"font-family: 'Courier New';\">     cd ~\/Downloads<\/span><\/strong><br \/><strong><span style=\"font-family: 'Courier New';\">     tar xvjf openvpn-mac.tar.bz2<\/span><\/strong><br \/><strong><span style=\"font-family: 'Courier New';\">     cd openvpn-mac &amp;&amp; sudo bash setup-openvpn-server<\/span><\/strong><br \/>Follow the on-screen prompts. <\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">After initial set up is complete, you will be guided through setting up your first VPN connection.  Once this is complete, a Finder window will open with the configuration file for that connection selected.  Copy this file onto your device using the instructions below for setting up OpenVPN clients.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">To create VPN connections for additional devices, open a Terminal window and enter this command:<br \/>          <strong><span style=\"font-family: 'Courier New';\">sudo setup-openvpn-client <em>connection-name<\/em><\/span><\/strong><\/span><strong style=\"font-family: inherit; font-style: inherit; line-height: 1.2em;\"><span style=\"font-family: 'Courier New';\"><em> <\/em><\/span><\/strong><\/li>\n<li>(Last step, honest!) Set up port forwarding from your router to the machine you&#8217;re using as the OpenVPN server.  You need to forward UDP port 1194.<\/li>\n<ol>\n<li>For AirPort routers: launch AirPort Utility, select your router, click Edit, go to the Network tab, under Port Settings, click the + button, and fill in the following:<\/li>\n<\/ol>\n<ol>\n<li>Firewall Entry Type: IPv4 Port Mapping<\/li>\n<li>Description: Put something meaningful to you, e.g. &#8220;VPN Server&#8221;<\/li>\n<li>Public UDP Ports: 1194<\/li>\n<li>Public TCP Ports: leave blank<\/li>\n<li>Private IP Address: the internal IP address of your Mac<\/li>\n<li>Private UDP Ports: 1194<\/li>\n<li>Private TCP Ports: leave blank <\/li>\n<\/ol>\n<li>For Linksys routers: again, I don&#8217;t have one, so can&#8217;t tell you exactly where to look, but it should be somewhere in the Settings page.  Look for &#8220;Port Forwarding&#8221; or something similar.<\/li>\n<li>For Tomato routers: Port Forwarding -&gt; Basic<\/li>\n<li>For other routers: again, it should be somewhere in the Settings page.  Look for &#8220;Port Forwarding&#8221; or something similar.<span style=\"font-size: 13px; line-height: 1.5em;\"> <\/span><\/li>\n<p><span style=\"font-size: 13px;\">Setting up an OpenVPN client on a Mac:<\/span><\/p>\n<ol>\n<li><span style=\"line-height: 15.59375px;\">Download, install and run <a class=\"vt-p\" href=\"http:\/\/www.sparklabs.com\/viscosity\/download\/\">Viscosity<\/a>.  Although this is a paid app, it comes with a 30 day free trial in which all functions of the app are still enabled.<\/span><\/li>\n<li><span style=\"line-height: 15.59375px;\">Copy the OpenVPN connection file onto your computer using any available method (Dropbox, USB stick, etc.) <\/span><\/li>\n<li>Click the Viscosity icon in the menu bar, then choose Preferences.<\/li>\n<li>In the &#8220;Connections&#8221; tab, click the + at the lower left of the screen, then choose Import Connection -&gt; From File.<\/li>\n<li>Browse to your connection file and click Open.<\/li>\n<li>The connection will be imported with a pretty generic name.  You can click the Edit button to give it a more meaningful name.  Once you&#8217;re finished, click Save, then close the Preferences window.<\/li>\n<li>To connect, click the Viscosity icon in the menu bar, then choose &#8220;Connect (connection name)&#8221;<\/li>\n<li>To see some useful information about the connection (how much data is transferred, speed of data transfer, etc.) click the Viscosity icon in the menu bar, then choose &#8220;Details.&#8221;<\/li>\n<li>To end your connection, click the Viscosity icon in the menu bar then choose &#8220;Disconnect (connection name)&#8221; <span style=\"font-size: 13px; line-height: 1.2em;\"> <\/span><\/li>\n<\/ol>\n<p>Setting up an OpenVPN client on a Windows machine:<\/p>\n<ol>\n<li>Download, install and run <a class=\"vt-p\" href=\"http:\/\/www.sparklabs.com\/viscosity\/download\/\">Viscosity<\/a>.  Although this is a paid app, it comes with a 30 day free trial in which all functions of the app are still enabled.<\/li>\n<li>Copy the OpenVPN connection file onto your computer using any available method (Dropbox, USB stick, etc.)<\/li>\n<li>Click the Viscosity icon in the system tray, then choose Preferences.<\/li>\n<li>In the &#8220;Connections&#8221; tab, click the + at the lower left of the screen, then choose Import Connection -&gt; From File.<\/li>\n<li>Browse to your connection file and click Open.<\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">The connection will be imported with a pretty generic name.  You can click the Edit button to give it a more meaningful name.  Once you&#8217;re finished, click Save, then close the Preferences window.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">To connect, click the Viscosity icon in the system tray, then choose &#8220;Connect (connection name)&#8221;<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">To see some useful information about the connection (how much data is transferred, speed of data transfer, etc.) click the Viscosity icon in the system tray, then choose &#8220;Details.&#8221;<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5em;\">To end your connection, click the Viscosity icon in the system tray then choose &#8220;Disconnect (connection name)&#8221; <\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: 13px;\">Setting up an OpenVPN client on an iOS device:<\/span><\/p>\n<ol>\n<li>Download and install the OpenVPN Connect app from the App Store.<\/li>\n<li>Import the connection configuration file you generated above to the app.<\/li>\n<\/ol>\n<ol>\n<li>Using Dropbox (easiest method IMHO): On your Mac, add the file into your Dropbox.  Then launch the Dropbox app on your iOS device, browse to the file and view it.  Tap the Share icon (looks like an arrow pointing into a box), then choose &#8220;Open in OpenVPN.&#8221;  The OpenVPN app will launch, and you will see a &#8220;New profiles are available&#8221; prompt.  Tap the green plus sign (+) to import the configuration file.<span style=\"font-size: 13px; line-height: 1.5em;\"> <\/span><\/li>\n<li>Using direct USB connection (iTunes File Sharing): Quit the OpenVPN app if it is open.  Plug your iOS device into iTunes, click on it in the sidebar, then click on the &#8220;Apps&#8221; tab.  In the &#8220;File Sharing&#8221; section, find the OpenVPN app, and click on it.  Drag the connection file into the &#8220;OpenVPN Documents&#8221; box.  Now launch the OpenVPN app, and you will see a &#8220;New profiles are available&#8221; prompt.  Tap the green plus sign (+) to import the configuration file.<\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Using email (less secure than the above two, not recommended. Using a password protected connection will make this more secure): E-mail the file to yourself as an attachment.  On your iOS device, view the mail, tap on the attachment, then tap &#8220;Open in OpenVPN.&#8221;  The OpenVPN app will launch, and you will see a &#8220;New profiles are available&#8221; prompt.  Tap the green plus sign (+) to import the configuration file.<\/span><\/li>\n<\/ol>\n<li>If you set up this connection to require a password, enter it in the &#8220;Private Key Password&#8221; field that appears.  (This field only appears if a password is required)<\/li>\n<li>Finally, tap the ON\/OFF switch to start and\/or stop the connection.<\/li>\n<li>While you are connected, the OpenVPN app displays various statistics on your connection (how much data was transferred, etc.).  Also, a &#8220;VPN&#8221; icon appears in your device&#8217;s status bar to indicate that you are connected to a VPN. <\/li>\n<p><span style=\"font-size: 13px;\">Setting up an OpenVPN client on an Android device:<\/span><\/p>\n<ol>\n<li><span style=\"font-size: 13px;\">Download and install the OpenVPN Connect app from the Google Play Store.<\/span><\/li>\n<li><span style=\"font-size: 13px;\">Import the connection configuration file you generated above to the app.<\/span><\/li>\n<\/ol>\n<ol>\n<li>Using Dropbox (easiest method IMHO): On your Mac, add the file into your Dropbox.  Then launch the Dropbox app on your Android device, navigate to the configuration file you copied into Dropbox, long-press on it, and choose Export -&gt; Save to SD Card.  Now launch the OpenVPN Connect app, tap the Menu button (&#8230;) in the upper right, choose Import -&gt; Import Profile from SD Card.  Find the file you just exported, tap on it, then tap the &#8220;Select&#8221; button.<span style=\"font-size: 13px; line-height: 1.5em;\"> <\/span><\/li>\n<li><span style=\"font-size: 13px;\">Using direct USB connection: Connect your device to your Mac and activate file transfer mode, then copy the file onto your device&#8217;s built-in memory or SD card.  Launch the OpenVPN Connect app, tap the Menu button (&#8230;) in the upper right, choose Import -&gt; Import Profile from SD Card.  Find the file you copied onto your device, tap on it, then tap the &#8220;Select&#8221; button.<\/span><\/li>\n<li><span style=\"font-size: 13px; line-height: 1.5;\">Unfortunately, Android does not support importing OpenVPN connection files via email.  At least I wasn&#8217;t able to get it to wordddddd<\/span><span style=\"font-size: 13px; line-height: 1.5;\">If you set up this connection to require a password, enter it in the &#8220;Private Key Password&#8221; field that appears.  (This field only appears if a password is required)<\/span><\/li>\n<\/ol>\n<li>Finally, tap the Connect button to connect to the VPN.  Once you are connected this will turn into a Disconnect button, which will disconnect the connection when tapped.<\/li>\n<li><span style=\"font-size: 13px; line-height: 1.2em;\">While you are connected, the OpenVPN app displays various statistics on your connection (how much data was transferred, etc.).  Also, a &#8220;key&#8221; icon appears in the notification area to indicate that you are connected to a VPN.<\/span><\/li>\n<p>How to prove to yourself that the VPN connection works:<\/p>\n<ol>\n<li>Before leaving home for the day, load up IPChicken.com, and make a note of  &#8220;name address.&#8221;  Somewhere in there it should say the name of your ISP.  (example: for my Cox connection, it ends in &#8220;.cox.com&#8221;)<\/li>\n<li>Now find somewhere where there&#8217;s public WiFi (Starbucks, the library, whatever).  Or activate LTE and\/or tethering.  Load up <a href=\"http:\/\/www.ipchicken.com\/\">IPChicken.com<\/a>.   Make a note of what IP address and name address it displays.  It should be different than what your home connection says (unless the place where you&#8217;re at just happens to subscribe to the same ISP as you do, oops).<\/li>\n<li>Now activate your VPN connection, and once again, open up <a href=\"http:\/\/www.ipchicken.com\/\">IPChicken.com<\/a>.  It should now say that you are using your home ISP.<\/li>\n<\/ol>\n<p><span style=\"font-size: 13px; line-height: 1.2em;\">Caveats<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 13px;\">If you ever lose control of your private keys, you&#8217;re SOL.  Anyone who has that client configuration file can connect to your VPN.  This is why distributing configuration files via email isn&#8217;t the best idea.  That&#8217;s also why it&#8217;s probably a good idea to add a (strong) password to it.<\/span><\/li>\n<\/ul>\n<p>\nI was so energized by this discussion with Donald that I spent nearly four hours going through step by step AND documenting it in ScreenSteps.  Of course there&#8217;s a<a href=\"https:\/\/www.podfeet.com\/wordpress\/tutorials\/how-to-set-up-a-vpn-server-using-a-mac\/\" target=\"_blank\"> link in the shownotes to my ScreenSteps Tutorial of Doom<\/a>, and as I said at the beginning of the show, it&#8217;s has a permanent home under the Tutorials tab on podfeet.com.<\/p>\n<p>That&#8217;s going to wind this up for this week, many thanks to our sponsor for helping to pay the bills, Blue Mango Learning at <a href=\"http:\/\/bluemangolearning.com\">bluemangolearning.com<\/a> makers of ScreenSteps and Clarify. Don&#8217;t forget to send in your Dumb Questions, comments and suggestions by emailing me at <a href=\"mailto:allison@podfeet.com\">allison@podfeet.com<\/a>, follow me on twitter at <a href=\"http:\/\/twitter.com\/podfeet\">@podfeet<\/a>.  Check out the <a href=\"https:\/\/plus.google.com\/communities\/117336672755291339814\" target=\"_blank\">NosillaCast Google Plus Community<\/a> too &#8211; lots of fun over there!  If you want to join in the fun of the live show, head on over to <a href=\"https:\/\/podfeet.com\/live\">podfeet.com\/live<\/a> on Sunday nights at 5pm Pacific Time and join the friendly and enthusiastic NosillaCastaways.  Thanks for listening, and stay subscribed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First I&#8217;m going to take you on an adventure where Belgium, Canada, and Ireland help me to get cool new social media links for the show. Then Allister Jenks is going to challenge the RPN Calculator fanatics with his favorite iOS Calculator Pcalc. Then George from Tulsa is going to explain why he had to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,173,1],"tags":[],"class_list":["post-3826","post","type-post","status-publish","format-standard","hentry","category-blog-posts","category-nosillacast","category-podcasts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/3826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=3826"}],"version-history":[{"count":5,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/3826\/revisions"}],"predecessor-version":[{"id":32744,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/3826\/revisions\/32744"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=3826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=3826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=3826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}