QEMU Windows guest without internet but with folder share

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm setting up a Debian machine running a Windows 7 guest in a qemu/kvm virtualization stack. Since the Windows machine is running out-dated software, I decided to put it into a VM without Internet access. However, I need to get files in and out of the VM.



I heared that it's possible to set up a host-only network and change the firewall rules in order to prohibit all accesses but to the host machine. The host however needs full Internet access.



I have no experience with firewall configuration under Linux. How can I achieve the goal described above?







share|improve this question























    up vote
    0
    down vote

    favorite












    I'm setting up a Debian machine running a Windows 7 guest in a qemu/kvm virtualization stack. Since the Windows machine is running out-dated software, I decided to put it into a VM without Internet access. However, I need to get files in and out of the VM.



    I heared that it's possible to set up a host-only network and change the firewall rules in order to prohibit all accesses but to the host machine. The host however needs full Internet access.



    I have no experience with firewall configuration under Linux. How can I achieve the goal described above?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm setting up a Debian machine running a Windows 7 guest in a qemu/kvm virtualization stack. Since the Windows machine is running out-dated software, I decided to put it into a VM without Internet access. However, I need to get files in and out of the VM.



      I heared that it's possible to set up a host-only network and change the firewall rules in order to prohibit all accesses but to the host machine. The host however needs full Internet access.



      I have no experience with firewall configuration under Linux. How can I achieve the goal described above?







      share|improve this question











      I'm setting up a Debian machine running a Windows 7 guest in a qemu/kvm virtualization stack. Since the Windows machine is running out-dated software, I decided to put it into a VM without Internet access. However, I need to get files in and out of the VM.



      I heared that it's possible to set up a host-only network and change the firewall rules in order to prohibit all accesses but to the host machine. The host however needs full Internet access.



      I have no experience with firewall configuration under Linux. How can I achieve the goal described above?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 22 at 12:52









      Kalsan

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Turns out, I can use virt-manager to create an isolated network, then start up samba (smb server) and configure it to listen to virbr1 (the isolated network). Appearently the isolated network prohibits communication to the outside world but allows to reach the host, which is exactly what I was looking for.






          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451306%2fqemu-windows-guest-without-internet-but-with-folder-share%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Turns out, I can use virt-manager to create an isolated network, then start up samba (smb server) and configure it to listen to virbr1 (the isolated network). Appearently the isolated network prohibits communication to the outside world but allows to reach the host, which is exactly what I was looking for.






            share|improve this answer

























              up vote
              0
              down vote













              Turns out, I can use virt-manager to create an isolated network, then start up samba (smb server) and configure it to listen to virbr1 (the isolated network). Appearently the isolated network prohibits communication to the outside world but allows to reach the host, which is exactly what I was looking for.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Turns out, I can use virt-manager to create an isolated network, then start up samba (smb server) and configure it to listen to virbr1 (the isolated network). Appearently the isolated network prohibits communication to the outside world but allows to reach the host, which is exactly what I was looking for.






                share|improve this answer













                Turns out, I can use virt-manager to create an isolated network, then start up samba (smb server) and configure it to listen to virbr1 (the isolated network). Appearently the isolated network prohibits communication to the outside world but allows to reach the host, which is exactly what I was looking for.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 22 at 13:28









                Kalsan

                1




                1






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451306%2fqemu-windows-guest-without-internet-but-with-folder-share%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)