Skip to main content

Tunneling

If you're not able to connect to our VPN service, it is still possible to connect to your virtual device using an SSH tunnel through the AVH proxy. This requires you to setup SSH Keys for authentication.

To create a tunnel, you will want to use the following command:

ssh -M -Ssock -N -f -L [local-port]:[remote-host]:[remote-port]

The arguments for the command are as follows:

  • -M - master mode
  • -Ssock - socket file
  • -N - do not execute a remote command
  • -f - run in the background
  • -L - local port forwarding

You can also use -R for remote port forwarding. This is useful if you want to expose a service running on your local machine to the remote host, like Burp or an internal webserver.