Cant connect to internet when using VPNq14.10 Cannot connect to internet through a wired connection. Try before install boot option selectedopenconnect either no internet or no network accessRestricted internet access on 14.04. Teamviewer works, websites don't loadHow do I allow DNS through interface filtering using iptables in Ubuntu HeadlessInternet not working (partially) on Ubuntu 16.04internet connection not working with Ubuntu 16.04DNS Resolution fails with UFW & OpenVPN (ProtonVPN Server)Allowing access to my server's UDP ports when the server is connected to OpenVPNiptables script breaking internet connection

Why did quill pens persist until the early 19th century despite the capacity to make metal dip pens?

What to do with developers who don't follow requirements?

Multithreading program stuck in optimized mode but runs normally in -O0

Was this “caterpillar” strategy a good way to advance my pawns?

How to initiate a conversation with a person who recently had transition but you were not in touch with them?

Power supply - purpose of the capacitor on the side of the transformer before full bridge rectifier

Dealing with recruiters who clearly didn't look at my resume

What websites can be protected by an SSL certificate?

How can I use Charisma instead of Strength or Dexterity for weapon attacks without being a Hexblade warlock?

Which verb means "to pet <an animal>"?

“These days are over” vs. “those days are over”

How to align multiple elements across align and its nested aligned?

How does text classification reduce manpower costs?

Australian visas - any difference between tourist and business?

Civilisation on a Cube Planet

replacing single quotes with double quote in a file

What Constitutes a Secondary Dominant?

What helped Einstein to provide a more accurate description of gravity than Newton?

Differences between vehicles used on the Moon and the ones used on Mars

Word or phrase for turning the tide against a rival in a competition in the last moments

How to write the sum of function inside LaTeX?

Tourist / simple city maps to print

Why combine commands on a single line in a Bash script?

What are those two silvery objects resting on Ben Kenobi's table when R2-D2 plays Princess Leia's message?



Cant connect to internet when using VPNq


14.10 Cannot connect to internet through a wired connection. Try before install boot option selectedopenconnect either no internet or no network accessRestricted internet access on 14.04. Teamviewer works, websites don't loadHow do I allow DNS through interface filtering using iptables in Ubuntu HeadlessInternet not working (partially) on Ubuntu 16.04internet connection not working with Ubuntu 16.04DNS Resolution fails with UFW & OpenVPN (ProtonVPN Server)Allowing access to my server's UDP ports when the server is connected to OpenVPNiptables script breaking internet connection






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I can no longer access the internet when using a VPN (I've tried two different vpns and multiple web browsers and wireless networks). I've noticed that ping www.google.com doesn't work when connected to VPN (works when not connected) but ping 8.8.8.8 does (I know that has something to do with the DNS but I am also rather inexperienced with this stuff). I have tried resetting network settings (sudo /etc/init.d/networking restart) but that didn't work. The only issue I can think of is that I tried installing clamav (I run some Windows software through crossover linux and wanted to be safe) and I think it stopped working after that/around that time (but I'm not positive that the two are linked- I tried uninstalling clamav but it did nothing so if that is the issue I'm guessing it's because it changed a setting somewhere). If it helps, I am using Ubuntu 19.04 and also tried switching one of the VPN protocols from UDP to TCP to no avail.










share|improve this question
































    0

















    I can no longer access the internet when using a VPN (I've tried two different vpns and multiple web browsers and wireless networks). I've noticed that ping www.google.com doesn't work when connected to VPN (works when not connected) but ping 8.8.8.8 does (I know that has something to do with the DNS but I am also rather inexperienced with this stuff). I have tried resetting network settings (sudo /etc/init.d/networking restart) but that didn't work. The only issue I can think of is that I tried installing clamav (I run some Windows software through crossover linux and wanted to be safe) and I think it stopped working after that/around that time (but I'm not positive that the two are linked- I tried uninstalling clamav but it did nothing so if that is the issue I'm guessing it's because it changed a setting somewhere). If it helps, I am using Ubuntu 19.04 and also tried switching one of the VPN protocols from UDP to TCP to no avail.










    share|improve this question




























      0












      0








      0








      I can no longer access the internet when using a VPN (I've tried two different vpns and multiple web browsers and wireless networks). I've noticed that ping www.google.com doesn't work when connected to VPN (works when not connected) but ping 8.8.8.8 does (I know that has something to do with the DNS but I am also rather inexperienced with this stuff). I have tried resetting network settings (sudo /etc/init.d/networking restart) but that didn't work. The only issue I can think of is that I tried installing clamav (I run some Windows software through crossover linux and wanted to be safe) and I think it stopped working after that/around that time (but I'm not positive that the two are linked- I tried uninstalling clamav but it did nothing so if that is the issue I'm guessing it's because it changed a setting somewhere). If it helps, I am using Ubuntu 19.04 and also tried switching one of the VPN protocols from UDP to TCP to no avail.










      share|improve this question















      I can no longer access the internet when using a VPN (I've tried two different vpns and multiple web browsers and wireless networks). I've noticed that ping www.google.com doesn't work when connected to VPN (works when not connected) but ping 8.8.8.8 does (I know that has something to do with the DNS but I am also rather inexperienced with this stuff). I have tried resetting network settings (sudo /etc/init.d/networking restart) but that didn't work. The only issue I can think of is that I tried installing clamav (I run some Windows software through crossover linux and wanted to be safe) and I think it stopped working after that/around that time (but I'm not positive that the two are linked- I tried uninstalling clamav but it did nothing so if that is the issue I'm guessing it's because it changed a setting somewhere). If it helps, I am using Ubuntu 19.04 and also tried switching one of the VPN protocols from UDP to TCP to no avail.







      internet dns vpn






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 14 at 18:13









      idontknowwhatimdoingidontknowwhatimdoing

      64 bronze badges




      64 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0


















          Ended up figuring it out. The next day I couldn't access the internet at all (with or without VPN). The issue was definitely with the DNS, both based on the ping results in my question and because the chrome error was "DNS_PROBE_RESULT_BAD_CONFIG" (hadn't seen that before).



          After looking a little bit more closely, I found some posts that recommended adjusting the resolv.conf or resolv.conf.d/head,tail files to correct the issue. There should have been a symbolic resolv.conf link in my /etc/ directory, but instead it was an immutable ASCII file (so I couldn't edit the file, and trying to use the resolv.conf package resulted in errors.



          Eventually I figured out the solution through a combination of shots in the dark and guidance from entering terminal commands.



          My solution was (not sure if all steps are necessary):
          1: Remove resolvconf (sudo apt autoremove resolvconf)
          2: Try reinstalling resolvconf (sudo apt-get install resolvconf)
          3: Fix the immutable resolv.conf text file: (sudo chattr -i /etc/resolv.conf and then sudo dpkg --configure resolvconf)
          4: Remove and reinstalled again for good measure



          I also noticed that before, I had a resolv.conf.vpn file in the /etc/ directory that was removed when I completed the above steps, so I think that was my original issue. I'm not quite sure how I broke it in the first place (fairly confident it was my fault though as I was trying some commands I didn't fully understand), but that fix worked for me!






          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/4.0/"u003ecc by-sa 4.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%2f1151128%2fcant-connect-to-internet-when-using-vpnq%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


















            Ended up figuring it out. The next day I couldn't access the internet at all (with or without VPN). The issue was definitely with the DNS, both based on the ping results in my question and because the chrome error was "DNS_PROBE_RESULT_BAD_CONFIG" (hadn't seen that before).



            After looking a little bit more closely, I found some posts that recommended adjusting the resolv.conf or resolv.conf.d/head,tail files to correct the issue. There should have been a symbolic resolv.conf link in my /etc/ directory, but instead it was an immutable ASCII file (so I couldn't edit the file, and trying to use the resolv.conf package resulted in errors.



            Eventually I figured out the solution through a combination of shots in the dark and guidance from entering terminal commands.



            My solution was (not sure if all steps are necessary):
            1: Remove resolvconf (sudo apt autoremove resolvconf)
            2: Try reinstalling resolvconf (sudo apt-get install resolvconf)
            3: Fix the immutable resolv.conf text file: (sudo chattr -i /etc/resolv.conf and then sudo dpkg --configure resolvconf)
            4: Remove and reinstalled again for good measure



            I also noticed that before, I had a resolv.conf.vpn file in the /etc/ directory that was removed when I completed the above steps, so I think that was my original issue. I'm not quite sure how I broke it in the first place (fairly confident it was my fault though as I was trying some commands I didn't fully understand), but that fix worked for me!






            share|improve this answer






























              0


















              Ended up figuring it out. The next day I couldn't access the internet at all (with or without VPN). The issue was definitely with the DNS, both based on the ping results in my question and because the chrome error was "DNS_PROBE_RESULT_BAD_CONFIG" (hadn't seen that before).



              After looking a little bit more closely, I found some posts that recommended adjusting the resolv.conf or resolv.conf.d/head,tail files to correct the issue. There should have been a symbolic resolv.conf link in my /etc/ directory, but instead it was an immutable ASCII file (so I couldn't edit the file, and trying to use the resolv.conf package resulted in errors.



              Eventually I figured out the solution through a combination of shots in the dark and guidance from entering terminal commands.



              My solution was (not sure if all steps are necessary):
              1: Remove resolvconf (sudo apt autoremove resolvconf)
              2: Try reinstalling resolvconf (sudo apt-get install resolvconf)
              3: Fix the immutable resolv.conf text file: (sudo chattr -i /etc/resolv.conf and then sudo dpkg --configure resolvconf)
              4: Remove and reinstalled again for good measure



              I also noticed that before, I had a resolv.conf.vpn file in the /etc/ directory that was removed when I completed the above steps, so I think that was my original issue. I'm not quite sure how I broke it in the first place (fairly confident it was my fault though as I was trying some commands I didn't fully understand), but that fix worked for me!






              share|improve this answer




























                0














                0










                0









                Ended up figuring it out. The next day I couldn't access the internet at all (with or without VPN). The issue was definitely with the DNS, both based on the ping results in my question and because the chrome error was "DNS_PROBE_RESULT_BAD_CONFIG" (hadn't seen that before).



                After looking a little bit more closely, I found some posts that recommended adjusting the resolv.conf or resolv.conf.d/head,tail files to correct the issue. There should have been a symbolic resolv.conf link in my /etc/ directory, but instead it was an immutable ASCII file (so I couldn't edit the file, and trying to use the resolv.conf package resulted in errors.



                Eventually I figured out the solution through a combination of shots in the dark and guidance from entering terminal commands.



                My solution was (not sure if all steps are necessary):
                1: Remove resolvconf (sudo apt autoremove resolvconf)
                2: Try reinstalling resolvconf (sudo apt-get install resolvconf)
                3: Fix the immutable resolv.conf text file: (sudo chattr -i /etc/resolv.conf and then sudo dpkg --configure resolvconf)
                4: Remove and reinstalled again for good measure



                I also noticed that before, I had a resolv.conf.vpn file in the /etc/ directory that was removed when I completed the above steps, so I think that was my original issue. I'm not quite sure how I broke it in the first place (fairly confident it was my fault though as I was trying some commands I didn't fully understand), but that fix worked for me!






                share|improve this answer














                Ended up figuring it out. The next day I couldn't access the internet at all (with or without VPN). The issue was definitely with the DNS, both based on the ping results in my question and because the chrome error was "DNS_PROBE_RESULT_BAD_CONFIG" (hadn't seen that before).



                After looking a little bit more closely, I found some posts that recommended adjusting the resolv.conf or resolv.conf.d/head,tail files to correct the issue. There should have been a symbolic resolv.conf link in my /etc/ directory, but instead it was an immutable ASCII file (so I couldn't edit the file, and trying to use the resolv.conf package resulted in errors.



                Eventually I figured out the solution through a combination of shots in the dark and guidance from entering terminal commands.



                My solution was (not sure if all steps are necessary):
                1: Remove resolvconf (sudo apt autoremove resolvconf)
                2: Try reinstalling resolvconf (sudo apt-get install resolvconf)
                3: Fix the immutable resolv.conf text file: (sudo chattr -i /etc/resolv.conf and then sudo dpkg --configure resolvconf)
                4: Remove and reinstalled again for good measure



                I also noticed that before, I had a resolv.conf.vpn file in the /etc/ directory that was removed when I completed the above steps, so I think that was my original issue. I'm not quite sure how I broke it in the first place (fairly confident it was my fault though as I was trying some commands I didn't fully understand), but that fix worked for me!







                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Jun 15 at 16:08









                idontknowwhatimdoingidontknowwhatimdoing

                64 bronze badges




                64 bronze badges































                    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%2f1151128%2fcant-connect-to-internet-when-using-vpnq%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?