Skip to content

Instantly share code, notes, and snippets.

@koolvn
koolvn / WG UDP hack on AsusWRT-Merlin.md
Last active November 13, 2024 01:16
UDP Trash Hack for WireGuard on AsusWRT Merlin

UDP Trash Hack for WireGuard on AsusWRT Merlin

Подготовка

Проверяем, что включен пункт меню Enable JFFS custom scripts and configs

image

Установка

  • Кладём файл wgclient-start в /jffs/scripts/
  • Делаем скрипт запускаемым
@httpsx
httpsx / WireGuard DPI обход РКН - Windows.md
Last active November 15, 2024 17:23
WireGuard DPI обход РКН - Windows

Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.

Шаг 0: Отключитесь от всех туннелей.

Шаг 1: Редактируем Клиент конфиг

Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..." Step1

После DNS добавляем новую строку

@danielchc
danielchc / docker-emby-bypass.md
Last active November 15, 2024 16:42
Emby Premiere: ByPass Docker container

Emby Premiere ByPass Docker container

❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it

Table of Contents

@scyto
scyto / docker-swarm-architecture.md
Last active November 13, 2024 11:24
My Docker Swarm Architecture
@nitred
nitred / optimal_mtu.md
Last active November 13, 2024 12:36
Wireguard Optimal MTU

About

  • I faced bandwidth issues between a WG Peer and a WG server. Download bandwidth when downloading from WG Server to WG peer was reduced significantly and upload bandwidth was practically non existent.
  • I found a few reddit posts that said that we need to choose the right MTU. So I wrote a script to find an optimal MTU.
  • Ideally I would have liked to have run all possible MTU configurations for both WG Server and WG Peer but for simplicity I choose to fix the WG Server to the original 1420 MTU and tried all MTUs from 1280 to 1500 for the WG Peer.

Testing

  • On WG server, I started an iperf3 server
  • On WG peer, I wrote a script that does the following:
    • wg-quick down wg0
  • Edit MTU in the /etc/wireguard/wg0.conf file
@JPRuskin
JPRuskin / README.md
Last active November 27, 2023 20:03
Remove old releases from a Nexus3-repository, originally from PhilSwiss/nexus-cleanup

Nexus Cleanup Logo

Nexus-Cleanup

Remove old releases from a Nexus3-repository

This Groovy-script will purge old versions (sorted by version-number) from a repository hosted on Nexus 3.x.

You can set the desired repository and a maximum amount of versions at the begining of this script.

@zarv1k
zarv1k / fGoogleIpRange.script
Last active October 11, 2024 12:02
Mikrotik: google ip-range JSON to address-list
:global fGoogleIpRange
if (!any $fGoogleIpRange) do={ :global fGoogleIpRange do={
:local addressList $1
:local ipRangeUrl $2
:local exceptionsJsonUrl $3
# load JSON parser - https://github.com/Winand/mikrotik-json-parser
/system script run JParseFunctions
# read file into JSONIn
@superseb
superseb / rke2-commands.md
Last active November 11, 2024 15:40
RKE2 commands

RKE2 commands

  • Updated on May 29 to accommodate etcd container not having /bin/sh available anymore.

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@Zeinok
Zeinok / wine-breeze-dark-theme.md
Last active November 5, 2024 02:15
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

@all3kcis
all3kcis / Emby-theater-premiere-bypass.md
Last active October 22, 2024 13:31
Emby Theater premiere bypass