echoby gnosis 日本語

Help / Guides

Test a target behind an IP restriction

You can test a target that only opens from a specific network, VPN or proxy from echo on your own PC. echo uses your PC's VPN and proxy settings as they are, so if your usual browser can open the target, echo can reach it too. If it can't, connect your PC to the VPN or allowed network first.

Which routes echo uses

How you connect Browser tabs Running tests in the app CLI run
The OS VPN Used Used Used
The OS proxy settings (including PAC) Used Used Used
The HTTPS_PROXY / HTTP_PROXY environment variables Not used Not used Not used
The --proxy-server launch argument Used Used Not applicable
  • Put the proxy in the OS settings (on a Mac: System Settings → Network → the network you use → Details → Proxies). echo does not use a proxy that is only set as an environment variable in the terminal.
  • For a target whose name only resolves through the proxy, it can take a while before the test starts (the check that the target is up does not go through the proxy). The test itself reaches the target through the proxy.

The table above was checked on a Mac. Windows, Linux, and running on Firefox or WebKit have not been checked yet.

Connect to a VPN inside echo only (WireGuard)

You can route just the test target through the other side's VPN, without connecting your whole PC. Get a WireGuard config file (.conf) from them (the customer) and import it into echo. echo sets up the VPN inside echo only and does not touch the OS VPN, so other apps and administrator rights are not affected.

  1. Import the config file under a name: gnosis-echo net add customer-vpn --file ./wg0.conf
  2. Add the line net: customer-vpn to the target's project.yaml
  3. Check that it connects: gnosis-echo net check (without a name, it checks the net in project.yaml)
  • For such a target, browser tabs, running tests in the app and the CLI run all go through that connection.
  • The imported content is stored encrypted in echo on this PC. project.yaml holds only the name, so the keys never go into the shared git repository. Each teammate who tests the same target imports their own config file under the same name.
  • Get one config file per person (PC). If two PCs use the same config file, the VPN cannot tell which one to answer, and both keep dropping and reconnecting.
  • Only the destinations in the config file's AllowedIPs go through the VPN. Other destinations use the normal route. Names are resolved with the config file's DNS.
  • If the connection is not imported or the other side does not answer, echo stops before starting the tests and tells you why (it is not counted as a test failure).
  • List connections with gnosis-echo net list, and remove one with gnosis-echo net rm customer-vpn.

If it can't reach the target

  • Check again that your usual browser can open it. After reconnecting the VPN, reload the echo tab.
  • If you need to route echo alone through a company proxy or a jump host, let us know from Report a problem or ask a question.
  • Running while nobody is watching (after you close your PC) is not possible yet.