Categories
Developer

CGNAT traversal solutions

As the world quickly runs out, or rather have ran out of IPv4 addresses, more and more people are getting their self-hosting dreams curb-stomped by CGNAT, or carrier-grade NAT. Ever notice how the WAN IP on your router doesn’t match up to whatever is shown on public services? A good sign that you’re behind a […]

Categories
Linux

GPG: The Complete Crash Course

I’ve always wanted to write this blog post someday, but found it quite difficult because even I didn’t know the fundamentals behind GPG, and how it all worked behind the scenes. So it’s extremely satisfying to finally release this today. Of course, since I’m only human there will probably be lots of mistakes. If you […]

Categories
Linux

Setting up nginx and certbot on CloudFlare DNS

If you want to mitigate DDoS attacks in this day and age, CloudFlare is pretty much the only answer. That, and large CDNs around the world operated by the likes of Google and Amazon, but I’m no enterprise entity and can’t pay thousands of dollars every month just to show my crap blog posts on […]

Categories
China

Using image recognition to make Chinese classes easier

I suck at Chinese. If someone asks me to read a Chinese story, I can’t do it unless it’s extremely easy or has pinyin on top of it. So what do you do when you find a block of text that you can’t read? “Ah, just copy that into Google Translate! It shows you the […]

Categories
China Linux

Using tinc to get around double-NAT

When I came back to China in 2018, I learned the hard way that the network carriers don’t give out public IPv4 addresses anymore. Now, you’re stuck behind their NAT, using the same IP address as everyone else, forced to live that peasant life. I mean, sure, it’s not a big problem for 95% of […]