M
M
Maxim2014-12-03 14:39:39
linux
Maxim, 2014-12-03 14:39:39

How to make a one-time redirect with iptables?

I would like to make it so that the user, when trying to access the Internet through a gateway (outgoing connection to any address and port 80), receives a redirect to a local page with a notification, and after this page, you can already successfully access the Internet, without notification, for some or time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2014-12-03
@m238401

You won't get off with IPTABLES alone, you will need a bunch of iptables, squid and squid_session.
Here is the guide , I have it set up and working.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question