Virtual environment: Difference between revisions

From Testar
Jump to navigation Jump to search
Created page with "== Virtual Environment @ UPV== <graphviz> digraph G { subgraph cluster_0 { style=filled; color=lightgrey; node [style=filled,color=white]; switch2_0 -> routertest..."
 
m Added OpenVPN client configuration generations instructions
Line 1: Line 1:
== Virtual Environment @ UPV==
==Virtual Environment @ UPV==
 




Line 49: Line 48:


</graphviz>
</graphviz>
=== OpenVPN Client configuration ===
On the <code>routertestar.dsic.upv.es</code> and <code>routertestaq.dsic.upv.es</code> an OpenVPN server is installed. Users can connect to one of the routers via OpenVPN. A user certificate needs to be created and added to an OpenVPN client configuration. To create a OpenVPN client configuration please follow the following steps:
<br />
# Log into routertestar.dsic.upv.es
# Become root
# Read the OpenVPN CA password in /root/testar-ca-key-password.txt
# Run the following command: <code>openvpn-users.sh</code>
# Follow the instructions of the script and give the CA password when asked. 2 OpenVPN configuration files will be created and the certificates will be distibuted to the 2 testar routers
# Copy the generated OpenVPN configurations files from the /root/ directory to your own computer with scp/winscp
# Distribute the OpenVPN configuration files to the end user, so they can import this in their OpenVPN client.

Revision as of 22:00, 9 October 2019

Virtual Environment @ UPV

OpenVPN Client configuration

On the routertestar.dsic.upv.es and routertestaq.dsic.upv.es an OpenVPN server is installed. Users can connect to one of the routers via OpenVPN. A user certificate needs to be created and added to an OpenVPN client configuration. To create a OpenVPN client configuration please follow the following steps:

  1. Log into routertestar.dsic.upv.es
  2. Become root
  3. Read the OpenVPN CA password in /root/testar-ca-key-password.txt
  4. Run the following command: openvpn-users.sh
  5. Follow the instructions of the script and give the CA password when asked. 2 OpenVPN configuration files will be created and the certificates will be distibuted to the 2 testar routers
  6. Copy the generated OpenVPN configurations files from the /root/ directory to your own computer with scp/winscp
  7. Distribute the OpenVPN configuration files to the end user, so they can import this in their OpenVPN client.