Create Generation 1 VHD and set to boot from Debian~.iso
Start VHD and run Install
- personally I unselect the Debian desktop option and leave the rest default.
login as root or use sudo for the following commands.
now you'll need to add the webmin sources list by editing /etc/apt/sources.list by using nano, vi or another method.
then use i to edit the file and (esc) then :wq to write the file to memory.
once you've done that you can add the Webmin PGP key
apt-key add jcameron-key.asc
now update using
I like to also install perl as it seems to prevent some issues
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
and finally install webmin
apt install webmin
Now you can login with https://(server-IP/domain):10000
That's it, your done.
Limiting the use of IPs by each Guest OS is an important step in securing your network from accidental or intentional abuse of IP resources.
You can limit IPs in Hyper-V 2012 using ACL rules much like any router or managed switch would provide via ACLs.
No Gui is currently available to manage ACLs so you will need to open Windows Powershell if you are in GUI mode. Lets assume you have VM named "Poject1" and you would like to limit this client/gues VM so they can only use 10.0.0.75 as an IP address.
Here are the commands:
Add-VMNetworkAdapterAcl -VMName Project1 -LocalIPAddress 10.0.0.75 -Direction Both -Action Allow
Add-VMNetworkAdapterAcl -VMName Project1 -LocalIPAddress any -Direction Both -Action Deny
That is it, your done.
Now you can check the rules with:
Get-VMNetworkAdapterAcl -VMName Project1
or you can remove the rules using:
Remove-VMNetworkAdapterAcl -VMName Project1 -LocalIPAddress 10.0.0.75 -Direction Both -Action Allow
Remove-VMNetworkAdapterAcl -VMName Project1 -LocalIPAddress any -Direction Both -Action Deny
Using powershell you can do the following commands:
Add-VMNetworkAdapterAcl -VMName $vmName -LocalIPAddress $vmIP -Direction Both -Action Allow
Add-VMNetworkAdapterAcl -VMName $vmName -LocalIPAddress Any -Direction Both -Action Deny
Read the full TechNet guide here: