Forum Discussion
Danny_Trinh_197
Nimbostratus
Feb 10, 2009Script to include 2 UDP ports: 67 & 68
Hello room,
I saw many script about tcp port. And I try to apply it to UDP port. Below is what I come up, can you verify? if it's not correct, please help me to correct it.
when CLIENT_ACCEPTED {
Check requested port
if { ! (([UDP::local_port] == 67) || [UDP::local_port] == 68)}{
Request was to allowed ports, so goto vdhcp pool
pool vdhcp
}
}
Also, I'm confusing about local_port vs client_port, can any of you give me further definition.
Thanks,
- JRahm
Admin
local_port is context-sensitive, so it changes based on whether the query is in a client-side or server-side event. client_port will always be the client port no matter what event in which the query is used.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects