I used to do what you did, but it resulted in many errors on the page as you encountered. Using the web proxy works better but still won't solve your problem completely.
This will redirect all 'deadbeats' to the web proxy, which will then only allow them to your website. /ip firewall address-list add address=192.168.1.5 comment="deadbeat customer who needs to pay!" disabled=no list=deadbeats /ip firewall nat add action=redirect chain=dstnat disabled=no dst-port=80 protocol=tcp src-address-list=deadbeats to-ports=8080 /ip proxy set enabled=yes port=8080 /ip proxy access add action=allow comment="your servers name here" disabled=no dst-host=www.whatever.com add action=allow comment="your servers ip here" disabled=no dst-address=1.2.3.4/24 add action=deny comment="url to redirect them to" disabled=no redirect-to=www.whatever.com/pay_your_bill.html Josh Cheney wrote: > sa...@michianawireless.com wrote: >> Really did not work as planned. Occasionally I would get the page at the >> 1.2.3.4 server but most of the time I would get broken links and partially >> displayed pages? >> > > Well, I can tell you why this is happening. Remember that each image, > each CSS/Javascript include, etc, are all seperate HTTP requests, so if > you are interrupting every fifth request, you are also going to end up > blocking every fifth include (for reference, my twitter page has 54 src > attributes in it, so your rule would break a random 20% of twitter for me). > > So far as how you would accomplish that, perhaps 1.2.3.4 needs to > respond with some javascript to pop up a new window, or force > redirection of the existing window. There is no simple way that I can > see to be able to do what you are trying to do with just Mikrotik rules. > -------------------------------------------------------------------------------- WISPA Wants You! Join today! http://signup.wispa.org/ -------------------------------------------------------------------------------- WISPA Wireless List: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/