Hacklab 2.0 Infrastructure: Difference between revisions

From Hacklab.TO Public Wiki
Jump to navigation Jump to search
(Created page with "Below is described Hacklab 2.0 (1266 Queen St. W.) infrastructure as of Jan 2019. = Overview = Hacklab.to is hosted in the Netherlands by Paul. The [http://hacklab.to mai...")
 
No edit summary
Line 3: Line 3:
= Overview =
= Overview =
[[Hacklab.to]] is hosted in the Netherlands by Paul. The [http://hacklab.to main webpage] / blog is powered by Wordpress, a content management system (CMS). Those familiar with Wordpress usage will know where to find the login page. After logging in with your usual Hacklab Credentials, you can make changes to the public website.
[[Hacklab.to]] is hosted in the Netherlands by Paul. The [http://hacklab.to main webpage] / blog is powered by Wordpress, a content management system (CMS). Those familiar with Wordpress usage will know where to find the login page. After logging in with your usual Hacklab Credentials, you can make changes to the public website.
= Lab Network =
The lab internal network is accessible to members via the members only Wifi, or by connecting to an Ethernet cable. The subnet is 192.168.111.0/24, meaning all of the IP addresses inside the lab's network will be like 192.168.111.xxx. The DHCP server is responsible for dynamically assigning addresses to devices.


= LDAP =
= LDAP =
Line 9: Line 12:
= Hacklab.to Blog =
= Hacklab.to Blog =
The blog (the public facing website) uses a Wordpress plugin to check [[#LDAP|LDAP]] credentials of users trying to log in. The LDAP in Wordpress is set to localhost, which is just a passthough for the master LDAP which is hosted at the actual Hacklab premises (accessible though [shell.hacklab.to]).
The blog (the public facing website) uses a Wordpress plugin to check [[#LDAP|LDAP]] credentials of users trying to log in. The LDAP in Wordpress is set to localhost, which is just a passthough for the master LDAP which is hosted at the actual Hacklab premises (accessible though [shell.hacklab.to]).
= The Wikis =
The [knowledge.hacklab.to public] and [wiki.hacklab.to private] wikis are hosted in the Netherlands.


= DNS =
= DNS =
The Domain Name System is how computers find each other's IP address from their name. The current name for the on-premises Hacklab server is [shell.hacklab.to], which currently points to the power usage monitor through NAT (Network Address Translation).
The Domain Name System is how computers find each other's IP address from their name. The current name for the on-premises Hacklab server is [shell.hacklab.to], which currently points to the power usage monitor through NAT (Network Address Translation). A local DNS server in the lab at [dns.hacklab.to] takes care of the internal lab network, for devices such as [laser.hacklab.to]. We are changing the internal domains to a new format like this: [laser.in.hacklab.to]. The external / public DNS records are served by Paul's nameserver in the Netherlands, but we still have control over the root DNS records.


= Accessing the Lab Network from outside the Lab =
= Accessing the Lab Network from outside the Lab =

Revision as of 07:54, 16 January 2019

Below is described Hacklab 2.0 (1266 Queen St. W.) infrastructure as of Jan 2019.

Overview

Hacklab.to is hosted in the Netherlands by Paul. The main webpage / blog is powered by Wordpress, a content management system (CMS). Those familiar with Wordpress usage will know where to find the login page. After logging in with your usual Hacklab Credentials, you can make changes to the public website.

Lab Network

The lab internal network is accessible to members via the members only Wifi, or by connecting to an Ethernet cable. The subnet is 192.168.111.0/24, meaning all of the IP addresses inside the lab's network will be like 192.168.111.xxx. The DHCP server is responsible for dynamically assigning addresses to devices.

LDAP

Lightweight Directory Access Protocol (LDAP) is how the lab keeps track of members and allows them to log in everywhere with the same credentials. It's a little harder to use than just a simple MySQL database of users, but it already integrates smoothly into many different software products so we continue to use it.

Hacklab.to Blog

The blog (the public facing website) uses a Wordpress plugin to check LDAP credentials of users trying to log in. The LDAP in Wordpress is set to localhost, which is just a passthough for the master LDAP which is hosted at the actual Hacklab premises (accessible though [shell.hacklab.to]).

The Wikis

The [knowledge.hacklab.to public] and [wiki.hacklab.to private] wikis are hosted in the Netherlands.

DNS

The Domain Name System is how computers find each other's IP address from their name. The current name for the on-premises Hacklab server is [shell.hacklab.to], which currently points to the power usage monitor through NAT (Network Address Translation). A local DNS server in the lab at [dns.hacklab.to] takes care of the internal lab network, for devices such as [laser.hacklab.to]. We are changing the internal domains to a new format like this: [laser.in.hacklab.to]. The external / public DNS records are served by Paul's nameserver in the Netherlands, but we still have control over the root DNS records.

Accessing the Lab Network from outside the Lab

Normally, the Lab's internal network can only be accessed from inside the lab, by connecting to the members only Wifi or plugging into an ethernet cable. We are hoping to set up a virtual private network (VPN) in Hacklab 3.0. In the meantime, you can ssh tunnel into the lab network.