I did something similar for a small ISP aprox 10 years ago, with iptables. There was a redirect for the customer to a notice page. When the page was loading, the iptables rule was deleted by PHP. The customer had no internet access until he opened a page and agreed with the notice we were sending. When clicking the OK button, rule was deleted and traffic was back to normal.
I did something similar for a small ISP aprox 10 years ago, with iptables. There was a redirect for the customer to a notice page. When the page was loading, the iptables rule was deleted by PHP. The customer had no internet access until he opened a page and agreed with the notice we were sending. When clicking the OK button, rule was deleted and traffic was back to normal.
Usually this is how a redirection proxy works.
How to do this?