IT Notes: Difference between revisions

From MAGLab
Jump to navigation Jump to search
m (→‎MAG Laboratory IT Services: Added wireguard VPN)
Line 61: Line 61:
|Camera 2 Low Bandwidth
|Camera 2 Low Bandwidth
|<code>rtsp://maglab:[email protected]:8554/Camera2_sub</code>
|<code>rtsp://maglab:[email protected]:8554/Camera2_sub</code>
|}
=== Wireguard ===
Wireguard is the name of a VPN solution which requires MAG Laboratory to pre-define IP addresses for VPN users.
These addresses are on the <code>192.168.128.0/24</code> subnet.
The following addresses are already assigned:
{| class=wikitable
!Address
!Assignment
|-
|.1
|WG server
|-
|.2
|[[User:Blu|Brandon]]'s laptop
|-
|.3
|Richard's laptop
|-
|.4
|[[User:Blu|Brandon]]'s phone
|}
|}



Revision as of 11:58, 3 August 2022

These are notes that somebody told User:Blu to create.

Accounts on MAG Laboratory

Getting an account on this wiki is meant to be difficult. todo: image here

The normal account creation path would be to create an account on the MAG Laboratory "Members Only" section. Currently, this functionality is broken.

Please e-mail either the contact at maglaboratory or the webdev at maglaboratory to ask for a wiki account. It is also possible to DM in an appropriate managed social media account.

MAG Laboratory IT Services

Below is a directory of common services that may be used on the MAG Laboratory intranet and a copy of our certificate authority (CA) public key. You may want to install the CA on your computer to automatically trust signed MAG Laboratory intranet services.

Google Drive Link to MAG Laboratory CA Public Key

Before that, please ask for the default MAG Laboratory credentials to access anything on publicly available at the MAG Laboratory. Most services will be locked behind the default credentials.

3D Printer

The 3d printer is running a version of octoprint and can be accessed at the link below.

Creality.MAGLab

Intranet Speed Test

The intranet speed test can be accessed at the link below. Remember that it only tests the link between your computer and the MAG Laboratory service host, not the internet.

Librespeed.MAGLab

Grafana

Intranet users may be interested in the status of MAG Laboratory's HAL or other devices on the intranet. All Grafana dashboards are set for public viewability. Follow the link below:

Grafana on Jane

Mattermost

Intranet makerspace task organization, checklist, and chat client

Mattermost on Wailord

Nextcloud

Intranet file storage and sharing server. Runs Nextcloud. Similar to Google Drive?

Nextcloud

Outside Cameras

These cameras should be accessed through VLC or another RTSP compatible player. The original camera streams are mirrored and should be viewed through the listed mirror below.

Note: that the default streams are at a rather large resolution. Select the substreams if desired.

Camera URL
Camera 1 rtsp://maglab:[email protected]:8554/Camera1
Camera 1 Low Bandwidth rtsp://maglab:[email protected]:8554/Camera1_sub
Camera 2 rtsp://maglab:[email protected]:8554/Camera2
Camera 2 Low Bandwidth rtsp://maglab:[email protected]:8554/Camera2_sub

Wireguard

Wireguard is the name of a VPN solution which requires MAG Laboratory to pre-define IP addresses for VPN users.

These addresses are on the 192.168.128.0/24 subnet.

The following addresses are already assigned:

Address Assignment
.1 WG server
.2 Brandon's laptop
.3 Richard's laptop
.4 Brandon's phone

IP Assignment on the MAG Laboratory Network

The local DHCP only assigns IP addresses from 192.168.254.100 to 192.168.254.245. Addresses below 100 are assigned statically by the DHCP and are listed here:

Note that the local DNS assigns addresses to *.maglab. This makes it so that you should find the router under router.maglab.

The Routers

IP Name Comment
.1 router CARP address for the HA router cluster.
.2 switch The PowerConnect 2724 switch mounted on the MAG Lab wall.
.3 router-front Wifi for the front of the space
.4 wifi Wifi for the back of the space
.5 router The router and source of network services.
.6 opnsense01 The backup router and source of backup concurrent services.

The MAG Lab Machines

IP Name Comment
.10 Proxmox The hosting for containers and VMs on the network.
.11 Toaster The computer sitting in the electronics room.
.12 MAGLAB-CRYZEN The computer in the conference room.
.13 proxmox01 Second container and VM host.
.14 proxmox02 Third container and VM host. Why do we need CEPH again?

The Internet of Trash and Single-Board Computers

IP Name Comment
.20 hal Host of the front display and most makerspace monitoring services.
.21 daisy Host of back-of-space makerspace monitoring services.
.23 creality Octoprint server for the creality 3d printer
.24 george Local GPS disciplined, Stratum 1 NTP time server
.25 Camera1 Security Camera
.26 Camera2 Security Camera
.27 iiip Octoprint server for the iiip 3d printer

Containers

IP Name Comment
.50 thelog Makerspace log aggregator
.51 connor Security camera recorder and mirror
.52 jane Makerspace Grafana server
.53 graylog Makerspace graylog server
.54 librespeed Makerspace wifi speed testing aid
.55 swarm-host Single board computer netboot server
.56 wailord Why are you running docker inside lxc???

Hosts the mattermost makerspace kanban boards.

.57 stor Makerspace local nextcloud
.58 wireguard VPN for the weirdos who keep asking Brandon to access the makerspace remotely

Virtual Machines and Cluster

IP addresses 192.168.254.64/27.

IP Name Comment
.64 debianct0 Hosted on proxmox01
.65 virtualDebian Hosted on Proxmox
.66 cryDebian Hosted on MAGLAB-CRYZEN
.67 toastDebian Hosted on Toaster

Notes on Migration and Configuration

The goal is for the actual configuration files (minus secrets) to be stored at https://github.com/MAGLaboratory/miscellaneous-scripts while specific instructions such as directory ownership are described in this section.

Connor

VSFTP is very picky about home chroot permissions and will exit with 500 OOPS: vsftpd: refusing to run with writable root inside chroot() if the chroot is writeable.