I'm running Windows 10 on a PC which can see a Centos 7 server on the network. That server is hosting several VMs running Centos 7 on a different sub-net (i.e. 192.168.122.xxx). The Centos Host and the Windows PC are running on 192.168.0.xxx.
The virtualisation is done with Virtual Machine Manager (libvert) and the VMs can see the Centos Host and the Internet.
My question is around getting the Centos Host to forward the SMB ports successfully so the PC can connect to the VMs Samba share via it. I basically want to map a drive letter in Windows 10 to a folder in the VMs.
Samba is installed and configured on the VM and looks fine. I don't think Windows is getting past the Centos Host and gives an error indicating it cannot connect to the target on the port for "file and print sharing resource".
- Disabling SELinux on the Centos Host and VM.
- Configuring firewalld on the Centos Host to accept ports 137,138,139,445.
- Adding port-forwarding to the firewalld config on the Centos Host for those ports.