Adding a Proxmox Node that already contains guest Virtual Machines to a Cluster

On node1 (with guests)

Create a new cluster or get join information.

On node2 (with guests)

scp -r /etc/pve/nodes/* to node1:/etc/pve/nodes (ex. scp -r /etc/pve/nodes/* to 192.168.x.x:/etc/pve/nodes )

rm -r /etc/pve/nodes/* Join cluster.

NOTE: The joining machine will sync its VM’s from the Clusters host, including its PCI mappings and Firewall rules. If you have any on the joining node, back these up before hand!

Debugging ASP.net Framework outside of Localhost or from a WAN connection

In .NET core, Microsoft recently released DevTunnels which creates an outgoing connection to a centralized service which receives request from an external provided URL when subscribing to the service, sadly there is no equivalent solution for .NET Framework. As a quick fix I threw together a proxy that resolves this issue exposing the self-hosted debug session externally to any address you prefer. Assuming you code in user (non-admin) mode which is recommended, you may have to add the ACL to netsh to allow hosting at a particular IP/HOSTNAME.

The result of this post is that port 8080 will be forwarded to port 4858. Set port 4858 to the default port used by your IIS Debug session within visual studio.

My recommended firewall configurations for proxmox

My explanation of the default rules below, add additional restrictions as needed but for starters this is a decent baseline for security to build off of.

0: Accept SSH for Linux host from your local network

1: Allow RDP from a VPN to Window boxes

2: Allow RDP from your local network

3: Allow VM’s to use DNS

4: Allow VM’s to browse via HTTPS

5: Disallow VM’s from accessing the gateways configuration (set this to your routers address) NOTE: If your router uses HTTPS, add a rule for that as well.

6: Allow VM’s to browse HTTP externally or on the local network.

7-12: Drop all incoming TCP and UDP packets that do not match the rules above and do not allow VM’s to connect to any Services anywhere (SMB, SMTP, etc etc)

13: Allow all other protocols that are not blocked in 7-12 to the gateway (If any are listening above port 1024)

14: Drop all other packages being sent out from the VM to the local network (including the gateway).

Debugging a Windows VM in Proxmox Windows 8+

Open command prompt as Administrator

“bcdedit /dbgsettings NET HOSTIP:192.168.x.x PORT:55555 nodhcp”

Note the Key

Apply these firewall rules to Proxmox for the VM

(OUT) Src and (IN)Dst UDP on port 55555 on firewall

Start WinDbg on your client machine and select “Attach to kernel”, target the assigned IP, port and key.

Sample response:

Once connected, hit break | |

Run “.sympath srvC:\MyServerSymbolshttps://msdl.microsoft.com/download/symbols”

Then “.reload”

https://learn.microsoft.com/en-us/windows-hardware/drivers/debuggercmds/-kill–kill-process-

To load into the context of the process use

Resolve oodle shader error in Zombieville and Call of Duty crashing with error code 1338 (0x00001338)

For months I’ve been facing issues since a recent patch lead to COD to continuously crash. Moving the Performance Core Ratio from 57x->54x appears to fully have resolved the issue. The problem appears to be narrowed to Intel’s P cores with my 14900KF processor. Hours of time burned but with this setting it appears everything is working once again!