Community discussions

MikroTik App
 
ferdinandbabst
newbie
Topic Author
Posts: 31
Joined: Thu Dec 11, 2008 12:51 pm

Firewall Rules

Thu Sep 16, 2010 10:33 am

Hi

Im using Freeradius with Mikrotik. I have created a PPPoE server with two profiles, one for active users and one for capped users. when a user is capped the Freeradius via Mikrotik puts the user in a specified profile and browsing, mail etc stops working. This all works perfect
I added in the firewal rule for capped users to only be able to open a specific website when they are capped so that they can topup and buy additional bandwidth. I created a local DNS server entry for the weburl/IP and the filter rule is as follows:

chain=forward action=drop protocol=tcp src-address=172.15.1.0/24
dst-address=!196.31.130.66

This rule works great when a user types in the specific url in his browser, however, my question is, what rule can i add on the Mikrotik that when a user types any url on his browser, the Mikrotik immediately redirects all http traffic to 196.31.130.66

the reason for this is that when a user is capped i want all http traffic to go to the splashpage of my server so the user can topup.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Firewall Rules

Thu Sep 16, 2010 11:08 am

For that you need to use webproxy
 
ferdinandbabst
newbie
Topic Author
Posts: 31
Joined: Thu Dec 11, 2008 12:51 pm

Re: Firewall Rules

Thu Sep 16, 2010 12:14 pm

Thanks

I did play with the rules but no joy.

can you perhaps give some detail as to how to configure this. i have never used web proxy before
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Firewall Rules

Thu Sep 16, 2010 3:09 pm

Who is online

Users browsing this forum: No registered users and 67 guests