Forum Discussion
IRule error in routing traffic
Hello Gentlemen,
I would like to see if you can help me on an error appears in the following iRule:
when
CLIENT_ACCEPTED {
The error shown is as follows:
01070151:3: Rule [/ Common / Teste_Citrix] error:
line 2: [parse error: syntax PARSE 68 {syntax error in expression "[IP: addr [IP :: client_addr]] equals 10.2.10.0/23": extra tokens at end of expression}] [{[IP :: addr [IP: client_addr]] equals 10.2.10.0/23}]
The goal is that this iRule forwards all traffic from network 10.2.10.0/23 to the pool_citrix2.
Thanks for your help.
Best regards,
Raoni
- nitassEmployeecan you try this?
- Raoni_S__MonteiNimbostratusThank you, now gave no error.
- Raoni_S__MonteiNimbostratusHello
- nitassEmployeei think your irule looks okay. can you add some logging to the irule?
when SERVER_CONNECTED { log local0. "[IP::client_addr]:[TCP::client_port] -> [clientside {IP::local_addr}]:[clientside {TCP::local_port}] -> [IP::remote_addr]:[TCP::remote_port]" }
Recent Discussions
Related Content
* 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