Hi...
I have a web proxy configured correctly and works like a charm, but, there is a computer on that network that I want to exclude from web proxy filtering and I don't want to do it by ip address but by MAC address. How can I do that.
;D
ip proxy direct set numbers=0 src-address=[ /ip arp
get value-name=address number=[find mac-address=00:08:5D:2D:Df:79 ]]
I tested that on 6.7. I don't know how it well it will work on 6.1. Is upgrading an option for you?The script update an entry, but it is in the access function.
Would it be ok to set a dhcp lease as static for that mac address, then use that ip as the filter?
Sorry, I didn't understand what you meant withI tested that on 6.7. I don't know how it well it will work on 6.1. Is upgrading an option for you?The script update an entry, but it is in the access function.
hey guys when trying to set rule in -ip proxy access I got this:No Problem Glad you got it working.
/ip proxy access> set numbers=0 src-address=[/ip arp get value-name=address number=[find mac-address
=40:B3:95:62:EA:E7]]
no such item
Because you have the create the proxy rule first and then this rule will modify it.why??
you did not understand me. I know what that rule does.At the beginning of this thread, someone asked how to they could have someone bypass the proxy that was in place. In this situation, they knew the MAC address, but the IP address was always going to be changing. If they had had the IP address, they would only have needed to put the rule into the proxy. That piece of code, when used with scheduler, allows them to identify the customer via the MAC address and then updates the rule with the correct IP address.