Forum Discussion
APM - Change the interface name used for VPN-SSL on windows
- Sep 19, 2019
Hello Dave, here are some variable assign examples:
https://devcentral.f5.com/s/articles/apm-variable-assign-examples-1107
Hello Dave
the specific thing si@m trying to do is change the virtual adapter name from _Common_nal_SSLVPN to something like Company_VPN. The syntax I've found to use is
Configuring the access policy to use custom variableTo configure the access policy with a custom variable to specify the name the client uses for the F5 VPN adapter, perform the following procedure:
Impact of workaround: Performing the following procedure should not have a negative impact on your system. However, F5 recommends testing any such changes during a maintenance window with consideration to the possible impact on your specific environment.
- Log in to the BIG-IP Configuration utility.
- Navigate to Access > Profiles / Policies > Access Profiles (Per-Session Policies).
- Note: For versions prior to BIG-IP 13.0.0, navigate to Access Policy > Access Profiles > Access Profiles List.
- Click Edit for the affected access policy to open the Visual Policy Editor.
- On a branch after the Logon policy item but before the resource is assigned, click the (+) icon to add an item.
- Click the Assignment tab.
- Click Variable Assign.
- Click Add Item.
- On the Properties page for the policy item, for Name, type a name for the policy item.
- Click Add new entry.
- Under Assignment click change.
- In the Custom Variable box, enter the following variable name syntax:
- config.connectivity_resource_network_access./Common/<network_access_resource_name>.client.ConnectionTrayIcon
- Note: Replace <network access resource name> with the name of the network access resource.
- In the Custom Expression box, enter the following expression syntax:
- return "</ConnectionTrayIcon><connection_name_txt>F5VPN</connection_name_txt><ConnectionTrayIcon>"
- Note: Replace <connection_name_txt> with the name of the adapter that the client creates.
- Click Finished.
- Click Save.
- Click Close to close the Visual Policy Editor.
- Select the check box next to the access policy you just edited.
- Click Apply Access Policy.
The next time the VPN is established, a new virtual adapter entry is created with the name provided in <connection_name_txt> tag.
so
config.connectivity_resource_network_access./Common/nal_SSLVPN.client.ConnectionTrayIcon
to
return "</ConnectionTrayIcon>Company_VPN<ConnectionTrayIcon>"
is that correct?
Thanks
Hello Dave, yes that sounds correct.
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