Forum Discussion
Egbert_Bryant_1
Nimbostratus
Oct 04, 2006TCP Port Redirect
I am trying to write the following rules and I am getting errors on line 1, 6, and 10. please let me know what I am doing wrong.
class ports {
80
443
}
when CLIENT_A...
Deb_Allen_18
Oct 04, 2006Historic F5 Account
You'll also need to use global variable syntax to reference a class, as classes are global constructs:
when CLIENT_ACCEPTED {
if {[matchclass [TCP::client_port ] equals $::ports]}{
node 167.206.169.130
} else {
discard
}
}/deb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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