Isolate guest with inetmock

This commit is contained in:
Peter 2021-03-12 19:15:14 +01:00
parent ee7f42e619
commit 2d58de8ba4
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
2 changed files with 5 additions and 1 deletions

View file

@ -6,6 +6,10 @@ Vagrant.configure("2") do |config|
config.vm.box = "peru/windows-10-enterprise-x64-eval" config.vm.box = "peru/windows-10-enterprise-x64-eval"
config.vm.box_version = "20210222.01" config.vm.box_version = "20210222.01"
config.vm.provider "libvirt" do |libvirt|
libvirt.management_network_mode = 'veryisoled'
end
config.vm.define :win_victim do |win_victim| config.vm.define :win_victim do |win_victim|
win_victim.vm.network :private_network, win_victim.vm.network :private_network,
:libvirt__network_name => "inetmock" :libvirt__network_name => "inetmock"

View file

@ -2,7 +2,7 @@
<name>inetmock</name> <name>inetmock</name>
<bridge name='im0' stp='on' delay='0'/> <bridge name='im0' stp='on' delay='0'/>
<mac address='BA:84:82:C5:AE:56'/> <mac address='BA:84:82:C5:AE:56'/>
<ip address='172.25.10.5' netmask='255.255.255.0'> <ip address="172.25.10.5" netmask="255.255.255.0">
<dhcp> <dhcp>
<range start='172.25.10.100' end='172.25.10.150'/> <range start='172.25.10.100' end='172.25.10.150'/>
</dhcp> </dhcp>