Private VPN compression for faster Internet

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












10















Background:



I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month.



I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as an automated Seedbox, an L2TP-IPSec VPN, a BTSync server, and an Apache server. I started building two months ago — knowing I wouldn't get blazing fast internet connection — so I'm rather new to Debian



Here is my question:



Is it possible to efficiently compress data over a private VPN? I know some iPhone and Android apps like Onavo Extend can achieve that, and I was wondering how I could put this kind of system in place (if it is indeed effective enough) so that my 4G-data usage would be lighter. If I ever come to installing/building such VPN, it should be compatible with:



  • Debian (the server),

  • Mac OS (my computer),

  • and iOS (my phone).

If you have any other suggestion on how I could speed up my school's WiFi. I did some tests on it; ping www.google.com times out, arp -a takes a long time, but eventually displays a few peers, and any speedtest (when the bad connection gives me Internet access) return 0.28 Mbps Down-Speeds.










share|improve this question
























  • As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

    – Scyld de Fraud
    Sep 12 '14 at 17:58












  • @ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

    – LaX
    Sep 12 '14 at 18:08











  • Don't cross-post.

    – Warren Young
    Sep 12 '14 at 19:01











  • @LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

    – Scyld de Fraud
    Sep 12 '14 at 19:10












  • I don't know if this is the same: unix.stackexchange.com/questions/103379

    – Teresa e Junior
    Sep 12 '14 at 19:39















10















Background:



I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month.



I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as an automated Seedbox, an L2TP-IPSec VPN, a BTSync server, and an Apache server. I started building two months ago — knowing I wouldn't get blazing fast internet connection — so I'm rather new to Debian



Here is my question:



Is it possible to efficiently compress data over a private VPN? I know some iPhone and Android apps like Onavo Extend can achieve that, and I was wondering how I could put this kind of system in place (if it is indeed effective enough) so that my 4G-data usage would be lighter. If I ever come to installing/building such VPN, it should be compatible with:



  • Debian (the server),

  • Mac OS (my computer),

  • and iOS (my phone).

If you have any other suggestion on how I could speed up my school's WiFi. I did some tests on it; ping www.google.com times out, arp -a takes a long time, but eventually displays a few peers, and any speedtest (when the bad connection gives me Internet access) return 0.28 Mbps Down-Speeds.










share|improve this question
























  • As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

    – Scyld de Fraud
    Sep 12 '14 at 17:58












  • @ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

    – LaX
    Sep 12 '14 at 18:08











  • Don't cross-post.

    – Warren Young
    Sep 12 '14 at 19:01











  • @LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

    – Scyld de Fraud
    Sep 12 '14 at 19:10












  • I don't know if this is the same: unix.stackexchange.com/questions/103379

    – Teresa e Junior
    Sep 12 '14 at 19:39













10












10








10


2






Background:



I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month.



I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as an automated Seedbox, an L2TP-IPSec VPN, a BTSync server, and an Apache server. I started building two months ago — knowing I wouldn't get blazing fast internet connection — so I'm rather new to Debian



Here is my question:



Is it possible to efficiently compress data over a private VPN? I know some iPhone and Android apps like Onavo Extend can achieve that, and I was wondering how I could put this kind of system in place (if it is indeed effective enough) so that my 4G-data usage would be lighter. If I ever come to installing/building such VPN, it should be compatible with:



  • Debian (the server),

  • Mac OS (my computer),

  • and iOS (my phone).

If you have any other suggestion on how I could speed up my school's WiFi. I did some tests on it; ping www.google.com times out, arp -a takes a long time, but eventually displays a few peers, and any speedtest (when the bad connection gives me Internet access) return 0.28 Mbps Down-Speeds.










share|improve this question
















Background:



I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month.



I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as an automated Seedbox, an L2TP-IPSec VPN, a BTSync server, and an Apache server. I started building two months ago — knowing I wouldn't get blazing fast internet connection — so I'm rather new to Debian



Here is my question:



Is it possible to efficiently compress data over a private VPN? I know some iPhone and Android apps like Onavo Extend can achieve that, and I was wondering how I could put this kind of system in place (if it is indeed effective enough) so that my 4G-data usage would be lighter. If I ever come to installing/building such VPN, it should be compatible with:



  • Debian (the server),

  • Mac OS (my computer),

  • and iOS (my phone).

If you have any other suggestion on how I could speed up my school's WiFi. I did some tests on it; ping www.google.com times out, arp -a takes a long time, but eventually displays a few peers, and any speedtest (when the bad connection gives me Internet access) return 0.28 Mbps Down-Speeds.







debian osx vpn compression ios






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 24 '16 at 22:26









Tomasz

10.2k53068




10.2k53068










asked Sep 12 '14 at 17:50









LaXLaX

304212




304212












  • As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

    – Scyld de Fraud
    Sep 12 '14 at 17:58












  • @ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

    – LaX
    Sep 12 '14 at 18:08











  • Don't cross-post.

    – Warren Young
    Sep 12 '14 at 19:01











  • @LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

    – Scyld de Fraud
    Sep 12 '14 at 19:10












  • I don't know if this is the same: unix.stackexchange.com/questions/103379

    – Teresa e Junior
    Sep 12 '14 at 19:39

















  • As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

    – Scyld de Fraud
    Sep 12 '14 at 17:58












  • @ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

    – LaX
    Sep 12 '14 at 18:08











  • Don't cross-post.

    – Warren Young
    Sep 12 '14 at 19:01











  • @LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

    – Scyld de Fraud
    Sep 12 '14 at 19:10












  • I don't know if this is the same: unix.stackexchange.com/questions/103379

    – Teresa e Junior
    Sep 12 '14 at 19:39
















As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

– Scyld de Fraud
Sep 12 '14 at 17:58






As far as I know l2tp ant pptp both provide compression. If it's not efficient enough for you, try openvpn instead. Maybe it can do better.

– Scyld de Fraud
Sep 12 '14 at 17:58














@ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

– LaX
Sep 12 '14 at 18:08





@ScylddeFraud Do you have any link on how their compression algorithms compare to each other?

– LaX
Sep 12 '14 at 18:08













Don't cross-post.

– Warren Young
Sep 12 '14 at 19:01





Don't cross-post.

– Warren Young
Sep 12 '14 at 19:01













@LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

– Scyld de Fraud
Sep 12 '14 at 19:10






@LaX: Only this comparission. It's about pptp vs openvpn but l2tp uses the same as far as MPPC method works on PPP layer.

– Scyld de Fraud
Sep 12 '14 at 19:10














I don't know if this is the same: unix.stackexchange.com/questions/103379

– Teresa e Junior
Sep 12 '14 at 19:39





I don't know if this is the same: unix.stackexchange.com/questions/103379

– Teresa e Junior
Sep 12 '14 at 19:39










3 Answers
3






active

oldest

votes


















3














What I found to be a good solution for me was Ziproxy.



It's an http compression proxy that is able to compress big html assets, like images, so that webpages are lighter. As it's a proxy, it works with or without a VPN. It's also very easy to configure.






share|improve this answer






























    0














    You can create a poor man's SSL tunnel from a local port with ssh:



    ssh -D <local_port> -C <user>@<server>



    Then you can browse via that proxy with Chrome/Chromium:



    chromium --proxy-server=socks5://localhost:<local_port>



    Things to keep in mind:



    • Port forwarding of the server's TCP 22 port (SSH) is required

    • The reason I mention "poor man's" is because the connection might drop, in which case the SSH client will be unresponsive. In addition,





    share|improve this answer






























      0














      As an alternative to Ziproxy, there is https://github.com/barnacs/compy, which seems to be more alive as a projct.






      share|improve this answer






















        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',
        autoActivateHeartbeat: false,
        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%2f155307%2fprivate-vpn-compression-for-faster-internet%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3














        What I found to be a good solution for me was Ziproxy.



        It's an http compression proxy that is able to compress big html assets, like images, so that webpages are lighter. As it's a proxy, it works with or without a VPN. It's also very easy to configure.






        share|improve this answer



























          3














          What I found to be a good solution for me was Ziproxy.



          It's an http compression proxy that is able to compress big html assets, like images, so that webpages are lighter. As it's a proxy, it works with or without a VPN. It's also very easy to configure.






          share|improve this answer

























            3












            3








            3







            What I found to be a good solution for me was Ziproxy.



            It's an http compression proxy that is able to compress big html assets, like images, so that webpages are lighter. As it's a proxy, it works with or without a VPN. It's also very easy to configure.






            share|improve this answer













            What I found to be a good solution for me was Ziproxy.



            It's an http compression proxy that is able to compress big html assets, like images, so that webpages are lighter. As it's a proxy, it works with or without a VPN. It's also very easy to configure.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 27 '14 at 7:44









            LaXLaX

            304212




            304212























                0














                You can create a poor man's SSL tunnel from a local port with ssh:



                ssh -D <local_port> -C <user>@<server>



                Then you can browse via that proxy with Chrome/Chromium:



                chromium --proxy-server=socks5://localhost:<local_port>



                Things to keep in mind:



                • Port forwarding of the server's TCP 22 port (SSH) is required

                • The reason I mention "poor man's" is because the connection might drop, in which case the SSH client will be unresponsive. In addition,





                share|improve this answer



























                  0














                  You can create a poor man's SSL tunnel from a local port with ssh:



                  ssh -D <local_port> -C <user>@<server>



                  Then you can browse via that proxy with Chrome/Chromium:



                  chromium --proxy-server=socks5://localhost:<local_port>



                  Things to keep in mind:



                  • Port forwarding of the server's TCP 22 port (SSH) is required

                  • The reason I mention "poor man's" is because the connection might drop, in which case the SSH client will be unresponsive. In addition,





                  share|improve this answer

























                    0












                    0








                    0







                    You can create a poor man's SSL tunnel from a local port with ssh:



                    ssh -D <local_port> -C <user>@<server>



                    Then you can browse via that proxy with Chrome/Chromium:



                    chromium --proxy-server=socks5://localhost:<local_port>



                    Things to keep in mind:



                    • Port forwarding of the server's TCP 22 port (SSH) is required

                    • The reason I mention "poor man's" is because the connection might drop, in which case the SSH client will be unresponsive. In addition,





                    share|improve this answer













                    You can create a poor man's SSL tunnel from a local port with ssh:



                    ssh -D <local_port> -C <user>@<server>



                    Then you can browse via that proxy with Chrome/Chromium:



                    chromium --proxy-server=socks5://localhost:<local_port>



                    Things to keep in mind:



                    • Port forwarding of the server's TCP 22 port (SSH) is required

                    • The reason I mention "poor man's" is because the connection might drop, in which case the SSH client will be unresponsive. In addition,






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 19 at 11:31









                    danukerdanuker

                    1717




                    1717





















                        0














                        As an alternative to Ziproxy, there is https://github.com/barnacs/compy, which seems to be more alive as a projct.






                        share|improve this answer



























                          0














                          As an alternative to Ziproxy, there is https://github.com/barnacs/compy, which seems to be more alive as a projct.






                          share|improve this answer

























                            0












                            0








                            0







                            As an alternative to Ziproxy, there is https://github.com/barnacs/compy, which seems to be more alive as a projct.






                            share|improve this answer













                            As an alternative to Ziproxy, there is https://github.com/barnacs/compy, which seems to be more alive as a projct.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 19 at 12:08









                            Hannes SnögrenHannes Snögren

                            111




                            111



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • 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%2funix.stackexchange.com%2fquestions%2f155307%2fprivate-vpn-compression-for-faster-internet%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 check contact read email or not when send email to Individual?

                                Bahrain

                                Postfix configuration issue with fips on centos 7; mailgun relay