{"id":146,"date":"2011-06-29T17:24:42","date_gmt":"2011-06-29T16:24:42","guid":{"rendered":"https:\/\/www.phillips321.co.uk\/?p=146"},"modified":"2011-07-11T12:05:20","modified_gmt":"2011-07-11T11:05:20","slug":"openwifi-w-splash-screen-using-dd-wrt","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2011\/06\/29\/openwifi-w-splash-screen-using-dd-wrt\/","title":{"rendered":"OpenWiFi w\/ splash screen using DD-WRT"},"content":{"rendered":"<p>So we&#8217;ve all been lucky enough to have free wifi from time to time. Sometimes coffee shops offer free access. Recently in Tallinn, Estonia nearly everywhere I went I had access to free wifi. It got me thinking, all this free wifi and should I trust any of it? I knew how easy it was to set up an open wireless access point named &#8220;FreeWiFi&#8221;, but what if I wanted to pop up a disclaimer to the client first??? <\/p>\n<p>Step in <a href=\"http:\/\/www.dd-wrt.com\/site\/index\">DD-WRT<\/a> and <a href=\"http:\/\/www.dd-wrt.com\/wiki\/index.php\/NoCatSplash\">NoCatSplash<\/a>. Set up was simple once DD-WRT was on the box (I was using build v16785 on a spare DIR-615-D2 I had lying around[\u00a315ish on eBay]).<\/p>\n<p>First of all set the Wireless Network Name (SSID) to something like <strong>FreeWiFi<\/strong> and ensure that Wireless Security is disabled. Then navigate to the Services&#8211;>Hotspot Tab and enabled <strong>NoCatSplash<\/strong>. Shown are the options I used:<br \/>\n<div id=\"attachment_149\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/NoCatSplash.png\"><img aria-describedby=\"caption-attachment-149\" loading=\"lazy\" src=\"http:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/NoCatSplash-300x229.png\" alt=\"NoCatSplash Settings\" title=\"NoCatSplash\" width=\"300\" height=\"229\" class=\"size-medium wp-image-149\" srcset=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/NoCatSplash-300x229.png 300w, https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/NoCatSplash.png 598w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-149\" class=\"wp-caption-text\">NoCatSplash Settings<\/p><\/div><br \/>\nI also wanted to set up a custom splash page, as shown in the pic above it&#8217;s located at <a href=\"http:\/\/www.phillips321.co.uk\/splash.html\">http:\/\/www.phillips321.co.uk\/splash.html<\/a>.<br \/>\n<div id=\"attachment_151\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/Splash.png\"><img aria-describedby=\"caption-attachment-151\" loading=\"lazy\" src=\"http:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/Splash-300x121.png\" alt=\"Splash for NoCatSplash\" title=\"Splash\" width=\"300\" height=\"121\" class=\"size-medium wp-image-151\" srcset=\"https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/Splash-300x121.png 300w, https:\/\/www.phillips321.co.uk\/wp-content\/uploads\/2011\/06\/Splash.png 601w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-151\" class=\"wp-caption-text\">Splash for NoCatSplash<\/p><\/div><\/p>\n<p>The above settings allow anyone to connect to the AP, once connected their browser will be redirected to the splash page and only when they click the &#8220;I accept&#8221; button will they we given access to the network.<\/p>\n<p>I order to ensure my own security I have plugged this network into my switch onto a seperate VLAN so no traffic can get to my local network. I have limited the bandwidth using QoS in order to ensure that anyone that does connect doesn&#8217;t rape my connection, and before I forget I have also blocked various ports from going out such as 25,22,etc&#8230;.<\/p>\n<p>Now at my leisure I can turn the AP on, wait for clients and sniff the traffic :-).<\/p>\n<p><em>Note: I don&#8217;t know the legality of this; but the disclaimer hopefully protects me<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So we&#8217;ve all been lucky enough to have free wifi from time to time. Sometimes coffee shops offer free access. Recently in Tallinn, Estonia nearly everywhere I went I had access to free wifi. It got me thinking, all this free wifi and should I trust any of it? I knew how easy it was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[82,81,83,25],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/146"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":5,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/146\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}