Forum Discussion

Lovleen_Arora's avatar
Lovleen_Arora
Icon for Nimbostratus rankNimbostratus
Nov 05, 2018

F5 Access Policy for F5 VPN - Allow requests only to DNS name

Hi, We have remote access VPN terminated on the F5 device, via Access policy. We need to stop users from connecting to the public IP, and only allow users through if they are typing in correct dns name in their browser or F5 edge client. I believe i can write up an irule and bind it to the Vserver referenced under the Access Policy. Is there a better way to achieve this. Thanks in advance. Lovleen

 

  • Hi,

    In access policy, you can add a empty box with one branch with expression

    expr {[ mcget {session.server.network.name}] == "myapp.company.com"}