Setting Up VLANs in Proxmox for Isolated Networking

Setting Up VLANs in Proxmox for Isolated Networking Introduction Virtual LANs (VLANs) allow you to segment network traffic for better security and performance. In Proxmox, VLANs can be configured to isolate different virtual machines (VMs) or Linux Containers (LXC) without needing separate physical networks. This guide will walk you through setting up VLANs in Proxmox step by step. Step 1: Understanding VLANs in Proxmox Proxmox supports VLAN tagging using Linux network bridges. The key components include: ...

March 16, 2025

Proxmox Backup and Restore: Best Practices for LXC and VMs

Proxmox Backup and Restore: Best Practices for LXC and VMs Introduction Proxmox Virtual Environment (PVE) is a powerful open-source platform for managing virtual machines (VMs) and Linux Containers (LXC). One of its essential features is the ability to back up and restore VMs and containers easily. In this guide, we’ll walk you through setting up backups in Proxmox, best practices for backups, and how to restore your VMs or containers when needed. ...

March 16, 2025

Proxmox LXC 192.168. networking

You have installed Proxmox and want to create LXCs (containers). You want to give the LXCs an internal network and then allow internet access. Log into the Proxmox GUI (not the LXC) and do the following: In the left hand window, click on your server (under Datacenter) Click “System” and a dropdown menu will appear Click on “Network” The large window will have a button labelled “Create v” Click on this and choose “Linux Bridge” from the dropdown menu A dialogue box will open “Create: Linux Bridge” The name will auto-populate, it should read “vmbr1” For IPv4/CIDR type “192.168.1.1/24” Leave the rest alone and click the blue “Create” button Click “Apply Configuration”, located on the same line as the “Create v” button ...

March 14, 2025

Automating Wallpaper Change Based on Webcam Activity using Python under Windows 11

Have you ever wanted to use your monitor as a makeshift light source when your webcam is active? In this tutorial, we’ll create a Python script that detects when your webcam is in use and automatically changes your desktop wallpaper to a bright white image. Once the webcam is inactive, it restores your default wallpaper. What We’ll Cover Monitoring Webcam Activity: Using Windows Registry to detect active webcam applications. Changing Wallpaper Programmatically: Leveraging Python’s ctypes to update the desktop wallpaper. Automating the Process: Running the script in the background for seamless automation. Prerequisites Before diving into the script, make sure you have the following: ...

January 6, 2025

Restrict SSH Port Forwarding with IPTables

When running SSH services inside a container or virtual machine, you may want to restrict access to specific IP addresses. This blog post walks you through creating an IPTables script to forward and secure SSH access on your server. The Use Case Imagine you have: A Proxmox server with an LXC container running SSH. The external port 2222 on the host forwarding to the container’s SSH port 22. A need to allow access only from a specific IP address (eg. 2.3.4.5). Below is a script to manage the IPTables rules dynamically. ...

December 29, 2024

Can I use Obsidian for creating MarkDown (.md) web pages?

I want to test bold, italic, strikethrough and ==highlighted== text on this line. I want to create an ordered list below here Item One Item Two Item Three The final item I want to create a bulleted list below here Bulleted item 1 Bulleted item 2 Bulleted item 3 Final bulleted item I want to add code formatting below here 10 PRINT "labby.co.uk "; 20 GOTO 10 I want to add mathematical formatting below here $e=MC^2$ ...

December 27, 2024

FFMPEG multiple inputs to one stream

FFMPEG 4 sources to four windows I recently wanted to stream four sources to one output similar to this: /--------|--------\ |INPUT 1 | INPUT 2| |--------+--------| |INPUT 3 | INPUT 4| \--------|--------/ .four streams combined into one output Windows: set i1=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/TearsOfSteel.mp4 set i2=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 set i3=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4 set i4=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/WhatCarCanYouGetForAGrand.mp4 ffmpeg -hide_banner -loglevel error -hwaccel cuda -stream_loop -1 -i %i1% -stream_loop -1 -i %i2% -stream_loop -1 -i %i3% -stream_loop -1 -i %i4% -filter_complex "[0:a][1:a][2:a][3:a]amerge=inputs=4[a];[0:v]scale=800:480[v0];[1:v]scale=800:480[v1];[2:v]scale=800:480[v2];[3:v]scale=800:480[v3];[v0][v1][v2][v3]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0" -c:v h264_nvenc -map "[a]" -ac 2 -f flv pipe:1|ffplay -i - Explanation: ...

December 25, 2024

My First Post

Introduction Welcome to labby.co.uk New server install so I thought I would play with something other than Wordpress. Too much infighting for me to bother with right now. Playing with formatting: This is bold text, and this is emphasized text.

December 22, 2024