Virtualbox and OpenVPN connections












1















I taking training on web application hacking and the professor is asking me to ssh to attack machine and do hacking.



I am using Kali Linux at home and using Virtualbox. The professor allows OpenVPN to connect. If I connect via OpenVPN to his platform with my Windows machine, shall I be able to use Kali? Will NAT take care VPN-related issues when I attack from Kali?



Once I ssh to attack machine, can I use kali over OpenVPN?










share|improve this question













migrated from security.stackexchange.com Jan 14 at 12:36


This question came from our site for information security professionals.



















  • That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

    – CD Rohling
    Jan 12 at 11:59











  • Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

    – schroeder
    Jan 14 at 12:33
















1















I taking training on web application hacking and the professor is asking me to ssh to attack machine and do hacking.



I am using Kali Linux at home and using Virtualbox. The professor allows OpenVPN to connect. If I connect via OpenVPN to his platform with my Windows machine, shall I be able to use Kali? Will NAT take care VPN-related issues when I attack from Kali?



Once I ssh to attack machine, can I use kali over OpenVPN?










share|improve this question













migrated from security.stackexchange.com Jan 14 at 12:36


This question came from our site for information security professionals.



















  • That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

    – CD Rohling
    Jan 12 at 11:59











  • Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

    – schroeder
    Jan 14 at 12:33














1












1








1








I taking training on web application hacking and the professor is asking me to ssh to attack machine and do hacking.



I am using Kali Linux at home and using Virtualbox. The professor allows OpenVPN to connect. If I connect via OpenVPN to his platform with my Windows machine, shall I be able to use Kali? Will NAT take care VPN-related issues when I attack from Kali?



Once I ssh to attack machine, can I use kali over OpenVPN?










share|improve this question














I taking training on web application hacking and the professor is asking me to ssh to attack machine and do hacking.



I am using Kali Linux at home and using Virtualbox. The professor allows OpenVPN to connect. If I connect via OpenVPN to his platform with my Windows machine, shall I be able to use Kali? Will NAT take care VPN-related issues when I attack from Kali?



Once I ssh to attack machine, can I use kali over OpenVPN?







vpn openvpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 12 at 7:24







Tajkia Hafiz











migrated from security.stackexchange.com Jan 14 at 12:36


This question came from our site for information security professionals.









migrated from security.stackexchange.com Jan 14 at 12:36


This question came from our site for information security professionals.















  • That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

    – CD Rohling
    Jan 12 at 11:59











  • Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

    – schroeder
    Jan 14 at 12:33



















  • That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

    – CD Rohling
    Jan 12 at 11:59











  • Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

    – schroeder
    Jan 14 at 12:33

















That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

– CD Rohling
Jan 12 at 11:59





That depends on the configuration of your VM. If you use NAT on your Network adapter it will do the trick.

– CD Rohling
Jan 12 at 11:59













Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

– schroeder
Jan 14 at 12:33





Although you are taking a cybersecurity course, and you are using Kali, this is actually a pure networking question and not a security question.

– schroeder
Jan 14 at 12:33










2 Answers
2






active

oldest

votes


















1














It all depends on your VirtualBox machine setup. NAT configuration in such an instance would relay all your traffic trough your OpenVPN configuration, while Bridged Adapter configuration would ignore your local OpenVPN setup if it’s not running in the router or switch software.






share|improve this answer































    0















    So if I connect via open VPN to his platform with my Windows machine, shall I able to use Kali? Does NAT will do take care VPN related issue when I attack from Kali?




    Your virtualbox should forward connection irrespective NAT/bridged mode, from kali. Your virtual machine will use the same routing as the host OS windows. It should just work fine.






    share|improve this answer


























    • OpenVPN is being set up on the Windows host, not the Kali guest.

      – schroeder
      Jan 14 at 12:32











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2fsuperuser.com%2fquestions%2f1394104%2fvirtualbox-and-openvpn-connections%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    It all depends on your VirtualBox machine setup. NAT configuration in such an instance would relay all your traffic trough your OpenVPN configuration, while Bridged Adapter configuration would ignore your local OpenVPN setup if it’s not running in the router or switch software.






    share|improve this answer




























      1














      It all depends on your VirtualBox machine setup. NAT configuration in such an instance would relay all your traffic trough your OpenVPN configuration, while Bridged Adapter configuration would ignore your local OpenVPN setup if it’s not running in the router or switch software.






      share|improve this answer


























        1












        1








        1







        It all depends on your VirtualBox machine setup. NAT configuration in such an instance would relay all your traffic trough your OpenVPN configuration, while Bridged Adapter configuration would ignore your local OpenVPN setup if it’s not running in the router or switch software.






        share|improve this answer













        It all depends on your VirtualBox machine setup. NAT configuration in such an instance would relay all your traffic trough your OpenVPN configuration, while Bridged Adapter configuration would ignore your local OpenVPN setup if it’s not running in the router or switch software.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 12 at 14:27









        Vilius PovilaikaVilius Povilaika

        294




        294

























            0















            So if I connect via open VPN to his platform with my Windows machine, shall I able to use Kali? Does NAT will do take care VPN related issue when I attack from Kali?




            Your virtualbox should forward connection irrespective NAT/bridged mode, from kali. Your virtual machine will use the same routing as the host OS windows. It should just work fine.






            share|improve this answer


























            • OpenVPN is being set up on the Windows host, not the Kali guest.

              – schroeder
              Jan 14 at 12:32
















            0















            So if I connect via open VPN to his platform with my Windows machine, shall I able to use Kali? Does NAT will do take care VPN related issue when I attack from Kali?




            Your virtualbox should forward connection irrespective NAT/bridged mode, from kali. Your virtual machine will use the same routing as the host OS windows. It should just work fine.






            share|improve this answer


























            • OpenVPN is being set up on the Windows host, not the Kali guest.

              – schroeder
              Jan 14 at 12:32














            0












            0








            0








            So if I connect via open VPN to his platform with my Windows machine, shall I able to use Kali? Does NAT will do take care VPN related issue when I attack from Kali?




            Your virtualbox should forward connection irrespective NAT/bridged mode, from kali. Your virtual machine will use the same routing as the host OS windows. It should just work fine.






            share|improve this answer
















            So if I connect via open VPN to his platform with my Windows machine, shall I able to use Kali? Does NAT will do take care VPN related issue when I attack from Kali?




            Your virtualbox should forward connection irrespective NAT/bridged mode, from kali. Your virtual machine will use the same routing as the host OS windows. It should just work fine.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 14 at 14:44









            Community

            1




            1










            answered Jan 14 at 12:26







            BountySite




















            • OpenVPN is being set up on the Windows host, not the Kali guest.

              – schroeder
              Jan 14 at 12:32



















            • OpenVPN is being set up on the Windows host, not the Kali guest.

              – schroeder
              Jan 14 at 12:32

















            OpenVPN is being set up on the Windows host, not the Kali guest.

            – schroeder
            Jan 14 at 12:32





            OpenVPN is being set up on the Windows host, not the Kali guest.

            – schroeder
            Jan 14 at 12:32


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394104%2fvirtualbox-and-openvpn-connections%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀