Non Payment Reminder for USERMANAGER MIKROTIK
I’m assuming that you are already running mikrotik user man (billing system).
I’m assuming that you are already running mikrotik user man (billing system).
/ip pool
add name=NONPAYMENTS ranges=192.168.10.1-192.168.10.20
add name=NONPAYMENTS ranges=192.168.10.1-192.168.10.20
/ip firewall filter
add action=drop chain=forward disabled=no src-address=192.168.10.1-192.168.10.20
add action=drop chain=forward disabled=no src-address=192.168.10.1-192.168.10.20
/ip firewall nat
add action=redirect chain=dstnat comment=\
"\\\\\\ FOR NON-PAYMENT USERS /// KMIRZA.COM" disabled=no dst-port=80 \
protocol=tcp src-address=192.168.10.1-192.168.10.20 to-ports=8080
add action=redirect chain=dstnat comment=\
"\\\\\\ FOR NON-PAYMENT USERS /// KMIRZA.COM" disabled=no dst-port=80 \
protocol=tcp src-address=192.168.10.1-192.168.10.20 to-ports=8080
/ip proxy
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\
600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \
parent-proxy-port=0 port=8080 serialize-connections=no src-address=\
0.0.0.0
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\
600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \
parent-proxy-port=0 port=8080 serialize-connections=no src-address=\
0.0.0.0
/ip proxy access
add action=deny disabled=no dst-port="" redirect-to=192.168.100.100/nonpayment.html src-address=\
192.168.10.1-192.168.10.20
add action=deny disabled=no dst-port="" redirect-to=192.168.100.100/nonpayment.html src-address=\
192.168.10.1-192.168.10.20
after that open userman
yourip/userman
ADD PROFILE
NOW ADD LIMITATIONS use the same pool name which we add before
NONPAYMENTS
Post a Comment