The University of Arizona
    For questions, please open a UAService ticket and assign to the Tools Team.
Page tree
Skip to end of metadata
Go to start of metadata

A VPN service (Virtual Private Network) is available for HPC, primarily for applications that cannot navigate the bastion host for visualization, and because the performance is frequently better than tunneling through the Bastion host.

This can be an option to using the OnDemand Desktop, which is generally easier to use than the VPN.

A VPN provides a secure connection from you home computer, laptop or mobile device to the HPC network in this case.
This example is on a MAC.

  1.  Access the VPN.  This example uses the Cisco AnyConnect Client
    Enter "" in the Connect field. Then choose Connect and authenticate.

  2. From your terminal window (designated window #1)

  3. From another terminal window (window #2), use the ipconfig (Windows) / ifconfig (Mac) command and look for the IP address that was established for this connection.  In this example:

    $ ifconfig
    utun1: flags=80d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1406
    	inet --> netmask 0xffffffe0 
  4. On the MAC open XQuartz which is an open-source X11 application that ships with OS X

  5.  On window #1 enter the following command using the IP address from step 3.

    export DISPLAY=

  6. On the XQuartz window that opened enter "xhost +IP" where IP is the IP on window #1, found with ifconfig.  In the example below it is which is NOT the same IP you used in step 5.  You are effectively connecting the two ends of a tunnel together.

    netid@login2 ]$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0E:1E:A1:39:40 
              inet addr:  Bcast:  Mask:

  7. On window #1 as a test, enter "xterm".  Over on the XQuartz window the prompt should change to "netid@login"
    Ctl-C will cancel this session.
  8. As a simple application example, enter "firefox".  At this point you can invoke the command to open your application.
    You can use the scheduler at invoke an interactive session with "qsub -I" (Last letter is a capital 'eye').
    More details are at this link
  • No labels