From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kurt Neufeld Subject: howto set up a virtual firewall? Date: Wed, 20 Feb 2008 06:30:45 -0700 Message-ID: <47BC2B85.7080404@burgundywall.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel@lists.sourceforge.net Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Hey there, I've searched high and low but can't find an answer to my problem and I find it hard to believe that I'm the only person that wants to do this. I would like to setup a virtual machine that is my firewall. So far I've got Shorewall setup in a virtual machine and the "internal" nic works and I can ping the host and vice versa. However, I can't figure out the "external" nic. I've setup bridging on my hosts eth0 (currently my internet facing nic) but if I understand 3. public bridge from http://kvm.qumranet.com/kvmwiki/Networking then I have to have an ip address on my host? That would defeat the purpose of the virtual firewall. So what I want is to have the virtual machine have "complete" control of the external nic (not configured, no ip addr on host), the internal nic can either be on a virtual network or bridged internally, either works for me. Current config at end. Thanks for any assistance, Kurt ps - sorry for the previous incomplete post fw 76bfb29c-ebd8-7d25-6009-0874d8cca460 262144 262144 1 hvm destroy restart destroy /usr/bin/qemu-kvm ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/