How to do the redirection of addresses in the internal network by the modem? [closed]

-3

I would like to know how to redirect local addresses within the internal network through the modem, for example: if someone inside the network access the address www.example.com should be redirected to a specific page on a machine on the network. If possible I would like a way for the modem to identify the registered address and point to the machine I want.

Note: It is possible to do these redirects through apache or nginx, but it is necessary to do the redirection on each machine.

    
asked by anonymous 08.09.2016 / 21:38

1 answer

-2

Unable to answer your question because there are thousands of modens models, each with more features or fewer features, and since you did not specify a brand or model.

But my recommendation is you use a computer as an internet server, it will do the function of DHCP and DNS server - obviously for this it will have to have 2 network cards, as it will be an intermediary between the internet and the computers of the Local network - In addition it is also more effective you to implement a squid proxy (just for redirect same) or to make rules in the iptables firewall guaranteeing the redirection, since in many cases the client can change the dns in the machine (example of the google) losing then the redirection in case of implementation by local DNS.

Good luck!

    
08.09.2016 / 21:54