192.168.0.0/24 에서 출발하여 특정 도메인/지역으로 향하는 트래픽을 192.168.0.1/32 대신 Wireguard VPN으로 터널
- Main NAT: 192.168.0.0/24 (UniFi)
- Mullvad Wireguard
| #!/usr/bin/env bash | |
| # | |
| # gh-dl-release! It works! | |
| # | |
| # This script downloads an asset from latest or specific Github release of a | |
| # private repo. Feel free to extract more of the variables into command line | |
| # parameters. | |
| # | |
| # PREREQUISITES | |
| # |
| diff --git a/PKGBUILD b/PKGBUILD | |
| index 413c1e5..1819232 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -1,27 +1,25 @@ | |
| pkgname=1password | |
| _tarver=8.9.10 | |
| -_tar="1password-${_tarver}.x64.tar.gz" | |
| +_tar="1password-latest.tar.gz" |
| diff --git a/PKGBUILD b/PKGBUILD | |
| index ba8af70..140239a 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -3,9 +3,9 @@ | |
| pkgname=("wezterm-git") | |
| pkgdesc="A terminal emulator implemented in Rust, using OpenGL ES 2 for rendering." | |
| -pkgver=20210916.085405.e36cf754 | |
| +pkgver=20230102.155114.67896f67 |
| diff --git a/.SRCINFO b/.SRCINFO | |
| index 24c390d..334813e 100644 | |
| --- a/.SRCINFO | |
| +++ b/.SRCINFO | |
| @@ -1,9 +1,9 @@ | |
| pkgbase = brave-beta-bin | |
| pkgdesc = Web browser that blocks ads and trackers by default (beta binary release). | |
| - pkgver = 1.48.115 | |
| + pkgver = 1.48.113 | |
| pkgrel = 1 |
| diff -Naur /home/kyujin/mlnx-ofed-patch/mlnx-ofed-kernel-4.9-orig/include/linux/sched/mm.h include/linux/sched/mm.h | |
| --- a/include/linux/sched/mm.h 2021-12-08 23:08:07.000000000 +0900 | |
| +++ b/include/linux/sched/mm.h 2022-08-05 17:28:35.539301521 +0900 | |
| @@ -35,18 +35,18 @@ | |
| #if !defined (HAVE_MMGET_STILL_VALID) && !defined(HAVE_MMGET_STILL_VALID_IN_SCHED_H) && !defined(HAVE_MMGET_STILL_VALID_IN_MM_H) | |
| /* | |
| * This has to be called after a get_task_mm()/mmget_not_zero() | |
| - * followed by taking the mmap_sem for writing before modifying the | |
| + * followed by taking the mmap_lock for writing before modifying the | |
| * vmas or anything the coredump pretends not to change from under it. |
cd into unpacked Pyhton-3.8.7 directorypatch -p0 < <path to patch file>$HOME/.pyenv/versions/3.8.7 when running configure script, and run make && make install| . |
| import requests | |
| import CloudFlare | |
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv(verbose=True) | |
| zone_name = os.environ['CF_ZONE_NAME'] | |
| dns_name = os.environ['CF_RECORD_NAME'] | |
| my_ip = res = requests.get('https://ipconfig.io', headers={'User-Agent': 'curl'}).text.strip() |