Hosting your own VPN?

Poor university student here. I have free gigabit internet provided by the university (BSNL) in my dorm room. Unfortunately, it’s heavily filtered and random websites are blocked out of the blue. I also suspect they might as well be maintaining logs considering their weird rules and restrictions. Decided to invest in a VPN but they’re not that fast and I don’t really need 120+ severs around the world, so thought hosting my own would be a nice idea. It’s less than half the price as well.

I own a few Oracle Cloud VMs and unfortunately, their ISP happens to be airtel and there’s a bunch of stuff blocked there as well. DigitalOcean seems to have good speeds but will I face the same problem there? Are there any other providers that I can try? Azure and GCP have no free bandwidth tier and kinda expensive for networking.

Or do I just give up and buy a proper VPN?

3 Likes

Thank you for this recommendation :slight_smile:

Take a look at Tailscale. It’s what I use too. I just happen to route all my internet traffic from anywhere through my RPI4 at home.

Mesh networking is amazing!

Yes, You will.

Digital ocean BLR/Linode Mumbai use Airtel as their upstream which blocks certain sites although significantly less than the Indian residential ISPs.

Best approach to spin up servers in Singapore or Bahrain and route your traffic via those servers.

VPN services use other providers like leaseweb in some cases but you may encounter this issue with some VPNs(when egress country is India).

2 Likes

If you’re comfortable with self hosting your own VPN, try renting a VPS in Singapore and self hosting algo. You can also look at PiVPN. Tailscale is another option as @TheJoker mentioned before.

If you’re not comfortable with self hosting and you’re okay with paying money, I can recommend Mullvad and IVPN. They have a simple and sensible pricing policy and have mostly stayed away from controversy. Both of them also have WireGuard servers in Singapore.

The easiest (and free) option is to use Tor. However, you might face issues with speed, captchas, or websites rejecting to work.

You should keep in mind that if you’re using Internet from a university, your VPN traffic might end up getting blocked if the network administrators of your university end up detecting unusual traffic.

1 Like

What u need my friend is just host a dns server on vm. Most basic blocking is done on dns level. Search pi hole for starters.
If u are concerned about logs then vpn might be better.

What u need my friend is just host a dns server on vm. Most basic blocking is done on dns level. Search pi hole for starters.
If u are concerned about logs then vpn might be better.

I’ve tried changing the DNS; it’s the first thing I did. It’s not just DNS based blocking.
AFAIK the only way to circumvent this is via a proxy or a VPN.

And also I’m not really concerned about being logged, it’s just that I want the freedom to access whatever I want; I’m not going to be doing anything illegal.

@TheJoker how well does that work with speed and latency?

Thanks for the detailed answers in this thread. That’s what I was looking for !

Hey, if you’re looking to unblock sites, you can just use Tailscale for routing your DNS queries and see if it works.

how well does that work with speed and latency?

I’ve found it to be better than most VPN’s I’ve used.

One advantage of having your own VPN server is it’s far less likely that anyone will take an interest in your web traffic . The web hosting service could monitor what you’re doing, in theory, but they make their 192.168.l.254 money selling web space and don’t need to log your every online move. How much does it cost to build your own VPN? At most, it’s going to cost you around $5-$10 to build your own VPN. This includes the costs of renting a cloud server primarily. The rest is free and easily doable