Community discussions

MikroTik App
 
hdavy2002
just joined
Topic Author
Posts: 12
Joined: Tue Jun 11, 2013 6:44 pm

Need help with a redirect loop

Sun Feb 16, 2014 1:10 am

Hi folks,

I am trying to use sustain my free vpn by using adf.ly advertisement. I have run into a redirect snag.

Lets say a users wants to go to hulu.com. He gets diverted to an ad on adf.ly. (-by a redirect rule on webproxy). After the user waits for 5 sec on adf.ly, he gets diverted to hulu.com by adf.ly.

In my case (-VPN Traffic), it becomes a redirect loop as the firewall re-detects the outgoing domain name again (which is hulu.com) and redirects it to adf.ly

Is there any other way to accomplish this? Like giving users a time cookie, so for each users it is redirected only once.

Many thanks in advance folks.

Cheers
 
User avatar
rickfrey
Trainer
Trainer
Posts: 610
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas
Contact:

Re: Need help with a redirect loop

Mon Feb 17, 2014 5:33 am

Can you be more specific about your problem, please? Can you post the config that you are current using?
Launch your company forward with professional training!
http://rickfreyconsulting.com/product-c ... raining-2/
 
nerdtron
Member Candidate
Member Candidate
Posts: 123
Joined: Sat Nov 30, 2013 7:49 am

Re: Need help with a redirect loop

Mon Feb 17, 2014 3:31 pm

You should activate the Hotspot feature for mikrotik. It has an option to show and advertisement on a specified time. Say every 30 minutes users browsing the web will be redirected to an advertisement page you have entered on the config.
 
hdavy2002
just joined
Topic Author
Posts: 12
Joined: Tue Jun 11, 2013 6:44 pm

Re: Need help with a redirect loop

Mon Feb 17, 2014 3:53 pm

Thanks nerdtron. I found that feature. I waited for time to expire but nothing happened. Is there anything else I need to do besides ticking the box? See attachment.
You do not have the required permissions to view the files attached to this post.
 
User avatar
rickfrey
Trainer
Trainer
Posts: 610
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas
Contact:

Re: Need help with a redirect loop

Mon Feb 17, 2014 7:42 pm

Just test :D
Launch your company forward with professional training!
http://rickfreyconsulting.com/product-c ... raining-2/
 
hdavy2002
just joined
Topic Author
Posts: 12
Joined: Tue Jun 11, 2013 6:44 pm

Re: Need help with a redirect loop

Mon Feb 17, 2014 7:46 pm

Got it working. I had to enable transparent Proxy on the Hotspot User Profiles.
 
User avatar
rickfrey
Trainer
Trainer
Posts: 610
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas
Contact:

Re: Need help with a redirect loop

Tue Feb 18, 2014 3:31 am

Awesome!
Launch your company forward with professional training!
http://rickfreyconsulting.com/product-c ... raining-2/

Who is online

Users browsing this forum: amu, eworm, meshnet, sindy and 143 guests