I am using Red hat Linux server 7. & i have Linux mint in my red hat virtual machine. I stored some files in my web server (Which is in host machine). Now i want access it in guest OS (Linux mint). So i tried to entering my web server IP in my guest OS. But i receive “Unable to connect” error in my browser (in guest OS). But able to access it in my host OS. There is anyway to access?
Please check the iptables and turn off your RHEL 7 Firewall…afterwards try to ping between host and guest OS or vice versa…
Thanks after disabling firewall, now works fine. Is there any way do that with out disabling firewall?
Permanently disable the firewall
# systemctl disable firewalld
Temporary disable the firewall
# systemctl stop firewalld
Hello, i want this without disabling firewall
Turn On Firewall then
Put the guest OS IP and MAC key to allowed / white list of firewall…
# systemctl restart firewalld
How to add white list. In hosts.allow file?
say some example
From Firewall configuration
I need Command line way. Explain in CLI way
To start GUI
To start with CLI
# firewall-cmd --permanent --zone=work --add-source=192.168.0.1/24 # firewall-cmd --permanent --zone=work --add-port=8080/tcp # firewall-cmd --reload