On Wed, Dec 7, 2011 at 4:54 PM, Roger Luedecke <roger.luedecke@gmail.com> wrote:
On Wednesday, December 07, 2011 04:31:04 PM Greg Freemyer wrote:
On Wed, Dec 7, 2011 at 4:22 PM, John Andersen <jsamyth@gmail.com> wrote:
On 12/7/2011 1:07 PM, Roger Luedecke wrote:
I want to use it as a sandbox to play with web technologies. But mainly I'd like to be able to set it up to serve a small site, like a splash page for the home network. Like, if the roomie comes home and connects, he'll be redirected to the local site first.
Your first goal (sandbox to play with web tech) seems like something you should embark upon separately.
Your second goal, of hijacking web requests and directing them to your own server seems ill advised.
Every hotel I've been in recently does it. Why not Roger?
ie. When you first try to use the web, most hotel's seem to have a solution that causes their page to come up. Once you register as an approved user, they open it up to the web.
ie. Roger could just have a Welcome page that asks the user to click on something to allow them access to the world!
My issue is it sounds a little advanced for a early experiment. ie. Roger would have to have a web-page that controlled a iptables setup or something.
Greg Maybe it is too advanced indeed. I had a roommate once who had it set up that way with his Macs. Basically, I would just like to have it so that it can bring up a page with say a calendar, notes, task list... that sort of thing. -- Roger Luedecke
At first, I would just setup a normal webpage and ask your roommate to set it as his homepage. Then you can experiment to your hearts content, and if things blow up for a while, it's no big deal. It's the redirect logic which may (or may not) be a little complex. Your "server" would have to be either a proxy (ie. squid) or a firewall (ie. squid or iptunnels). I hadn't thought of squid until phanisvara just mentioned it. It may make the redirect process almost trivial. Otherwise, you would need to have your server act as a firewall. You would have iptunnels redirect all port 80 traffic (as an example) to your local machine. There you would need some authentication logic (or just a box to click on). Once authenticated, you would reconfigure iptunnels to pass the traffic straight out. It's not too bad, but if you get it wrong, your roommate ends up with no Internet access until you get it straightened out. That would make me nervous. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org