Community discussions

MUM Europe 2020
 
rkorolev
newbie
Topic Author
Posts: 43
Joined: Tue Oct 23, 2007 1:49 pm

Redirect HTTP for PPPoE users with radius attribute

Thu Jun 25, 2009 5:22 pm

Hello.
For users with negative balace we just supply "Filter-Id" attribute for PPPoE users with an ACL, that blocks all, but stats/news websites and DNS server, but sometimes they do not want to visit such sites and prefer to call tech.support with questions like "why my favourite website doesn't open".
But I'd like to add something like redirect, so users are ALWAYS redirected to stats server if they have negative balance.
Is it possible to do this?
I've tried "Mikrotik-Advertise-URL", but I think it's work only in a hotspot setup and not PPPoE.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8320
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Redirect HTTP for PPPoE users with radius attribute

Thu Jun 25, 2009 8:36 pm

hmmm... what's with DST-NAT for blocked users?
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
rkorolev
newbie
Topic Author
Posts: 43
Joined: Tue Oct 23, 2007 1:49 pm

Re: Redirect HTTP for PPPoE users with radius attribute

Fri Jun 26, 2009 8:05 am

I'm thinking about it, but how can I make dst-nat for only specific users?
Set up a chain which will be used as "Filter-Id" and set action to "jump=dstnat" - will this work?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8320
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Redirect HTTP for PPPoE users with radius attribute

Fri Jun 26, 2009 3:37 pm

oops... but you may assign addresses from different IP pool, and redirect only those customers
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.

Who is online

Users browsing this forum: No registered users and 75 guests