Set Up Windows Domain (PerryG)-Complete isolation of guests?
Posted: 23. Sep 2012, 20:21
In this thread (viewtopic.php?f=1&t=51495) I reported that when I used the Setting Up a Windows Domain instructions: (viewtopic.php?f=25&t=36181) to try to completely sandbox a guest from the entire host network while still getting internet access I was not completely successful. The host and other host-network PCs could not see the guest behind the pfSense router VM, but the guest, which did have internet access (good), also was able to access the host network's resources (not good).
The setup on my network & host is as follows:
The host (running VBox version 4.0.16) has several guests, including a SBS2003 guest acting as domain controller & DHCP server aand all the rest, as well as some domain client VMs and some non-domain VMs. All these VMs are bridged to one NIC in the host, which is physically wired to an unmanaged switch, to which all the real PCs on the office network and the fios router (DHCP disabled, btw) are connected. Most of the real PCs are domain clients, some are not. All of these real and virtual PCs are in the 192.168.0.1/24 range. (Meaning the network's ip's range from 192.168.0.1 to 192.168.0.254, if I understand that /24 properly. The subnet is 255.255.255.0)
My pfSense VM is attached thru NAT in the Vbox GUI, and it gets a 10.0.2.15 ip address on the NAT-ted nic. The pfSense VM also has a nic attached to a Vbox internal network called "RemoteInIntNet". I set this second nic in pfSense to have an ip of 192.168.1.1/24 and enabled the DHCP server for that nic's network. I made an XP guest, with its nic attached to "RemoteInIntNet". The guest got an ip of 192.168.1.2. It has internet access. But if I ping the host's ip, 192.168.0.201, the pings get through fine. If I type in my personal PC's ip in the guest XP Run... box (\\192.168.0.240) I see my shared folders, and can open the files therein. If I enter the SBS VM's ip in the guest Run... box I get the Enter Password box for the domain. The guest can see everything.
Am I still missing something? I assumed (and yes I know what assuming does
)that the purpose of the whole intnet-and-pfSense-based domain setup was to keep the test domain from interfering with the production domain, since one can't have, for example, 2 SBS computers on the same domain without damage happening. To test a new domain, I would think one would want complete isolation. I'd be worried the test domain could find the production domain. Or worse, a virus in the guest, if coded to look for common network ip's, could get out of the test network, because it could see and access the host's network.
The setup on my network & host is as follows:
The host (running VBox version 4.0.16) has several guests, including a SBS2003 guest acting as domain controller & DHCP server aand all the rest, as well as some domain client VMs and some non-domain VMs. All these VMs are bridged to one NIC in the host, which is physically wired to an unmanaged switch, to which all the real PCs on the office network and the fios router (DHCP disabled, btw) are connected. Most of the real PCs are domain clients, some are not. All of these real and virtual PCs are in the 192.168.0.1/24 range. (Meaning the network's ip's range from 192.168.0.1 to 192.168.0.254, if I understand that /24 properly. The subnet is 255.255.255.0)
My pfSense VM is attached thru NAT in the Vbox GUI, and it gets a 10.0.2.15 ip address on the NAT-ted nic. The pfSense VM also has a nic attached to a Vbox internal network called "RemoteInIntNet". I set this second nic in pfSense to have an ip of 192.168.1.1/24 and enabled the DHCP server for that nic's network. I made an XP guest, with its nic attached to "RemoteInIntNet". The guest got an ip of 192.168.1.2. It has internet access. But if I ping the host's ip, 192.168.0.201, the pings get through fine. If I type in my personal PC's ip in the guest XP Run... box (\\192.168.0.240) I see my shared folders, and can open the files therein. If I enter the SBS VM's ip in the guest Run... box I get the Enter Password box for the domain. The guest can see everything.
Am I still missing something? I assumed (and yes I know what assuming does