VPN for GitHub on networks that filter it

GitHub opens without a VPN on most networks. Some corporate, school and public Wi-Fi networks filter it, and that is where Ben's VPN helps. While the app is connected, every program on the computer reaches GitHub through the location you choose, including git and package managers.

Windows · macOS · Linux · iPhone and iPad · Android · Android TV

The Ben's VPN window for Linux, connected to Germany: the server address under the country name, the Disconnect button under the yellow B, and Location, Tunnel and Support below the card

5 parts of GitHub and the addresses behind them

GitHub spreads its work over several host names. A network filter can block one of them while github.com still opens. With the VPN connected, traffic to all of them goes through the tunnel, so there is no host list to keep.

  • Website, API and Git over HTTPS

    These use github.com and api.github.com. If the website does not open at all, the network blocks GitHub as a whole.

  • Raw files

    Single files from repositories come from raw.githubusercontent.com. Some install scripts load from there, so a block looks like a broken install while the website still opens.

  • Release downloads

    A click on a file under Releases redirects to release-assets.githubusercontent.com. Some packages also fetch their binaries from GitHub releases while they install.

  • GitHub Packages

    Container images come from ghcr.io, other package types from registries under pkg.github.com. A block here stops any build that pulls an image or a package from GitHub.

  • Git over SSH

    SSH uses port 22, and some networks close it. Git over SSH then hangs while HTTPS keeps working. GitHub also runs SSH on ssh.github.com, port 443, and that route needs no VPN.

Setup on a computer: 3 steps

  1. Install the app for your system

    Choose the Windows version, the Mac version or the Linux version. Linux has 2 builds of the same app: a .deb package (Ubuntu 22.04+, Debian 12+) and an AppImage.

  2. Press Connect

    Sign-up is not needed: the first start creates a guest account for this computer. If you have no subscription yet, Connect opens Buy Ben's VPN, and you pay for a plan in that window. A subscription bought earlier is added through Already have a subscription? → Sign in to account in the same window.

  3. Choose a nearby location

    Press Location and choose a nearby country. Each location carries a speed tag from 100 MBIT to 10 GBIT; for large repositories and releases, prefer a high one. Fastest picks a nearby location for you. After that, Git, package managers and your code editor use the VPN without any change to their network settings.

A work computer: company rules and a second VPN

On a company laptop, company policy applies. Ask your IT team whether a personal VPN is allowed before you install one.

The operating system runs only one VPN app at a time. If a company VPN is already connected, Ben's VPN shows Another VPN is active and asks you to disable the others. Disconnect one VPN before you connect the other.

Office hosts can stay outside the tunnel. Open Tunnel, choose Manual and list them one per line: a single IP, a subnet like 10.0.0.0/8 or a domain. Requests to those addresses then go directly, while GitHub stays on the VPN. Reconnect if the app asks you to.

Some limits stay the same whatever server you use. Where US trade controls apply, GitHub cuts back part of its service, and anyone named on a US sanctions list is restricted in every country. GitHub determines a user’s location from IP addresses and payment history. By its export policy, it does not sell or supply Copilot to a number of countries. A server elsewhere changes none of these rules. The GitHub Terms of Service also ban use that breaches export control or sanctions laws.

If your location list shows Iran or Cuba, do not use them for GitHub. Both are among the regions GitHub restricts, and a sign-in from there may affect your account.

Plans with no device limit

Plans have no traffic limit, so a VPN for GitHub handles a large clone or a container image without a special plan. You can buy the trial once, and it includes every location.

Bonus months come with purchases on this site. Refunds follow our refund policy. Send the request within 14 days of payment.

GitHub over a VPN: developer questions

Support 24/7: the chat on this site, Telegram @bensvpn and [email protected].

Will GitHub be faster with the VPN on?

Not on a network where GitHub already opens. The VPN adds our server to the route, so the path to GitHub gets longer. On such a network, press Disconnect for a large download and Connect when it finishes.

A script gets 403 or 429 from GitHub. Is the VPN the cause?

Possibly. Without authentication, the GitHub REST API accepts 60 requests per hour from one IP address. Through a VPN, GitHub sees the address of the location server, and if others reach GitHub from that address too, the limit runs out sooner. With an access token, the limit is counted per account and rises to 5,000 per hour. Since 8 May 2025, anonymous cloning over HTTPS and raw downloads have stricter limits too. A token for the script is the reliable fix; a new location is not.

Can the VPN server read my code?

No. Over HTTPS and over SSH alike, the connection between your computer and GitHub is encrypted. The server of the location only passes this encrypted traffic on.

Which location is best for GitHub?

The nearest one with a high speed tag. Distance adds delay to every git command, and the tag shows the speed class of the location. If any country will do, press Fastest, and the app picks a nearby location.

Start for 3 days, then decide

The trial costs $0.50 and opens all 187 countries and every app.

Mac App Store App Store Google Play