Tuesday, February 21, 2023

Add disk image to Windows OS on Proxmox

 


1) Enter into the Proxmox console

2) Select the VM -> Hardware -> Add -> Hard Disk:



3) Configure the new disk image:

1. Select the type of disk, usually, it is the same type of existing disk by VM (Virtual Machine)

2. Select the storage where the disk image should be placed

3. Define the size of the disk

4. Add the disk image

4) Stop (Shutdown) and Start the VM to apply changes


5) The disk should be exposed in the Windows Computer management


There it can be made Online, Added with labels and letters, and formatted 


Saturday, February 4, 2023

Set a range of ports in iptables

 how to list a range of ports in iptables config file you can read there?

it is pretty easy to get how to:

was a simple task to a forward range of ports for the File Zilla FTP Server on a virtual server that is running in Proxmox

to avoid crucial listing of full ports volume like this:

-A INPUT -p tcp -m tcp — dport 20 -j ACCEPT-A INPUT -p tcp -m tcp — dport 21 -j ACCEPT-A FORWARD -d 192.168.1.101/32 -i enp4s0 -p tcp -m tcp — dport 20 -j ACCEPT-A FORWARD -d 192.168.1.101/32 -i enp4s0 -p tcp -m tcp — dport 21 -j ACCEPT-A PREROUTING -i enp4s0 -p tcp -m tcp — dport 20:21 -j DNAT — to-destination 192.168.1.101:20-A PREROUTING -i enp4s0 -p tcp -m tcp — dport 20:21 -j DNAT — to-destination 192.168.1.101:21

we can use listing in the range:

-A INPUT -p tcp -m tcp — dport 20:21 -j ACCEPT-A INPUT -p tcp -m tcp — dport 45000:46000 -j ACCEPT-A FORWARD -d 192.168.1.101/32 -i enp4s0 -p tcp -m tcp — dport 20:21 -j ACCEPT-A FORWARD -d 192.168.1.101/32 -i enp4s0 -p tcp -m tcp — dport 45000:46000 -j ACCEPT-A PREROUTING -i enp4s0 -p tcp -m tcp — dport 20:21 -j DNAT — to-destination 192.168.1.101:20–21-A PREROUTING -i enp4s0 -p tcp -m tcp — dport 45000:46000 -j DNAT — to-destination 192.168.1.101:45000–46000

then it could be applied and saved as rules:

~ # iptables-restore < iptables_rules_20200710_ftp_filezilla~ # iptables-save > iptables_rules_20200710_ftp_filezilla

exactly for File Zilla FTP Server, it should be set the same range of ports for passive mode

Sunday, December 11, 2022

Saturday, October 22, 2022

NAS connection

 To Map the network drive device:



Select options:
The suffix in the path (Folder:) should be as a login 

\\uXXXXXX.your-storagebox.de\uXXXXXX-sub1


1 – Select disk (Drive)
2 – Enter the path to the NAS destination
3 – Reconnect if it needs to be accessible automatically
4 – Create and save credentials to avoid entering them again


Enter Login and Password



Tuesday, September 20, 2022

Create media with Windows 10

 How to create Windows 10 boot USB flash drive

Insert a flash drive of at least 8 GB or large to avoid this warning during the installation drive preparation:

Launch the MediaCreationTool21H2.exe


Accept all warnings till getting a new window:




Accept it either:



Select "Create installation media" and Next:


Unpickup "Use the recommended options for this PC" to be able to select need options:

Choose the media driver:




Select the available USB flash drive:


The next button will start the Windows 10 image writing on flash media:


Finish:

Insert the ready-to-install USB flash drive and boot from it



Add disk image to Windows OS on Proxmox

  1) Enter into the Proxmox console 2) Select the VM -> Hardware -> Add -> Hard Disk: 3) Configure the new disk image: 1. Select th...