Using Iptables, it is fairly straightforward, and can be accomplished in Mikrotik as well.
I set up rules in a separate chain to allow access to certain things, such as my payment server, DNS, and a couple of other things i wanted to let even the restricted people access but then direct all port 80 and 443 traffic (DstNAT) to my web server ip on port 88. The web server is set up to serve one page only at that virtualhost, but I think more importantly, it is also set up with ReDirect rules to catch all URI's and redirect them to the one page, and it is ALSO set up to instruct the browser to not cache those pages. e.g. http://yahoo.com/somthing/another/index.html is redirected (transparently.. their address bar still shows that they are at yahoo.com, but the page they see is my "you are restricted" page) as is http://yahoo.com/ or google.com, none of which gives a 404 error on my web server because of the ReWrite rules. However, my page is not stored in their browser cache, so that when I turn them back on, all they have to do is hit refresh and they immediately get the real page they were attempting to get in the first place, not my (cached) page. I also have a link to my payment gateway on the restricted page, and rules in ipchains to allow them to access it. Since I do NOT know who might be using whomever's computer, I do not specifically say on that page WHY they are restricted, as that might be a violation of the customer's privacy. It might be their visiting mother-in-law that was the first to see the "you haven't paid your bill" message. Instead, I have a list of several possible reasons why they are being restricted, including misconfiguration of their computer, spamming, worms, viruses, non-payment, I made a mistake, etc.... D. Ryan Spott wrote: > Hey Sam, want to elaborate? How do you do this? > > > Thanks! > > ryan > > -----Original Message----- > From: "Sam Tetherow" <[EMAIL PROTECTED]> > To: "WISPA General List" <wireless@wispa.org> > Sent: 11/23/07 5:01 PM > Subject: Re: [WISPA] Non-paying Subs > > And if you have a way to send them to a captive page that says the > account has been restricted due to billing issues we have found that the > respond even quicker. > > Sam Tetherow > Sandhills Wireless > > Mark Nash wrote: > >> Hey everyone. >> >> I've recently cleaned up alot of billing/past due issues. My main >> comment here is that it's amazing how responsive people are when you >> turn their connection off due to nonpayment. They are generally not >> upset because they know they haven't been paying. >> >> Don't be afraid to get in the habit of checking your billing and >> turning people off for nonpayment. It's expected. >> >> Mark Nash >> UnwiredOnline >> 350 Holly Street >> Junction City, OR 97448 >> http://www.uwol.net >> 541-998-5555 >> 541-998-5599 fax >> >> >> >> >> >> -------------------------------------------------------------------------------- >> >> >> WISPA Wants You! Join today! >> http://signup.wispa.org/ >> -------------------------------------------------------------------------------- >> >> >> >> WISPA Wireless List: wireless@wispa.org >> >> Subscribe/Unsubscribe: >> http://lists.wispa.org/mailman/listinfo/wireless >> >> Archives: http://lists.wispa.org/pipermail/wireless/ >> >> > > > > -------------------------------------------------------------------------------- > WISPA Wants You! Join today! > http://signup.wispa.org/ > -------------------------------------------------------------------------------- > > WISPA Wireless List: wireless@wispa.org > > Subscribe/Unsubscribe: > http://lists.wispa.org/mailman/listinfo/wireless > > Archives: http://lists.wispa.org/pipermail/wireless/ > > > > -------------------------------------------------------------------------------- > WISPA Wants You! Join today! > http://signup.wispa.org/ > -------------------------------------------------------------------------------- > > WISPA Wireless List: wireless@wispa.org > > Subscribe/Unsubscribe: > http://lists.wispa.org/mailman/listinfo/wireless > > Archives: http://lists.wispa.org/pipermail/wireless/ > > > -- John Vogel - [EMAIL PROTECTED] http://www.vogent.net 620-754-3907 Vogel Enterprises, LLC Information Services Provider serving S.E. Kansas -------------------------------------------------------------------------------- WISPA Wants You! Join today! http://signup.wispa.org/ -------------------------------------------------------------------------------- WISPA Wireless List: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/