# edge

Proxmox instance running virtualized network infrastructure.

# Physical Hardware

<img src="https://bookstack.swigg.net/uploads/images/gallery/2021-03/scaled-1680-/mini-pc.png" class="machine" style="margin: -0.5em" />

## Basic Components

This is a Mini PC purchased from AliExpress to act as a router/firewall. It only provides expansion through USB and focuses more on power efficiency than raw performance. This allows it to run without any fan for cooling.

### Compute

#### Processor

[Intel Pentium N4200](https://ark.intel.com/content/www/us/en/ark/products/95592/intel-pentium-processor-n4200-2m-cache-up-to-2-5-ghz.html) - Provides excellent mix between performance and efficiency using only 6W.

<span class="vertical-table">

| | |
|-|-|
| Cores / Threads | 4 / 4 |
| Base Frequency | 1.1 GHz |
| Burst Frequency | 2.5 GHz |
| Cache | 2MB L2 Cache |
| TDP | 6W |

</span>

#### GPU

<span class="vertical-table">
  
Integrated Intel HD Graphics 505

| | |
|-|-|
| Base Frequency | 200 MHz |
| Burst Frequency | 750 MHz |
| Max Memory | 8GB |
| QuickSync Video | Yes |

</span>

### Motherboard

<span class="vertical-table">

| | |
|-|-|
| Form Factor | Proprietary |
| CPU | Soldered Intel Pentium N4200 |
| Chipset | unknown |
| Memory | 1x DDR3L 1866MHz SODIMM, 1.35V, Max 8GB |
| Video | 1x HDMI |
| Networking | 4x Intel i211AT 1GbE |
| PCI | none |
| Storage | <ul style="list-style-type: none; margin: 0px; padding: 0px;"><li>1x mSATA</li><li>1x SATA</li></ul> |
| USB | <ul style="list-style-type: none; margin: 0px; padding: 0px;"><li>4x External USB 2.0 (Type-A)</li><li>2x External USB 3.0 (Type-A)</li><li>1x Internal USB 2.0 (mPCIe)</li></ul> |
| COM | 1*RS232 |

</span>

### Memory

<span class="vertical-table">

| | |
|-|-|
| Slot 1 <img src="https://bookstack.swigg.net/uploads/images/gallery/2021-03/scaled-1680-/timetec-ddr3-1866.png" class="hardware" /> | Timetec Hynix IC 8GB DDR3L 1866MHz (1x8GB) <br /> <ul><li>2Rx8 Dual Rank</li><li>CAS Latency 13</li><li>1.35V</li></ul> |

</span>

### Case

n/a
  
### Storage
  
<span class="vertical-table">

| | |
|-|-|
| SATA1 <img src="https://bookstack.swigg.net/uploads/images/gallery/2021-03/scaled-1680-/dogfish-ssd.png" class="hardware" /> | Dogfish 128GB mSATA MLC SSD |
| SATA2 <img src="https://bookstack.swigg.net/uploads/images/gallery/2021-03/scaled-1680-/inland-ssd-120gb.png" class="hardware" /> | Inland Professional 120GB SATA MLC SSD

</span>

### Cooling

n/a

### Power Supply

n/a

<img src="https://content.syndigo.com/asset/de39cdbe-e55f-42b5-b917-c47eaaedab69/960.png" class="machine" />

### UPS

<span class="vertical-table">

| | |
|-|-|
| Manufacturer | APC |
| Model | [Back UPS PRO BN-M2 1500VA](https://www.apc.com/shop/us/en/products/Back-UPS-PRO-BN-1500VA-10-Outlets-2-USB-Charging-Ports-AVR-LCD-interface/P-BN1500M2)|
  | Features | <ul><li>900Watts / 1.5kVA</li><li>6x Batter backed outlets</li><li>4x Surge outlets</li></ul>
  
</span>

## Add-On Cards
------------
  
n/a

# Base Install

## Operating System
---------------------

[Proxmox Virtual Environment](https://www.proxmox.com/en/) 6.x 

## Configuration

<p class="callout info">Proxmox configuration has been transitioned to being automated by an <a href="https://gitlab.swigg.net/dustins/ansible/-/blob/master/proxmox.yml">Ansible Role</a></p>

# LXC / ember

<img src="https://upload.wikimedia.org/wikipedia/commons/0/04/Debian_logo.png" class="machine hardware" />

## Description

LXC container acting as a router/firewall. You can read more about how it is setup at [Project Router](https://bookstack.swigg.net/books/project-router).

## Configuration

### Resources
| Hostname | CPU    | Memory |
|----------|--------|--------|
| ember    | 4 vCPU | 2048MB |

### Storage

| Mount Point | Source | Mount Path | Size | Options |
|-------------|--------|------------|------|---------|
| rootfs | apool-zfs:subvol-100-disk-0 | / | 2GB | noatime |

### Networking

### Interfaces

| ID | Type | Name | Link | IPv4 Address | IPv6 Address | Description |
|----|------|------|------|--------------|--------------|-------------|
| net0 | physical | eth0 | enp1s0 | DHCP | DHCPv6 | WAN |
| net1 | bridge | eth1 | vmbr0 | - | - | LAN

### Installed Software

# LXC / pihole

<img src="https://upload.wikimedia.org/wikipedia/en/thumb/1/15/Pi-hole_vector_logo.svg/1200px-Pi-hole_vector_logo.svg.png" class="machine hardware" />

## Description

A LXC container running [Pi-Hole](https://pi-hole.net/) to provide DNS caching and advertisement blocking.

## Configuration

### Resources

| Hostname | CPU    | Memory |
|----------|--------|--------|
| backup   | 2 vCPU | 512MB |

### Storage

| Mount Point | Source | Mount Path | Size | Options |
|-------------|--------|------------|------|---------|
| rootfs | apool-zfs:subvol-101-disk-0 | / | 2GB | noatime |

### Networking

#### Interfaces

| ID | Name | Bridge | IP Address | Description |
|----|------|--------|------------|-------------|
| net0 | bridge | eth0 | vmbr0 | DHCP | fde9:2375:2ebf:1::2/64

# LXC / adguard

<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/AdGuard.svg/220px-AdGuard.svg.png" class="machine hardware" />


## Description

A LXC container running [AdGuard Home](https://adguard.com/en/adguard-home/overview.html) to provide DNS caching and advertisement blocking.

## Configuration

### Resources

| Hostname | CPU    | Memory |
|----------|--------|--------|
| adguard  | 2 vCPU | 512MB |

### Storage

| Mount Point | Source | Mount Path | Size | Options |
|-------------|--------|------------|------|---------|
| rootfs | apool-zfs:subvol-101-disk-0 | / | 2GB | noatime |

### Networking

#### Interfaces

| ID | Name | Bridge | IP Address | Description |
|----|------|--------|------------|-------------|
| net0 | bridge | eth0 | vmbr0 | DHCP | fde9:2375:2ebf:1::2/64