Skip to main content

Networking

Accessing Ollama Remotely with Tailscale

Introduction # So about two months back, I moved to another city for work. My home PC — a fairly bulky Fedora machine that I’ve been calling titan — wasn’t something I was going to drag along in a bag. I left it behind at my hometown, plugged in and running on my home network. Before I left, I already had Tailscale configured on it, so at least I knew I could poke at it remotely if I needed to.

iptables - Advance Usage and Common Pitfalls

·3 mins
Introduction # In a previous post I have talked about introduction and basic usage with iptables. I did some more research on the subject and I found out more information about it which I would like to share with you. Best Practices for Configuring iptables Rules # When configuring iptables rules, it’s important to follow best practices to ensure that your firewall is effective and secure. Here are some best practices for configuring iptables rules:

iptables Explained: An Introduction to Linux Firewalling

·6 mins
Introduction # Not until recently, I was compelled to learn iptables when I was working with Firecracker VM. iptables is a tool to manipulate network packets. Iptables is a powerful and versatile firewall tool that is used to protect and secure networks. It is an open-source program that is installed on Linux-based operating systems. Iptables works by inspecting and filtering network traffic based on a set of rules. These rules define what traffic is allowed and what is blocked, based on criteria such as the source and destination IP address, port number, and protocol.

This is how you add Ad Blocker to OpenVPN enabled VPN

·8 mins
Introduction # We have previously seen how you can Spin up your own VPN on Ubuntu 20.04. Among many benefits, one of the benefits of the VPN is geographical anonymity. Today we are going to discuss and set up yet another benefit. We are going to tweak our VPN server set up a little bit to enable ad-blocker out of the box. Meaning that you won’t have to install an ad-blocker on your browser. It will be enabled connection-wide. You won’t be seeing any ads on devices that you can’t control ads on, like smart TV, etc.

How to Spin Up Your Own VPN on Ubuntu 20.04

·8 mins
Introduction # There are a plenty of VPN providers out there. What’s common between all of them? You can’t trust them. They may have a no-log policy but as a company, there is always a tendency that they might share our browsing data to some third party. In this post you’ll learn how you can spin up your own VPN with Amazon AWS.

Difference Between Handler, Handle and HandlerFunc

·6 mins
Introduction # Are you lost between Handle, HandleFunc, and HandlerFunc? If the answer is yes then this post is for you. To understand these pretty well we need to be familiar with interafces. Although interface is just a keyword, it’s confusing at first when you are switching from Python like language; which does not have a similar keyword.