Go Back   Wireless and Wifi Forums > Wireless Networks (Wifi) > Wireless Networking Discussion
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2006, 10:14 PM
Junior Member
 
Join Date: Feb 2006
Location: UK
Posts: 6
Default Wireless Server

How can I do this?

I have a wireless router/access point connecting to this server that clients in the building can connect to its setup as DHCP to give them a IP from the buildin DHCP server on the router.

I have pluged the wan port out of the router/ap in to a nic card on the machine and wish to allow only http service to run so I can share some html and music files.

I have another nic card that runs on the machine that connects it to the rest of the network but I dont wish to give anyone access to that.

It is it just a matter of seting up a webserver on the server or is it a bit more complicated than that?
__________________
The Cat Arena
Reply With Quote
  #2 (permalink)  
Old 02-28-2006, 12:07 AM
Member
 
Join Date: Dec 2005
Posts: 37
Default You may be lucky but...

I am going to guess that may be outside of the realm of this forum. The only way I know of is to set up an independent server...or run a Linux box. I am not real familiar with either setup .
Reply With Quote
  #3 (permalink)  
Old 02-28-2006, 10:29 AM
Junior Member
 
Join Date: Feb 2006
Location: UK
Posts: 6
Default

This is a interesting bit of reading.

http://www.wirelessdefence.org/Conte...BASICLinux.htm

This is the kinda thing I am looking for, but I dont need DHCP as the router does it. Maybe I should post some more information on my setup.

The server is running Linux and is connected to a broadband modem useing eth0 nic card. The server also has another nic card eth1 which is connected to a Dlink DL-524 Router/Access Point wan port.

Now the router/ap is open for anyone to connect and gives them a ip. The wan port on the router/ap will act as the internet but instead of going into a modem it will go in to eth1 which will be running a webserver so the server will be the internet as far as the router/ap is concerned, do you follow?

I dont know if this calls for some kinda port forwarding on the router/ap, maybe its just as simple as that.

I would install apache webserver on the linux box, and set up some permissions like deny all except the router/ap traffic and have a default page for all traffic that comes in.

The link I posted differs from what I want, but the concept is the same its just that I dont need to set up DHCP,DNS or config a card as the router/ap does all that for me, all I need to do is act as a server for traffic comeing out of the routers wan port just like a isp.
__________________
The Cat Arena
Reply With Quote
  #4 (permalink)  
Old 03-29-2006, 02:12 AM
Super Moderator
 
Join Date: Aug 2005
Location: Blenheim, New Zealand
Posts: 573
Send a message via MSN to NZLamb Send a message via Skype™ to NZLamb
Default

So you want to set up an open AP that can access a locally hosted website only? Or do you want a proxy server that passes the requests onto the internet.

If you want the former, that's easy. Just set up Apache or some other web server on your Linux box, bind it to eth1, host a page and you are done. If you want to redirect requests from particular URLs, enter the domain names in the hosts file with the IP address of your web server.

If you want to direct any domain request to your locally hosted page (e.g. www.google.com, www.stuff.co.nz, etc etc), skip the hosts file bit above, set up a DNS server on your Linux box and create a root zone (.) with a wildcard (*) host record pointing to the IP of the web server. Make sure the DHCP server hands out the IP address of your local DNS server.

To take this a step further and redirect any requested page e.g. (www.google.com/imghp), edit your httpd.conf file and add a line that says ErrorDocument 404 /. This will redirect any request to your web server to the default page.

Now if you want to set up a proxy for internet access, I suggest you install Squid on the Linux box. There is plenty of documentation out there on the web on getting this going.

Last edited by NZLamb; 03-29-2006 at 02:15 AM.
Reply With Quote
  #5 (permalink)  
Old 03-29-2006, 09:01 PM
Junior Member
 
Join Date: Feb 2006
Location: UK
Posts: 6
Default

Ah sound advice

I am going to try that out, I sold the Dlink DL-524 to someone who wanted to have a wireless network and got a Linksys WRT54GS (v4) with the return for the sale, a nice bit of equipment running on Linux with upgraded DD-WRT 23 SP1 custom firmware.

So as you advised with the Linksys I can maybe get all this running on the router its self but I havent messed about much with it, but I'll post any success I have.

Thanks once more.
__________________
The Cat Arena
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to Internet via wireless despite wireless indicating connected mb667584 Network Troubleshooting 23 06-19-2009 06:58 AM
Don't fall victim to the 'Free Wi-Fi' scam Ablang alt.internet.wireless 5 02-04-2007 09:44 AM
CFP: WIRELESS APPLICATIONS AND COMPUTING 2007 natty2006@gmail.com alt.internet.wireless 0 01-18-2007 04:35 PM
The Repeater, Access Point, Laptop Triangle of Death (Please Help) TheKingsCrown Network Troubleshooting 9 04-25-2006 05:01 AM
Hacking attempt? MoNk Wireless Networking Discussion 1 05-11-2005 10:21 AM


All times are GMT. The time now is 10:47 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45