Skip to content

Instantly share code, notes, and snippets.

@Ghosthree3
Ghosthree3 / 90-dracut-install.hook
Created February 18, 2022 04:35
Modified dracut-hook files
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/dracut/*
[Action]
Description = Updating initramfs...
When = PostTransaction
@Ghosthree3
Ghosthree3 / vpnns.sh
Last active January 1, 2024 11:21
Script for setting up locked down Network Namespaces with a different VPN in each
#!/usr/bin/env bash
set -o pipefail
# This script sets up an additional network namespace for every VPN you wish so that you may
# use any VPN at any time for any program without tunneling everything else on your system.
# Usage:
# Review and edit every line of this script not in a function, then run it as root
# on system startup (yes every reboot), eg. crontab @reboot /root/bin/vpnns.sh
# It is recommended that you run this script manually at least once as you will

Keybase proof

I hereby claim:

  • I am ghosthree3 on github.
  • I am ghosthree3 (https://keybase.io/ghosthree3) on keybase.
  • I have a public key ASBE_HhAnBq_We7vo4DXv0KWp-dq-YP5XN_Ga6J9kcjCVQo

To claim this, I am signing this object: