How can i resolve all external addresses to internal address?

Posted by Darian on Server Fault See other posts from Server Fault or by Darian
Published on 2012-11-07T13:05:10Z Indexed on 2012/11/09 5:05 UTC
Read the original article Hit count: 445

Filed under:
|
|

I am currently setting up a Linux server for a WIFI access-point. When ever someone who is connected to the hotspot/access-point? tries to reload a page they get forced onto the one page. Note: this wont have internet access!

ie: user tries accessing www.google.com => it returns 192.168.1.200 or example.domain

I've read that "dnsmasq" can be used to redirect any external addresses to an internal address. but haven't had any luck. Anyone have an example of a config for "dnsmasq"?

I have also read that this can be done through a proxy?

© Server Fault or respective owner

Related posts about linux

Related posts about dns