Categories
Android Apple Developer Linux

How to encrypt everything in your life

Big warning before we begin Encryption is only as strong as the schema that supports it. If the software has a vulnerability then your encrypted data may be as good as unencrypted data in the hands of adversaries. So make sure you keep all of your software up to date and follow best practices. I’m […]

Categories
Linux

Bits and pieces of the Raspberry Pi

While going through the moving boxes, I found both of my Raspberry Pis – both model 3B+, both unused for quite some time. Since one of these were used for OctoPi, I just hooked it back up to my 3D printer. That left my other Raspberry Pi. I thought of a fun project to work […]

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 […]

Categories
Games Linux

Set up a game server (Minecraft and Factorio)

Quick start script “I’m lazy and I need a script to do this for me” is my life-blood, and it should be yours, too! Therefore, I made some scripts that automate the process below. Check out this README file to see what command to run, in order to perform a one-line install on your server. […]

Categories
Linux

Setting up Duplicacy on UnRAID with Backblaze B2

I need a server backup. With over 4TB of data stored, the chances of getting data corruption are pretty high. In this post we’re going to look at Duplicacy, a tool that allows you to backup large amounts of data to any storage provider. So what is Duplicacy? Duplicacy is a backup/restore tool for servers. They […]

Categories
Linux

Set up U2F on Linux

It’s 2019, and Manjaro still does not ship with a working U2F implementation. Why, Linux!? Let’s get right to it, shall we? Missing udev rules Linux restricts USB devices by default, and in order to read and write from them, you need to relax the kernel by adding a couple of rules. Unfortunately, Manjaro does […]

Categories
Linux

Mounting VeraCrypt volumes on SMB

Preface Before we begin this article let me just get this out of the way. If you’re a Windows/macOS user, then this guide does not apply to you. VeraCrypt can mount files just fine on SMB shares. If you’re a Linux user and can mount VeraCrypt files no problem, then this guide isn’t for you. […]

Categories
Linux

Bypassing the NAT – Reverse SSH tunnel with port forwarding!

This was a really confusing and difficult article to write! But yes, I finally figured it out and wanted to share it with you guys. Hope the article helps someone! Problem I had recently moved to China, where I discovered that the carriers used CGNAT to combat the growing problem of shrinking IPv4 assignments. No […]

Categories
Linux

Create a Windows installer USB in Linux

A few days ago, I had to take a bunch of online courses for SAT and AP preparations. The problem? The website used something called “Kollus Player,” which only worked on Windows. sigh Even though I didn’t like it, the only solution was going back to Windows. (and yes, before you ask, I did try […]

Categories
Android Linux

Finding fstab on Android

When porting a new device, you need to figure out the mounting points for the various partitions on your phone. Maybe you need them to back up existing system files for dissection later, maybe you need to experimentally flash a build to a partition. Except, since it’s classic Android, there is no simple /etc/fstab file […]