Community discussions

MUM Europe 2020
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Redirect once a day

Sat Aug 05, 2006 9:37 pm

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...
 
User avatar
Equis
Forum Veteran
Forum Veteran
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Sun Aug 06, 2006 2:54 am

can you add them to a src list and bypass that list once added?
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Sun Aug 06, 2006 1:06 pm

errr

I do not quite understand what are you thinking..
 
User avatar
Equis
Forum Veteran
Forum Veteran
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Sun Aug 06, 2006 1:09 pm

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
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Sun Aug 06, 2006 1:21 pm

ok thanks
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Mon Aug 07, 2006 9:42 am

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.
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Mon Aug 07, 2006 2:31 pm

hmm ok, bu how to automaticaly remove from the list?
 
User avatar
Equis
Forum Veteran
Forum Veteran
Posts: 888
Joined: Mon Jun 06, 2005 6:48 am

Mon Aug 07, 2006 2:48 pm

script on timer?

(I'm a newbie too) :-)

Who is online

Users browsing this forum: Bing [Bot] and 142 guests