Add Windows cloud image tools with firewall support
This commit is contained in:
29
windows-tools/configs/windows-server-2022.yaml
Normal file
29
windows-tools/configs/windows-server-2022.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
image_path: "/path/to/windows-server-2022.qcow2"
|
||||
vm_name: "windows-server-2022-template"
|
||||
vm_id: 0
|
||||
storage: "local-lvm"
|
||||
memory: 4096
|
||||
cores: 2
|
||||
sockets: 1
|
||||
bridge: "vmbr0"
|
||||
vlan_tag: 0
|
||||
proxmox_host: "192.168.1.100"
|
||||
proxmox_user: "root@pam"
|
||||
guest_agent: true
|
||||
firewall: true
|
||||
|
||||
firewall_rules:
|
||||
- type: in
|
||||
action: accept
|
||||
protocol: tcp
|
||||
dport: "3389"
|
||||
comment: "Allow RDP"
|
||||
- type: in
|
||||
action: accept
|
||||
protocol: tcp
|
||||
dport: "5985-5986"
|
||||
comment: "Allow WinRM"
|
||||
- type: out
|
||||
action: drop
|
||||
dest: "10.0.0.0/8"
|
||||
comment: "Block internal network"
|
||||
Reference in New Issue
Block a user