How do I Setup QuotaGuard VPN Tunneling?

    Question: “How can I do VPN Tunneling using Quotaguard?”

    Answer: We have a wrapper program call QGSocksify that can route traffic destined for specific IP ranges through our proxies.

    We have a few customers use this to send ALL of their outbound traffic through the proxy.

    Here are our instructions on how to accomplish this:

    1) Download QGSocksify and unpack into your project:

    curl | tar xz

    2) Change your startup code to use QG Socksify. In Heroku this is done with the Procfile. Prepend your existing application startup with bin/qgsocksify.

    So if you have a Procfile that looks like this:

    web: npm startworker: rails worker go

    Then change it to this:

    web: bin/qgsocksify npm startworker: bin/qgsocksify rails worker go

    3) Set the environment variable QUOTAGUARDSTATIC_MASK to this:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

    This should NOT mask out:

    • - LAN private range
    • - Loopback range
    • - LAN private range
    • - LAN private range
    • - multicast and reserved range

    Everything else should go through the QGSocksify.

    4) Commit and push your code.

    Be sure to add all of the files from the first step. You may have to force add the .so file with the following additional command:

    git add -f vendor/dante/lib/

    Do you want to send all your traffic through the VPN tunnel?

    We are required to say, this solution includes software developed by Inferno Nettverk A/S, Norway.

    We know this can be tricky to setup, so if you have questions, write us at Support.

    Ready to Get Started?

    Get in touch or create a free trial account