How to configure Whonix gateway to Kali Linux?

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











up vote
0
down vote

favorite












I want to anonymously use Kali Linux in VirtualBox. But VirtualBox's network is also my IP address so I want to use Whonix gateway for my Kali Linux, not Whonix workstation.



How do I configure Whonix gateway in Kali? How to connect Whonix gateway to Kali Linux? What's the command I should use?










share|improve this question



























    up vote
    0
    down vote

    favorite












    I want to anonymously use Kali Linux in VirtualBox. But VirtualBox's network is also my IP address so I want to use Whonix gateway for my Kali Linux, not Whonix workstation.



    How do I configure Whonix gateway in Kali? How to connect Whonix gateway to Kali Linux? What's the command I should use?










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to anonymously use Kali Linux in VirtualBox. But VirtualBox's network is also my IP address so I want to use Whonix gateway for my Kali Linux, not Whonix workstation.



      How do I configure Whonix gateway in Kali? How to connect Whonix gateway to Kali Linux? What's the command I should use?










      share|improve this question















      I want to anonymously use Kali Linux in VirtualBox. But VirtualBox's network is also my IP address so I want to use Whonix gateway for my Kali Linux, not Whonix workstation.



      How do I configure Whonix gateway in Kali? How to connect Whonix gateway to Kali Linux? What's the command I should use?







      kali-linux whonix






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 19 '16 at 4:55

























      asked Apr 19 '16 at 4:50









      sukihinata

      13239




      13239




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          -1
          down vote













          Ensure that you have imported the Whonix gateway appliance into VirtualBox, and that it is running. Make note of the non-loopback IP address that is printed in the Whonix terminal.



          Open the Network Settings menu for your Kali Linux virtual machine in VirtualBox, and then configure Adapter 1 so that it is enabled and attached to the internal network, called Whonix. Save the setup, and start your Kali VM.



          If you are installing the Kali VM for the first time, then select the "Configure network manually" option during Kali setup, and use the Whonix non-loopback IP address that you recorded earlier.



          If you are using an existing installation of Kali, then start Kali, and execute the following instructions in the Kali terminal:



          1. ifdown eth0

          2. nano /etc/resolv.conf

          3. Replace the contents of /etc/resolv.conf with: nameserver 10.152.152.10

          4. nano /etc/network/interfaces

          5. Add the following lines to the end of /etc/network/interfaces:

            iface eth0 inet static
            address 10.152.152.11
            netmask 255.255.192.0
            gateway 10.152.152.10


          6. ifup eth0

          7. Visit https://check.torproject.org/ from Kali, to verify that your connection is now using Tor via Whonix.

          See these articles for detailed instructions and explanations:



          1. https://www.alienvault.com/blogs/security-essentials/how-does-whonix-make-kali-linux-anonymous-how-to-prevent-it


          2. http://resources.infosecinstitute.com/integrate-whonix-with-kali-linux-to-achieve-anonymity/


          3. https://null-byte.wonderhowto.com/how-to/fully-anonymize-kali-with-tor-whonix-pia-vpn-0180040/






          share|improve this answer


















          • 1




            This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
            – zagrimsan
            Aug 8 '17 at 7:00










          • Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
            – W1M0R
            Aug 8 '17 at 12:29










          • The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
            – zagrimsan
            Aug 8 '17 at 13:45










          • Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
            – W1M0R
            Aug 10 '17 at 21:31










          • Great! I'll go and upvote your answer after you've done that.:)
            – zagrimsan
            Aug 11 '17 at 7:03










          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: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          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%2f277433%2fhow-to-configure-whonix-gateway-to-kali-linux%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
          -1
          down vote













          Ensure that you have imported the Whonix gateway appliance into VirtualBox, and that it is running. Make note of the non-loopback IP address that is printed in the Whonix terminal.



          Open the Network Settings menu for your Kali Linux virtual machine in VirtualBox, and then configure Adapter 1 so that it is enabled and attached to the internal network, called Whonix. Save the setup, and start your Kali VM.



          If you are installing the Kali VM for the first time, then select the "Configure network manually" option during Kali setup, and use the Whonix non-loopback IP address that you recorded earlier.



          If you are using an existing installation of Kali, then start Kali, and execute the following instructions in the Kali terminal:



          1. ifdown eth0

          2. nano /etc/resolv.conf

          3. Replace the contents of /etc/resolv.conf with: nameserver 10.152.152.10

          4. nano /etc/network/interfaces

          5. Add the following lines to the end of /etc/network/interfaces:

            iface eth0 inet static
            address 10.152.152.11
            netmask 255.255.192.0
            gateway 10.152.152.10


          6. ifup eth0

          7. Visit https://check.torproject.org/ from Kali, to verify that your connection is now using Tor via Whonix.

          See these articles for detailed instructions and explanations:



          1. https://www.alienvault.com/blogs/security-essentials/how-does-whonix-make-kali-linux-anonymous-how-to-prevent-it


          2. http://resources.infosecinstitute.com/integrate-whonix-with-kali-linux-to-achieve-anonymity/


          3. https://null-byte.wonderhowto.com/how-to/fully-anonymize-kali-with-tor-whonix-pia-vpn-0180040/






          share|improve this answer


















          • 1




            This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
            – zagrimsan
            Aug 8 '17 at 7:00










          • Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
            – W1M0R
            Aug 8 '17 at 12:29










          • The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
            – zagrimsan
            Aug 8 '17 at 13:45










          • Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
            – W1M0R
            Aug 10 '17 at 21:31










          • Great! I'll go and upvote your answer after you've done that.:)
            – zagrimsan
            Aug 11 '17 at 7:03














          up vote
          -1
          down vote













          Ensure that you have imported the Whonix gateway appliance into VirtualBox, and that it is running. Make note of the non-loopback IP address that is printed in the Whonix terminal.



          Open the Network Settings menu for your Kali Linux virtual machine in VirtualBox, and then configure Adapter 1 so that it is enabled and attached to the internal network, called Whonix. Save the setup, and start your Kali VM.



          If you are installing the Kali VM for the first time, then select the "Configure network manually" option during Kali setup, and use the Whonix non-loopback IP address that you recorded earlier.



          If you are using an existing installation of Kali, then start Kali, and execute the following instructions in the Kali terminal:



          1. ifdown eth0

          2. nano /etc/resolv.conf

          3. Replace the contents of /etc/resolv.conf with: nameserver 10.152.152.10

          4. nano /etc/network/interfaces

          5. Add the following lines to the end of /etc/network/interfaces:

            iface eth0 inet static
            address 10.152.152.11
            netmask 255.255.192.0
            gateway 10.152.152.10


          6. ifup eth0

          7. Visit https://check.torproject.org/ from Kali, to verify that your connection is now using Tor via Whonix.

          See these articles for detailed instructions and explanations:



          1. https://www.alienvault.com/blogs/security-essentials/how-does-whonix-make-kali-linux-anonymous-how-to-prevent-it


          2. http://resources.infosecinstitute.com/integrate-whonix-with-kali-linux-to-achieve-anonymity/


          3. https://null-byte.wonderhowto.com/how-to/fully-anonymize-kali-with-tor-whonix-pia-vpn-0180040/






          share|improve this answer


















          • 1




            This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
            – zagrimsan
            Aug 8 '17 at 7:00










          • Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
            – W1M0R
            Aug 8 '17 at 12:29










          • The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
            – zagrimsan
            Aug 8 '17 at 13:45










          • Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
            – W1M0R
            Aug 10 '17 at 21:31










          • Great! I'll go and upvote your answer after you've done that.:)
            – zagrimsan
            Aug 11 '17 at 7:03












          up vote
          -1
          down vote










          up vote
          -1
          down vote









          Ensure that you have imported the Whonix gateway appliance into VirtualBox, and that it is running. Make note of the non-loopback IP address that is printed in the Whonix terminal.



          Open the Network Settings menu for your Kali Linux virtual machine in VirtualBox, and then configure Adapter 1 so that it is enabled and attached to the internal network, called Whonix. Save the setup, and start your Kali VM.



          If you are installing the Kali VM for the first time, then select the "Configure network manually" option during Kali setup, and use the Whonix non-loopback IP address that you recorded earlier.



          If you are using an existing installation of Kali, then start Kali, and execute the following instructions in the Kali terminal:



          1. ifdown eth0

          2. nano /etc/resolv.conf

          3. Replace the contents of /etc/resolv.conf with: nameserver 10.152.152.10

          4. nano /etc/network/interfaces

          5. Add the following lines to the end of /etc/network/interfaces:

            iface eth0 inet static
            address 10.152.152.11
            netmask 255.255.192.0
            gateway 10.152.152.10


          6. ifup eth0

          7. Visit https://check.torproject.org/ from Kali, to verify that your connection is now using Tor via Whonix.

          See these articles for detailed instructions and explanations:



          1. https://www.alienvault.com/blogs/security-essentials/how-does-whonix-make-kali-linux-anonymous-how-to-prevent-it


          2. http://resources.infosecinstitute.com/integrate-whonix-with-kali-linux-to-achieve-anonymity/


          3. https://null-byte.wonderhowto.com/how-to/fully-anonymize-kali-with-tor-whonix-pia-vpn-0180040/






          share|improve this answer














          Ensure that you have imported the Whonix gateway appliance into VirtualBox, and that it is running. Make note of the non-loopback IP address that is printed in the Whonix terminal.



          Open the Network Settings menu for your Kali Linux virtual machine in VirtualBox, and then configure Adapter 1 so that it is enabled and attached to the internal network, called Whonix. Save the setup, and start your Kali VM.



          If you are installing the Kali VM for the first time, then select the "Configure network manually" option during Kali setup, and use the Whonix non-loopback IP address that you recorded earlier.



          If you are using an existing installation of Kali, then start Kali, and execute the following instructions in the Kali terminal:



          1. ifdown eth0

          2. nano /etc/resolv.conf

          3. Replace the contents of /etc/resolv.conf with: nameserver 10.152.152.10

          4. nano /etc/network/interfaces

          5. Add the following lines to the end of /etc/network/interfaces:

            iface eth0 inet static
            address 10.152.152.11
            netmask 255.255.192.0
            gateway 10.152.152.10


          6. ifup eth0

          7. Visit https://check.torproject.org/ from Kali, to verify that your connection is now using Tor via Whonix.

          See these articles for detailed instructions and explanations:



          1. https://www.alienvault.com/blogs/security-essentials/how-does-whonix-make-kali-linux-anonymous-how-to-prevent-it


          2. http://resources.infosecinstitute.com/integrate-whonix-with-kali-linux-to-achieve-anonymity/


          3. https://null-byte.wonderhowto.com/how-to/fully-anonymize-kali-with-tor-whonix-pia-vpn-0180040/







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 9 mins ago

























          answered Aug 8 '17 at 5:53









          W1M0R

          992




          992







          • 1




            This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
            – zagrimsan
            Aug 8 '17 at 7:00










          • Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
            – W1M0R
            Aug 8 '17 at 12:29










          • The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
            – zagrimsan
            Aug 8 '17 at 13:45










          • Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
            – W1M0R
            Aug 10 '17 at 21:31










          • Great! I'll go and upvote your answer after you've done that.:)
            – zagrimsan
            Aug 11 '17 at 7:03












          • 1




            This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
            – zagrimsan
            Aug 8 '17 at 7:00










          • Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
            – W1M0R
            Aug 8 '17 at 12:29










          • The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
            – zagrimsan
            Aug 8 '17 at 13:45










          • Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
            – W1M0R
            Aug 10 '17 at 21:31










          • Great! I'll go and upvote your answer after you've done that.:)
            – zagrimsan
            Aug 11 '17 at 7:03







          1




          1




          This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
          – zagrimsan
          Aug 8 '17 at 7:00




          This is not a good answer. You should provide the essential parts of the solution in your answer so that when the links go dead the solution is still there for people to see.
          – zagrimsan
          Aug 8 '17 at 7:00












          Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
          – W1M0R
          Aug 8 '17 at 12:29




          Understood. I can't spare time at the moment, but will gladly do so when the opportunity presents itself. In the mean time, if the community has time, and wants to propose edits with relevant extracts, please go ahead.
          – W1M0R
          Aug 8 '17 at 12:29












          The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
          – zagrimsan
          Aug 8 '17 at 13:45




          The point is that the community is not here to write good answers on behalf of some of its members :) Some help and guidance is good for new members but writing answers for others does not improve the community. You get reputation for whatever you do here, that's the name of the game.
          – zagrimsan
          Aug 8 '17 at 13:45












          Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
          – W1M0R
          Aug 10 '17 at 21:31




          Got it. I'll test and summarise the instructions in the linked articles, and then add them to my answer.
          – W1M0R
          Aug 10 '17 at 21:31












          Great! I'll go and upvote your answer after you've done that.:)
          – zagrimsan
          Aug 11 '17 at 7:03




          Great! I'll go and upvote your answer after you've done that.:)
          – zagrimsan
          Aug 11 '17 at 7:03

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f277433%2fhow-to-configure-whonix-gateway-to-kali-linux%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay