Link Search Menu Expand Document

Testing Access

Table of contents

1. Test connectivity from the device to the Fyde Access Proxy

  • Get the Fyde Access Proxy details from Fyde Enterprise Console

  • Try to open an SSL connection to the proxy and confirm that the first lines reference Fyde Root Certificate Authority

    → openssl s_client -showcerts -servername <proxy_host> -connect <proxy_host>:<proxy_port>
    depth=3 CN = Fyde Root Certificate Authority
    verify error:num=19:self signed certificate in certificate chain
    verify return:1
    depth=3 CN = Fyde Root Certificate Authority
    verify return:1
    depth=2 CN = Fyde Intermediary Certificate Authority
    verify return:1
    depth=1 CN = fyde://xxxx-xxxxxx-xxxx/
    verify return:1
    verify return:1
  • If the request fails or the operation times out, that means you are not reaching the Fyde Access Proxy

  • Check the following:

    • Proxy Host DNS record is being resolved to the correct IP
    • Proxy Host IP, if using IP instead of DNS, is correct
    • NAT configuration in the device/service that is exposing the Fyde Access Proxy
    • Firewall rules to allow inbound communication to the configured Fyde Access Proxy

2. Check if the device is trying to access the Resource with the Fyde App

  • Check the IP for the failing Resource, it should return an IP in the range:

    • for Unix/Linux based Operative systems
    • for Microsoft Operative Systems
    → nslookup myresource.private
    Name: myresource.private
  • Next steps:

    • Confirm that Fyde App is running and the tunnel is started
    • Check that Fyde App is enrolled in a tenant
    • Confirm the Resource is created in Fyde Enterprise Console
    • Resource list update on Fyde App can take up to 15m, force refresh if your Fyde App version allows it

3. Test connectivity from Envoy Proxy to the Resource

  • The Envoy Proxy needs to be able to reach the Resource with the configured properties

  • Take note of the following resource:
    • Resource Name: My Resource
    • Public Host: myresource.private
    • Resource Host: myresource.internal
    • External Port: 80
    • Internal Port: 3000
    • Access Proxy: US-EAST-1-PROXY
  • Envoy Proxy needs to be able to resolve the Resource Host record

    → nslookup myresource.internal
    Name: myresource.internal
  • For an HTTP resource we can send an HTTP request using curl

    → curl myresource.internal:3000
    HTTP/1.1 200 OK
  • For a redis resource we can connect using netcat

    → nc myresource.internal 3000
  • Next steps:

    • Check that the DNS server is correctly configured
    • Confirm that intermediate firewall rules are not blocking access to the Resource
    • For HTTPS connection, the Public Host needs to match the configured hostname in the resource certificate, however the Resource Host just needs to be something the Fyde Access Proxy is able to resolve and access
    • Check more steps by platform below