Redirect once a day

Hi
I have Community network and want all users to redirect to local intranet forum first and then let them go on the internet is this possibile.

if you cant figure what I want…

I want that

chain=dstnat src-address=192.168.8.12 protocol=tcp dst-port=80 
     action=dst-nat to-addresses=10.0.1.34 to-ports=80

works just for the first time user wants to to internet and then after 60 sec clet him go… and that has to work once a day every day…

can you add them to a src list and bypass that list once added?

errr

I do not quite understand what are you thinking..

me neither really…

But I have seen how routeros can add ips to a firewall rule automaticly to prevent ddos attack.

Was thinking you could modify this

somehow…

Have a look at Mikrotiks Routeros demo, they have awsome examples

ok thanks

Hot spot is used for that. Ot has the option to offer user login page before letting him access Internet, but you may tweak it to autologin, having effect that user must see your page ant then access internet.

Without hotspot, you may try this:

if user’s IP is not in “active_internet” address list redirect him to your site, and put him ont that list but using expire option so use will be automaticaly removed from the list after specified period of time. If user is on the list do not redirect him to your page but let him access internet.

this is just an idea, it needs soem polishing, but it may work.

hmm ok, bu how to automaticaly remove from the list?

script on timer?

(I’m a newbie too) :slight_smile: