Re: Re: Problems with CLhmonApi redirect

Home Forums Discussions Support Portal Problems with CLhmonApi redirect Re: Re: Problems with CLhmonApi redirect

#6915

Anton
Participant

>I tries the redir sample which comes with the local network monitor api.
>Is it possible to redirect a http requeest e.g. to google to my server?
>I want to redirect requests to blocked domain names to my little web server which will send a block page.

redir is a basic sample. For example: redir * 0.0.0.0 80 your_server_ip your_server_port will redirect all local http requests to your private web server.

in production solution you need to analyze destination ip address and substitute it with your server address for blocked domains.

>I tried the sample but even with telnet I do not get a connection. Any idea? Or is the local network api the >wrong lib?

Can you, please, provide the command line for redir sample and for telnet program.