Community discussions

MikroTik App
 
Robotics909
just joined
Topic Author
Posts: 18
Joined: Wed Oct 31, 2012 5:14 pm

How can I add the PCC rule (EXEMPT IP FROM THE PCC RULE)

Mon Dec 03, 2012 6:33 pm

Important: Move this rule above of other PCC rules, so it will accept the data before PCC catches it.
=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x=x
To Exempt Any User IP from PCC Rule,
/ip firewall address-list
add list=usere-exempted-from-pcc address=172.16.0.2/32
Now create Mangle Rule to accept traffic from above list, then PCC will not precess this user ip address , and Mikrotik will use the Default route for this user Traffic. (We will add it later)


Example:
/ip firewall mangle
add action=accept chain=prerouting disabled=no src-address-list=user-exempted-from-pcc



Adding Route for Un-Marked Traffic
You have to add Default ROUTE rule to tell Mikrotik to use this ROUTE as default route for all other UNMARKED traffic not processed / marked by the PCC. and in this route, you can bind exempted traffic request to always go through Specific Link only.
/ip route
add comment=”Default Route For Un-Marked Traffic” disabled=no distance=3 dst-address=0.0.0.0/0 gateway=101.11.11.36 scope=30 target-scope=10


HOW CAN I ADD WAN1 PACKETS MARKED BY PCC. WHAT IS SCRIPT FOR THAT.
You do not have the required permissions to view the files attached to this post.
 
GavinLuke
just joined
Posts: 1
Joined: Mon Mar 11, 2013 12:26 pm

Re: How can I add the PCC rule (EXEMPT IP FROM THE PCC RULE

Mon Mar 11, 2013 12:31 pm

I will definitely try to use it but i did not understand about the ppc address please specify more.