PPPOE Payment Reminders issue....

Hello Everyone,


I am trying to enable payment alert for my PPPOE users. I use a DMA SoftLab RADIUS Server and CCR 1036 as my NAS. I setup the reminder page on one of my servers and I configured my CCR as follows. I created a pool for expired users and i.e 172.16.220.0/24. I see my customer getting a ip from expired pool.

when I browse with ip address of the website I am able to reach my Payment_Reminder page. But when I browse with url name Its not resolving.

http://www.google.com - does nt work
216.58.220.46 - works

/ip firewall address-list> add address=172.20.220.0/24 list=payment_reminder
ip firewall nat
add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080 src-address-list=payment_reminder
add chain=dstnat protocol=tcp dst-port=443 action=redirect to-ports=8080 src-address-list=payment_reminder

/ip firewall filter
add chain=forward src-address-list=payment_reminder protocol=udp dst-port=53 action=accept
add chain=forward dst-address-list=payment_reminder protocol=udp src-port=53 action=accept
add chain=forward src-address-list=payment_reminder action=drop

/ip proxy set enabled=yes
/ip proxy access
add action=allow disabled=no dst-address=17x.xx.xx.xx
add action=deny disabled=no redirect-to=“http://17x.xx.xx.xx/payment-reminder.html

Need your help and thanks in advance.


Regards,
Srikanth

Hello,

I even tried with following configuration. Still does not work.

/ip firewall nat
add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080 src-address=172.16.220.0/24
add chain=dstnat protocol=tcp dst-port=443 action=redirect to-ports=8080 src-address=172.16.220.0/24

/ip firewall filter
add chain=forward src-address=172.16.220.0/24 protocol=udp dst-port=53 action=accept
add chain=forward dst-address=172.16.220.0/24 protocol=udp src-port=53 action=accept
add chain=forward src-address=172.16.220.0/24 action=drop

use cisco and forgot all this problems :slight_smile:

before cisco and after cisco !

Thank you…But Sorry, not interested… :smiley:

Nailed it. it only works when forward the expired pool

/ip firewall nat
add chain=srcnat action=masquerade src-address=172.16.220.0/24

otherwise DNS wont be resolved.. Please let me know if there is a flaw…

any update on this if successful?