Accessing OSUOSL testing istances

Contact information

Owner: GNOME Sysadmin Team, GNOME Websites Team

Machines: gnome-testing01.osuosl.test, gnome-testing01.osuosl.test

Contact: #sysadmin

Persons: AndreaVeri

Purpose: Connecting to OSUOSL's VPN for accessing GNOME testing boxes.

Description

This SOP explains how to connect to the OSUOSL's VPN for managing and accessing GNOME's testing istances at OSU OSL. (Supercell's hosting program)

Action

Steps for connecting to the OSUOSL's VPN:

Note: The VPN host you should use is funnel.osuosl.org and not vpn.osuosl.org.

  1. Request a login certificate from the GNOME Sysadmin Team. (You can ping AndreaVeri for having it generated)

  2. Install the openvpn package (apt-get install openvpn or yum install openvpn). If you want to use NetworkManager instead, make sure you install the NetworkManager-openvpn (on Fedora, while Ubuntu has network-manager-openvpn) package.

  3. If you plan to connect through your command line, use the following client.conf and do openvpn --config client.conf on /etc/openvpn. Make sure to change the name of the certificates you're going to use. On the attachment, they are called client.{key,crt}. Make also sure to download the CA certificate from ca.crt. (ideally you can setup the certificates directly on the /etc/openvpn folder, otherwise specify their full path on the client.conf file.

  4. If you plan to use NetworkManager, you can find a detailed guide here.

  5. Open your /etc/resolv.conf file and add nameserver 10.20.0.1. (Put this entry on the top of the /etc/resolv.conf file)

  6. Connect to the testing machines through SSH with ssh gnome-testing01.osuosl.test or ssh gnome-testing02.osuosl.test.

Additional steps for the GNOME Websites Team

The testing websites are reachable behind the VPN through:

  1. wordpress.gnome-testing01.osuosl.org
  2. git.gnome-testing01.osuosl.org
  3. osem.gnome-testing01.osuosl.org

Or publicly at:

  1. gnome-testing01.sc.osuosl.org (OSEM)
  2. wordpress.gnome-testing01.sc.osuosl.org (Wordpress istance)
  3. wordpress2.gnome-testing01.sc.osuosl.org (Wordpress istance)
  4. git.gnome-testing01.sc.osuosl.org (Cgit istance)

Since we're running them behind a VPN, make sure your /etc/hosts file contains:

10.20.0.204     wordpress.gnome-testing01.osuosl.org
10.20.0.204     wordpress2.gnome-testing01.osuosl.org
10.20.0.204     git.gnome-testing01.osuosl.org
10.20.0.204     osem.gnome-testing01.osuosl.org

Cloning repositories can be done this way:

  1. Connect to the VPN.
  2. Run git clone ssh://yourusername@git.gnome-testing01.osuosl.org/git/gnome-web for the gnome-grass theme repository.

  3. Run git clone ssh://yourusername@git.gnome-testing01.osuosl.org/git/cgit-web for the cgit's theme.

  4. Wait for the hooks to run and update the relevant themes.

Infrastructure/Archive/VPNConnectionOSUOSL (last edited 2020-11-04 13:58:20 by AndreaVeri)