Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regex

Hi,

I would like to create a web exception by regex for a specific Facebook page and its content

As easy as this sounds I am having trouble with the regex I built:

^([A-Za-z0-9.-]*\.)?facebook\.com\/xxx\/([A-Za-z0-9]*)

I would appreciate if anyone can tell me what I am doing wrong.  

^([A-Za-z0-9.-]*\.)?facebook\.com\.?/



This thread was automatically locked due to age.
Parents Reply
  • Try out

    • ^([a-zA-Z0-9.-]*\.)?facebook\.com\.?/FinductiveLtd*

    Also, are you doing TLS Decryption ? If you're not decrypting the traffic, the firewall won't be able to do this exception.


    If a post solves your question use the 'Verify Answer' button.

    Ryzen 5600U + I226-V (KVM) v21 EAP @ Home

    Sophos ZTNA (KVM) @ Home

Children
  • @prism we are not decrypting the traffic.  Then this must be the root cause.  

  • Well, that explain why your exceptions didn't worked before.

    Without decrypting the traffic the firewall will only be able to see the SNI "www.facebook.com", in order to see the full URL Path you will need to decrypt the TLS connection.

    Are you on v18 or v17.5 ?


    If a post solves your question use the 'Verify Answer' button.

    Ryzen 5600U + I226-V (KVM) v21 EAP @ Home

    Sophos ZTNA (KVM) @ Home

  • we are on SFOS 18.0.4 MR-4.  The issue with decryption is that all internet traffic was being returned

    as NET::ERR_CERT_AUTHORITY_INVALID

  • You need to import the Certificate Authority on every machine where TLS traffic will be decrypted.

    You can get more information on this Article.

    Also, if all machines are connected to Active Directory, you can import to all of them at the same time. (I believe the Article also covers this.)


    If a post solves your question use the 'Verify Answer' button.

    Ryzen 5600U + I226-V (KVM) v21 EAP @ Home

    Sophos ZTNA (KVM) @ Home