[opensuse] I want to set up my spare tower to serve as a web server for my local network.
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. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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 openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 08 Dec 2011 03:24:46 +0530, Roger Luedecke <roger.luedecke@gmail.com> 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
On Wednesday, December 07, 2011 04:31:04 PM Greg Freemyer wrote: 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.
it's a while ago that i used squid, but i seem to remember you could do things like that, with a set up that requires authorization. if you don't want the auth. part, you can probably leave the password blank. -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
On Thu, 08 Dec 2011 04:01:02 +0530, Greg Freemyer <greg.freemyer@gmail.com> wrote:
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.
that should be possible, but i wouldn't like the scenario. the webserver, in order to change iptables configuration, would have to act as root. maybe acceptable in a private setup, but simple mistakes could make a big mess. and better don't run an open wifi on that, of course. -- phani. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 2011-12-07 at 16:31 -0500, 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.
Isn't that somewhere on the OBS? Like: repo/network:/aaa/SLE_10/x86_64/chillispot-1.1.0-2.1.x86_64.rpm hw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Dec 8, 2011 at 2:52 AM, John Andersen <jsamyth@gmail.com> wrote:
Your second goal, of hijacking web requests and directing them to your own server seems ill advised.
Captive portal does exactly this and I see nothing wrong with it. You want to use someone's IT resources, you need to authenticate yourself to get access to it. -- Arun Khan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Dec 8, 2011 at 2:37 AM, Roger Luedecke <roger.luedecke@gmail.com> 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.
You may be able to eat your cake and have it too with virtualization Virtual Box, KVM [1]. In one VM you can play with your web technologies. In another you can create your proxy server and have your captive portal etc. Suggest two physical NICs for the second VM. In the 2nd VM, you can install ipfire, zeroshell, pfsense or any other "appliance" distro that provides "gateway" features. [1] Need hardware virtualization in system BIOS and CPU. HTH -- Arun Khan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Arun Khan
-
Greg Freemyer
-
Hans Witvliet
-
John Andersen
-
phanisvara das
-
Roger Luedecke