-
Hello, today I tried different methods to forward users to 'blocked' page from restricted domains. For this task I'm using Maybe have opportunity in future add functionally to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Basically, you need a web server which serves on ports 80 and 443. This server should return custom html page on each root and *.html request. This server can also return some custom pictures or only single pixel for *.jpeg/png etc requests. This would work well for HTTP requests. For HTTPS you need to make some kind of "man-in-the-middle attack". Your web server must generate certificates for hostnames in request on-the-fly. To avoid warnings on client side, you must import the root certificate of your server. To summarize, since almost all traffic is encrypted today, it is probably to much effort to use the custom block page |
Beta Was this translation helpful? Give feedback.
Basically, you need a web server which serves on ports 80 and 443. This server should return custom html page on each root and *.html request. This server can also return some custom pictures or only single pixel for *.jpeg/png etc requests.
This would work well for HTTP requests. For HTTPS you need to make some kind of "man-in-the-middle attack". Your web server must generate certificates for hostnames in request on-the-fly. To avoid warnings on client side, you must import the root certificate of your server.
To summarize, since almost all traffic is encrypted today, it is probably to much effort to use the custom block page