summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-09-14 19:16:06 -0700
committerhyang <hyang@hyang.xyz>2023-09-14 19:16:06 -0700
commit815239b27a8672e77b4076fff654f2cd81b2796f (patch)
tree91e98e6f1e42e1169846bd8dcc042faf92a943f2 /content
parent8927225a0270e2e7bb13265c3784fd62d8621100 (diff)
Update articles to accomodate new theme
Diffstat (limited to 'content')
-rw-r--r--content/post/setup.md6
-rw-r--r--content/post/split-tunnelling-for-wireguard-in-linux.md5
2 files changed, 5 insertions, 6 deletions
diff --git a/content/post/setup.md b/content/post/setup.md
index 4d7ed98..1f98a2d 100644
--- a/content/post/setup.md
+++ b/content/post/setup.md
@@ -6,12 +6,12 @@ draft: false
---
-# Hello Once Again
+## Hello Once Again
Welcome to my ~~third~~, first iteration of hyang.xyz. Now that my hosting stuff is stable again, I hope that I can finally stop messing around with Linux and start doing things that I can look back on years later. And what better way to do that than start writing blog posting?
(I also need an excuse to get better at writing…)
-# The Setup
+## The Setup
My adventures with hosting things on the online has been quite a wild ride for me. Until now, it has mostly been more of a learning experience thing. I had mostly focused on hosting stuff like SearX, Nitter, and Fediverse instances, with it lasting two weeks at most, before I got bored and just nuke it all. I also distro-hopped a lot, from Debian → Arch → OpenBSD → FreeBSD → NixOS.
Now that I have gotten old, now I just want things to just work!
@@ -40,4 +40,4 @@ In essence:
My small VPS contains a WireGuard server, which allows my home PC to securely communicate with my VPS. Along with that, it also contains Certbot for managing HTTPS certificates, and Nginx for reverse proxying. It also contains my Email server too.
-Originally, everything was managed via Nginx. However, logging into my VPS and reconfiguring Nginx every time I wanted to deploy something new was just cumbersome. I decided to try out Traefik, which works alongside Docker to handle most of the routing configurations. Thus, my Nginx now simply reverse proxies everything on port 80 and 443… to another reverse proxy! \ No newline at end of file
+Originally, everything was managed via Nginx. However, logging into my VPS and reconfiguring Nginx every time I wanted to deploy something new was just cumbersome. I decided to try out Traefik, which works alongside Docker to handle most of the routing configurations. Thus, my Nginx now simply reverse proxies everything on port 80 and 443… to another reverse proxy!
diff --git a/content/post/split-tunnelling-for-wireguard-in-linux.md b/content/post/split-tunnelling-for-wireguard-in-linux.md
index b4931a7..a2ab221 100644
--- a/content/post/split-tunnelling-for-wireguard-in-linux.md
+++ b/content/post/split-tunnelling-for-wireguard-in-linux.md
@@ -2,11 +2,10 @@
title: "Split Tunnelling for Wireguard in Linux"
date: 2023-09-08T17:18:39-07:00
description: How to split tunnel in Wireguard on Linux
+ShowToc: true
draft: false
---
-# How to split tunnel in Wireguard on Linux
-
If you're under a VPN with WireGuard on Linux, as of writing this, there seems to be a surprising lack of documentation for selectively split tunneling certain applications. Fortunately, with Linux [network namespaces](https://en.wikipedia.org/wiki/Cgroups), we are able to do just that.
## TL;DR
@@ -75,6 +74,6 @@ ip netns exec split curl ifconfig.me
```
Your residential IP should now show up instead of your VPN's IP.
-# Credits
+## Credits
- https://www.procustodibus.com/blog/2023/04/wireguard-netns-for-specific-apps/
- https://www.wireguard.com/netns/#the-new-namespace-solution