############## الايبى الاستاتيك ####################### /ppp profile add name=SAS_4_OUT /interface sstp-client add connect-to=sas4.net disabled=yes name=SAS_4_OUT password=1132 profile=SAS_4_OUT user=1132 /ip firewall nat ############## فايروول ####################### /ip firewall address-list remove [find list ="SAS"] remove [find list ="sas_up"] add address=192.168.77.77 list=SAS add address=8.8.8.8 list=SAS add address=8.8.4.4 list=SAS add address=snono.org list=SAS add address=sas4.net list=SAS add address=ip.sas4.net list=SAS add address=4.4.4.4 list=SAS add address=20.0.0.1 list=SAS add address=pro-service.link list=SAS add address=sas-pay.com list=SAS add address=vcheckout.paymobsolutions.com list=SAS add address=app.sas-pay.com list=SAS add address=auto.sas-pay.com list=SAS add address=accept.paymobsolutions.com list=SAS add address=pay.snono-eg.com list=SAS add address=ap.gateway.mastercard.com list=SAS add address=cdnjs.cloudflare.com list=SAS /ip hotspot walled-garden ip add action=accept disabled=no !dst-address dst-address-list=SAS !dst-port !protocol !src-address !src-address-list ## /ip firewall filter add action=drop chain=forward comment=0 dst-address-list=!SAS src-address-list=limit add action=drop chain=forward comment=0 dst-address-list=!SAS src-address-list=END add action=drop chain=forward comment=0 dst-address-list=!SAS src-address-list=PASS move destination=0 [find comment =0] ##### ### /ip firewall nat add action=dst-nat chain=dstnat comment=0 dst-address=20.0.0.1 to-addresses=192.168.77.77 add action=redirect chain=dstnat comment=1 dst-address=4.4.4.4 protocol=tcp to-ports=1981 add action=dst-nat chain=dstnat comment=2 in-interface=SAS_4_OUT protocol=tcp to-addresses=192.168.77.77 add action=redirect chain=dstnat comment=4 dst-address-list=!SAS protocol=tcp src-address-list=END to-ports=1973 add action=redirect chain=dstnat comment=5 dst-address-list=!SAS protocol=tcp src-address-list=PASS to-ports=1975 add action=redirect chain=dstnat comment=6 dst-address-list=!SAS protocol=tcp src-address-list=limit to-ports=1974 add action=accept chain=srcnat dst-address=192.168.77.77 comment=7 add action=accept chain=dstnat dst-address=192.168.77.77 comment=8 add action=masquerade chain=srcnat dst-address=!192.168.77.77 set dst-address=!192.168.77.77 [ find action="masquerade" ] add action=masquerade chain=srcnat out-interface=SAS_4_OUT add action=masquerade chain=srcnat src-address=192.168.77.77 add action=masquerade chain=srcnat comment=3 out-interface=SAS_4_OUT src-address=192.168.77.77 /ip firewall nat move destination=0 [find comment =0] move destination=0 [find comment =1] move destination=0 [find comment =2] move destination=0 [find comment =3] move destination=0 [find comment =4] move destination=0 [find comment =5] move destination=0 [find comment =6] move destination=0 [find comment =7] move destination=0 [find comment =8] move destination=0 [find comment =9] ############## الرسائل اونلاين ####################### /ip proxy set enabled=yes port=1976,1973,1974,1975,1981 /ip proxy access remove [f] add dst-address=192.168.77.77 comment=0 add dst-host=sas4.net comment=1 add dst-host=snono.org comment=2 add dst-address=20.0.0.1 comment=2 add action=deny comment=3 local-port=1975 redirect-to=snono.org/sas4/end.php add action=deny comment=4 local-port=1974 redirect-to=snono.org/sas4/end.php add action=deny comment=5 dst-address=4.4.4.4 redirect-to=snono.org/sas4 add action=deny comment=6 local-port=1973 redirect-to=snono.org/sas4/end.php add action=deny comment=3 local-port=1975 redirect-to=snono.org/user-pro/ add action=deny comment=4 local-port=1974 redirect-to=snono.org/user-pro/ add action=deny comment=5 dst-address=4.4.4.4 redirect-to=snono.org/user-pro/ add action=deny comment=6 local-port=1973 redirect-to=snono.org/user-pro/ move destination=0 [find comment =0] move destination=0 [find comment =1] move destination=0 [find comment =2] move destination=0 [find comment =3] move destination=0 [find comment =4] move destination=0 [find comment =5] move destination=0 [find comment =6] move destination=0 [find comment =7] move destination=0 [find comment =8] move destination=0 [find comment =9] ###############الرسائل البرو ################################### /ip proxy set enabled=yes port=1976,1973,1974,1975,1981 /ip proxy access disable [f] add dst-address=192.168.77.77 comment=0 add dst-host=sas4.net comment=1 add dst-host=snono.org comment=2 add dst-address=20.0.0.1 comment=2 add action=deny comment=5 dst-address=4.4.4.4 redirect-to=snono.org/user-pro/ add action=deny comment=3 local-port=1975 redirect-to=http://snono.org/user-pro/#/pass-user/ add action=deny comment=4 local-port=1974 redirect-to=snono.org/user-pro/ add action=deny comment=4 local-port=1973 redirect-to=snono.org/user-pro/ move destination=0 [find comment =0] move destination=0 [find comment =1] move destination=0 [find comment =2] move destination=0 [find comment =3] move destination=0 [find comment =4] move destination=0 [find comment =5] move destination=0 [find comment =6] move destination=0 [find comment =7] move destination=0 [find comment =8] move destination=0 [find comment =9] ################### جعل صفحة الدفع هى صفحة فصل الخدمة الافتراضية ################################## /ip proxy set enabled=yes port=1976,1973,1974,1975,1981 /ip proxy access disable [f] add dst-address=20.0.0.1 comment=2 add action=deny comment=5 dst-address=4.4.4.4 redirect-to=http://auto.sas-pay.com/ add action=deny comment=3 local-port=1975 redirect-to=http://auto.sas-pay.com/ add action=deny comment=4 local-port=1974 redirect-to=http://auto.sas-pay.com/ add action=deny comment=4 local-port=1973 redirect-to=http://auto.sas-pay.com/ move destination=0 [find comment =0] move destination=0 [find comment =1] move destination=0 [find comment =2] move destination=0 [find comment =3] move destination=0 [find comment =4] move destination=0 [find comment =5] move destination=0 [find comment =6] move destination=0 [find comment =7] move destination=0 [find comment =8] move destination=0 [find comment =9] ####################################################