I have questions concerning running a host behind a firewall on a VM on the same PC
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have questions concerning running a host behind a firewall on a VM on the same PC
I've been wanting to run a firewall such as pfsense or m0n0wall in a virtual machine on my PC and have my PC (host) be firewalled and possibly NAT'ed behind it. This will work as my primary firewall since I don't have a router at the moment and will be a 2nd layer of defense as well as a 2nd nat layer afterwards (i know that's unnecessary).
Is this as safe as having the firewall on separate hardware? What extra dangers, if any, do you face running it on the same system? Lastly, can you use a guest firewall such as this for other systems if you have a 2nd network card on the PC?
Real hardware firewalls/routers, at least newer ones, are created and designed to "fail closed" which means that if someone does DoS it, or break it some other way, it will stop working all together.
This means that you wont have internet connectivity, but at least they can't get in, at that time, either.
If you use a regular piece of hardware, like a server, and a software firewall, your results may vary on this front. Perhaps someone overflows your NIC and gains access to your entire server and network... rather than getting locked out.
Real hardware firewalls/routers, at least newer ones, are created and designed to "fail closed" which means that if someone does DoS it, or break it some other way, it will stop working all together.
This means that you wont have internet connectivity, but at least they can't get in, at that time, either.
If you use a regular piece of hardware, like a server, and a software firewall, your results may vary on this front. Perhaps someone overflows your NIC and gains access to your entire server and network... rather than getting locked out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.