Can ping the website with domain name but can't browse them , why?












1















Some websites like twitter and facebook and youtube are blocked in my country so I need to use VPN so I can access to them , and I didn't have any problem with them until today



The problem is I can ping all these websites that I mentioned (with vpn on) but I can't browse them with chrome or firefox

I set my DNS with the resolveconf/head file and also I can connect with telnet to any of them telnet twitter.com 80 so I can make a TCP connection to them
The only change I made today was about wifi driver and as far as I know it doesn't have any effect on this (if it has tell me )



Is there any settings that I haven't looked at yet ?!



PS: All websites that aren't blocked work well, only have problem with blocked websites that shouldn't be blocked anymore when I'm using VPN ( I can ping them by their domain name but can't brows them with Browsers , that't really interesting !! )



default dev ppp0 proto static scope link metric 50 
default via 192.168.1.1 dev wlp2s0 proto dhcp metric 600
10.10.0.0 dev ppp0 proto kernel scope link src 10.10.16.225 metric 50
169.254.0.0/16 dev wlp2s0 scope link metric 1000
185.180.15.243 via 192.168.1.1 dev wlp2s0 src 192.168.1.120
185.180.15.243 via 192.168.1.1 dev wlp2s0 proto static metric 600
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.120 metric 600
192.168.1.1 dev wlp2s0 proto static scope link metric 600
192.168.61.0/24 dev vmnet1 proto kernel scope link src 192.168.61.1
192.168.223.0/24 dev vmnet8 proto kernel scope link src 192.168.223.1









share|improve this question

























  • It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

    – Ryan J. Yoder
    Mar 14 at 23:51











  • I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

    – Afshin
    Mar 16 at 21:33


















1















Some websites like twitter and facebook and youtube are blocked in my country so I need to use VPN so I can access to them , and I didn't have any problem with them until today



The problem is I can ping all these websites that I mentioned (with vpn on) but I can't browse them with chrome or firefox

I set my DNS with the resolveconf/head file and also I can connect with telnet to any of them telnet twitter.com 80 so I can make a TCP connection to them
The only change I made today was about wifi driver and as far as I know it doesn't have any effect on this (if it has tell me )



Is there any settings that I haven't looked at yet ?!



PS: All websites that aren't blocked work well, only have problem with blocked websites that shouldn't be blocked anymore when I'm using VPN ( I can ping them by their domain name but can't brows them with Browsers , that't really interesting !! )



default dev ppp0 proto static scope link metric 50 
default via 192.168.1.1 dev wlp2s0 proto dhcp metric 600
10.10.0.0 dev ppp0 proto kernel scope link src 10.10.16.225 metric 50
169.254.0.0/16 dev wlp2s0 scope link metric 1000
185.180.15.243 via 192.168.1.1 dev wlp2s0 src 192.168.1.120
185.180.15.243 via 192.168.1.1 dev wlp2s0 proto static metric 600
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.120 metric 600
192.168.1.1 dev wlp2s0 proto static scope link metric 600
192.168.61.0/24 dev vmnet1 proto kernel scope link src 192.168.61.1
192.168.223.0/24 dev vmnet8 proto kernel scope link src 192.168.223.1









share|improve this question

























  • It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

    – Ryan J. Yoder
    Mar 14 at 23:51











  • I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

    – Afshin
    Mar 16 at 21:33
















1












1








1








Some websites like twitter and facebook and youtube are blocked in my country so I need to use VPN so I can access to them , and I didn't have any problem with them until today



The problem is I can ping all these websites that I mentioned (with vpn on) but I can't browse them with chrome or firefox

I set my DNS with the resolveconf/head file and also I can connect with telnet to any of them telnet twitter.com 80 so I can make a TCP connection to them
The only change I made today was about wifi driver and as far as I know it doesn't have any effect on this (if it has tell me )



Is there any settings that I haven't looked at yet ?!



PS: All websites that aren't blocked work well, only have problem with blocked websites that shouldn't be blocked anymore when I'm using VPN ( I can ping them by their domain name but can't brows them with Browsers , that't really interesting !! )



default dev ppp0 proto static scope link metric 50 
default via 192.168.1.1 dev wlp2s0 proto dhcp metric 600
10.10.0.0 dev ppp0 proto kernel scope link src 10.10.16.225 metric 50
169.254.0.0/16 dev wlp2s0 scope link metric 1000
185.180.15.243 via 192.168.1.1 dev wlp2s0 src 192.168.1.120
185.180.15.243 via 192.168.1.1 dev wlp2s0 proto static metric 600
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.120 metric 600
192.168.1.1 dev wlp2s0 proto static scope link metric 600
192.168.61.0/24 dev vmnet1 proto kernel scope link src 192.168.61.1
192.168.223.0/24 dev vmnet8 proto kernel scope link src 192.168.223.1









share|improve this question
















Some websites like twitter and facebook and youtube are blocked in my country so I need to use VPN so I can access to them , and I didn't have any problem with them until today



The problem is I can ping all these websites that I mentioned (with vpn on) but I can't browse them with chrome or firefox

I set my DNS with the resolveconf/head file and also I can connect with telnet to any of them telnet twitter.com 80 so I can make a TCP connection to them
The only change I made today was about wifi driver and as far as I know it doesn't have any effect on this (if it has tell me )



Is there any settings that I haven't looked at yet ?!



PS: All websites that aren't blocked work well, only have problem with blocked websites that shouldn't be blocked anymore when I'm using VPN ( I can ping them by their domain name but can't brows them with Browsers , that't really interesting !! )



default dev ppp0 proto static scope link metric 50 
default via 192.168.1.1 dev wlp2s0 proto dhcp metric 600
10.10.0.0 dev ppp0 proto kernel scope link src 10.10.16.225 metric 50
169.254.0.0/16 dev wlp2s0 scope link metric 1000
185.180.15.243 via 192.168.1.1 dev wlp2s0 src 192.168.1.120
185.180.15.243 via 192.168.1.1 dev wlp2s0 proto static metric 600
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.120 metric 600
192.168.1.1 dev wlp2s0 proto static scope link metric 600
192.168.61.0/24 dev vmnet1 proto kernel scope link src 192.168.61.1
192.168.223.0/24 dev vmnet8 proto kernel scope link src 192.168.223.1






networking vpn browser






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 17 at 9:22









Steve

1826




1826










asked Mar 14 at 22:53









AfshinAfshin

266




266













  • It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

    – Ryan J. Yoder
    Mar 14 at 23:51











  • I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

    – Afshin
    Mar 16 at 21:33





















  • It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

    – Ryan J. Yoder
    Mar 14 at 23:51











  • I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

    – Afshin
    Mar 16 at 21:33



















It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

– Ryan J. Yoder
Mar 14 at 23:51





It sounds like your connection is not being routed over your VPN. Could you run sudo route and add the output here.

– Ryan J. Yoder
Mar 14 at 23:51













I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

– Afshin
Mar 16 at 21:33







I don't know what's happening here ! now I can ping and browse some sites like twitter but I can't do the same for facebook or youtube.com , today's morning all works well , last night nothing work correctly , I hope you can help me dud , here it is ip route output command ( I edit the Post) @RyanJ.Yoder

– Afshin
Mar 16 at 21:33












1 Answer
1






active

oldest

votes


















0














I've searched many topics for this problem and I finally resolve the problem , the problem was the size of MTU packets of my Wlan card
I reduce it to 1200 ( previous size was 1500 ) with sudo ifconfig wlp2s0 mtu 1200
command ( wlp2s0 is my wireless card) and the problem was solved






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%2f1125773%2fcan-ping-the-website-with-domain-name-but-cant-browse-them-why%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














    I've searched many topics for this problem and I finally resolve the problem , the problem was the size of MTU packets of my Wlan card
    I reduce it to 1200 ( previous size was 1500 ) with sudo ifconfig wlp2s0 mtu 1200
    command ( wlp2s0 is my wireless card) and the problem was solved






    share|improve this answer






























      0














      I've searched many topics for this problem and I finally resolve the problem , the problem was the size of MTU packets of my Wlan card
      I reduce it to 1200 ( previous size was 1500 ) with sudo ifconfig wlp2s0 mtu 1200
      command ( wlp2s0 is my wireless card) and the problem was solved






      share|improve this answer




























        0












        0








        0







        I've searched many topics for this problem and I finally resolve the problem , the problem was the size of MTU packets of my Wlan card
        I reduce it to 1200 ( previous size was 1500 ) with sudo ifconfig wlp2s0 mtu 1200
        command ( wlp2s0 is my wireless card) and the problem was solved






        share|improve this answer















        I've searched many topics for this problem and I finally resolve the problem , the problem was the size of MTU packets of my Wlan card
        I reduce it to 1200 ( previous size was 1500 ) with sudo ifconfig wlp2s0 mtu 1200
        command ( wlp2s0 is my wireless card) and the problem was solved







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago

























        answered 2 days ago









        AfshinAfshin

        266




        266






























            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%2f1125773%2fcan-ping-the-website-with-domain-name-but-cant-browse-them-why%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b