How Can I Connect My Ubuntu 16.04 to Netgear AC1200 Router (model r6220)












0















How Can I Connect My Ubuntu 16.04 to Netgear AC1200 Router (model r6220)?










share|improve this question

























  • You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

    – Terrance
    Jan 23 '17 at 4:22
















0















How Can I Connect My Ubuntu 16.04 to Netgear AC1200 Router (model r6220)?










share|improve this question

























  • You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

    – Terrance
    Jan 23 '17 at 4:22














0












0








0








How Can I Connect My Ubuntu 16.04 to Netgear AC1200 Router (model r6220)?










share|improve this question
















How Can I Connect My Ubuntu 16.04 to Netgear AC1200 Router (model r6220)?







networking vpn openvpn netgear






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 26 '17 at 2:13







Monty

















asked Jan 23 '17 at 2:28









MontyMonty

12




12













  • You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

    – Terrance
    Jan 23 '17 at 4:22



















  • You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

    – Terrance
    Jan 23 '17 at 4:22

















You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

– Terrance
Jan 23 '17 at 4:22





You should write this as an answer to your question. You can then accept it as the correct answer, and that will help out people.

– Terrance
Jan 23 '17 at 4:22










1 Answer
1






active

oldest

votes


















0














After googling around and trying things for a couple hours, these steps worked for me. I had to connect to my phone as a hotspot to prove it because it doesn't work when connected to the same wifi hotspot as the router that is running the vpn server. Hope this helps someone.



# install these packages in ubuntu terminal
sudo apt-get install openvpn
sudo apt-get install network-manager-openvpn
sudo apt-get install network-manager-openvpn-gnome

# download the client files from the router as
# a zip file and extract them to my Downloads directory

# open network > edit connections > add >
# import a saved vpn configuration > select the client.conf file
# that was extracted in the Downloads directory

# edit the vpn connection and set the gateway port to :12973
# (same as is configured in the router's vpn settings)

# change type to TLS
# select client.crt that was extracted in the Downloads dir
for user certificate
# select ca.crt that was extracted in the Downloads dir for ca certificate
# select client.key that was extracted in the Downloads dir for private key

# click Advanced
# change custom gateway port to 12973
# change virtual device type to TUN
# check the checkbox to accept authenticated packets from any address





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f875108%2fhow-can-i-connect-my-ubuntu-16-04-to-netgear-ac1200-router-model-r6220%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    After googling around and trying things for a couple hours, these steps worked for me. I had to connect to my phone as a hotspot to prove it because it doesn't work when connected to the same wifi hotspot as the router that is running the vpn server. Hope this helps someone.



    # install these packages in ubuntu terminal
    sudo apt-get install openvpn
    sudo apt-get install network-manager-openvpn
    sudo apt-get install network-manager-openvpn-gnome

    # download the client files from the router as
    # a zip file and extract them to my Downloads directory

    # open network > edit connections > add >
    # import a saved vpn configuration > select the client.conf file
    # that was extracted in the Downloads directory

    # edit the vpn connection and set the gateway port to :12973
    # (same as is configured in the router's vpn settings)

    # change type to TLS
    # select client.crt that was extracted in the Downloads dir
    for user certificate
    # select ca.crt that was extracted in the Downloads dir for ca certificate
    # select client.key that was extracted in the Downloads dir for private key

    # click Advanced
    # change custom gateway port to 12973
    # change virtual device type to TUN
    # check the checkbox to accept authenticated packets from any address





    share|improve this answer




























      0














      After googling around and trying things for a couple hours, these steps worked for me. I had to connect to my phone as a hotspot to prove it because it doesn't work when connected to the same wifi hotspot as the router that is running the vpn server. Hope this helps someone.



      # install these packages in ubuntu terminal
      sudo apt-get install openvpn
      sudo apt-get install network-manager-openvpn
      sudo apt-get install network-manager-openvpn-gnome

      # download the client files from the router as
      # a zip file and extract them to my Downloads directory

      # open network > edit connections > add >
      # import a saved vpn configuration > select the client.conf file
      # that was extracted in the Downloads directory

      # edit the vpn connection and set the gateway port to :12973
      # (same as is configured in the router's vpn settings)

      # change type to TLS
      # select client.crt that was extracted in the Downloads dir
      for user certificate
      # select ca.crt that was extracted in the Downloads dir for ca certificate
      # select client.key that was extracted in the Downloads dir for private key

      # click Advanced
      # change custom gateway port to 12973
      # change virtual device type to TUN
      # check the checkbox to accept authenticated packets from any address





      share|improve this answer


























        0












        0








        0







        After googling around and trying things for a couple hours, these steps worked for me. I had to connect to my phone as a hotspot to prove it because it doesn't work when connected to the same wifi hotspot as the router that is running the vpn server. Hope this helps someone.



        # install these packages in ubuntu terminal
        sudo apt-get install openvpn
        sudo apt-get install network-manager-openvpn
        sudo apt-get install network-manager-openvpn-gnome

        # download the client files from the router as
        # a zip file and extract them to my Downloads directory

        # open network > edit connections > add >
        # import a saved vpn configuration > select the client.conf file
        # that was extracted in the Downloads directory

        # edit the vpn connection and set the gateway port to :12973
        # (same as is configured in the router's vpn settings)

        # change type to TLS
        # select client.crt that was extracted in the Downloads dir
        for user certificate
        # select ca.crt that was extracted in the Downloads dir for ca certificate
        # select client.key that was extracted in the Downloads dir for private key

        # click Advanced
        # change custom gateway port to 12973
        # change virtual device type to TUN
        # check the checkbox to accept authenticated packets from any address





        share|improve this answer













        After googling around and trying things for a couple hours, these steps worked for me. I had to connect to my phone as a hotspot to prove it because it doesn't work when connected to the same wifi hotspot as the router that is running the vpn server. Hope this helps someone.



        # install these packages in ubuntu terminal
        sudo apt-get install openvpn
        sudo apt-get install network-manager-openvpn
        sudo apt-get install network-manager-openvpn-gnome

        # download the client files from the router as
        # a zip file and extract them to my Downloads directory

        # open network > edit connections > add >
        # import a saved vpn configuration > select the client.conf file
        # that was extracted in the Downloads directory

        # edit the vpn connection and set the gateway port to :12973
        # (same as is configured in the router's vpn settings)

        # change type to TLS
        # select client.crt that was extracted in the Downloads dir
        for user certificate
        # select ca.crt that was extracted in the Downloads dir for ca certificate
        # select client.key that was extracted in the Downloads dir for private key

        # click Advanced
        # change custom gateway port to 12973
        # change virtual device type to TUN
        # check the checkbox to accept authenticated packets from any address






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 26 '17 at 2:12









        MontyMonty

        12




        12






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f875108%2fhow-can-i-connect-my-ubuntu-16-04-to-netgear-ac1200-router-model-r6220%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕