Forum Discussion
Creating apptunnels in iRules based on AD information
Hi Rene,
You can't create APM objects with iRules.
One of your options is to create the app tunnels or remote desktop RDP resources upfront. In the servername of the RDP/apptunnel resource assign a session variable per rdp /apptunnel resource (%{session.rdp.variable1}, %{session.rdp.variable2})
At the start of your policy after the AD auth you could perform an AD query for SG_LOCALADMIN_RDP_ and assign the query results to the session variable (session.rdp.variable1, etc).
Trim of the SG_LOCALADMIN_RDP_ part of the variable.
The BIG-IP will query the DNS for the ip address of the RDP resource and will present it to the user.
Another option would be to write an iApp to create the app tunnels from your AD and run the iApp every hour from cron.
Cheers,
Kees
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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