Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Access/Log-in Application

If user wants to log into the applictions on the EVE device. There are multiple ways to do that using EdgeView. If the application runs SSHd inside, the user can use SSH:

  • first use 'edgeview.sh app' to find out the IP address of the applications, for example two applications and their interface IPs are 10.1.0.130 and 192.168.1.100
  • setup the TCP channel for ssh into both applications: edgeview.sh tcp/10.1.0.130:22/192.168.1.100:22

tcp mapping locally listening 2 ports to remote:
0.0.0.0:9001 -> 10.1.0.130:22

0.0.0.0:9002 -> 192.168.1.100:22

  • assume both applications, has username of 'testing', open two more terminals on your laptop, launch the ssh session on first app with 'ssh testing@localhost -p 9001'; and in another terminal, launch another ssh session with 'ssh testing@localhost -p 9002'

In the above example, the ssh client session targets the laptop with port number 9001 and 9002, which will be virtually connecting to the remote applications 10.1.0.130:22 and 192.168.1.100:22. EdgeView handles all the TCP packets stitching and relaying.

If the application is a VM on EVE device, instead of using SSH, the user can use VNC to connect to the application's console using EdgeView. Assume the two applications as above:

  • first use 'edgeview.sh app' to find out the VNC display ID of the applications. for example, they are 4 and 5 for the applications.
  • setup TCP channel into applications consoles by: edgeview.sh tcp/localhost:5904/localhost:5905

tcp mapping locally listening 2 ports to remote:
0.0.0.0:9001 -> localhost:5904

0.0.0.0:9002 -> localhost:5905

  • open two VNC viewers on the laptop, enter the VNC endpoint for one: 'localhost:9001' and the other 'localhost:9002'.

The reason the 'tcp' command with option to 'localhost:590x' is that, the VNC service is maintained by the EVE Dom0 side 127.0.0.1 with port numbers 590x for application console access.

The above two mappings, on the left side of '→' is the user laptop endpoints, and right side of '→' is the EVE device side endpoints, or the endpoints reachable from the EVE device.

Access TCP Services of Application

...