notification ended user

hi
I want to redirect all cliets after 30 days to web-page for notifie the client is ended his account :

I’m use this configuration:

/ppp profile 
add name=ended local-address=10.0.1.1 remote-address=pool-ended dns-server=10.0.1.1

/ppp secters set {user id} profile=ended

/ip pool add name=pool-ended addresses=10.0.1.10-10.0.1.100

/ip dns
set primary-dns=10.0.0.1 (external router d'link)
set allow-remote-requests=yes

/ip dns static 
add name=server.hdp address=10.1.0.1 (external web-hosting, not real ip[its only for my clients])

/ip firewall nat
add chain=dstnat src-address=10.0.1.0/24 protocol=tcp action=redirect to port 8080

/ip web-proxy
set enabled=yes port=8080

/ip proxy access
add src-address=10.0.1.0/24 action=deny redirect-to="server.hdp/ended"

is not work
the request is “page not fund”
wht is the problem. Help me please

I’m use the configuration for DHSP redirect to page “server.hdp/DHCP”. its working :confused: :confused: :confused:

what happens when you manually browse to “server.hdp/ended” from your own PC (as long as your PC can see your server ‘server.hdp’ of course) - does it work for you? What page is really displayed? If ‘ended’ is a folder, then you need to directly point to the exact filename of the we page that you have created to tell your customer to pay his bill. For example:

/ip proxy access
add src-address=10.0.1.0/24 action=deny redirect-to="server.hdp/ended/index.html"

I browsing “server.hdp/ended” is open the page normal because my pc is in the same range but not all client have the same range of ip. so I make local address and remote address for the pppoe in the range of the “server.hdp” and the dns in profile-pppoe is the ip of the server. but is not work and I don’t know why :confused: :confused: :confused:

OK, but you must still ensure you have entered the correct and exact html page name for the proxy to redirect the deny request to and NOT just the folder. Try that and then let me know how it works?

:sunglasses: ok his working :wink: thanks

No problem!