UDP Trash Hack for WireGuard on AsusWRT Merlin
Проверяем, что включен пункт меню Enable JFFS custom scripts and configs
- Кладём файл
wgclient-startв/jffs/scripts/ - Делаем скрипт запускаемым
| #!/bin/bash | |
| # The script must be executed as the root user, or it will fail. | |
| # You must have "Container Manager" installed before running this script. | |
| # Additionally, "Emby Server" must be running or the script will do nothing. | |
| # Manually run the script once to apply free Emby Premiere patch. | |
| # Make sure to update the ASSET_PREFIX and ASSET_SUFFIX based on your Synology model. | |
| # Check your asset prefix and suffix from here: https://github.com/MediaBrowser/Emby.Releases/releases/latest | |
| # CAUTION: Tested only on emby-server-synology72_4.8.10.0_x86_64.spk. Compatibility with other versions is no guarantee. |
Проверяем, что включен пункт меню Enable JFFS custom scripts and configs
wgclient-start в /jffs/scripts/Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.
Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..."
После DNS добавляем новую строку
This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...
Each major task has its own gist, this is to help with maitainability long term.
| #!/bin/sh | |
| # Assumes backup was made using sysupgrade -k -b <name> | |
| # Paste package list into /etc/backup/installed_packages.txt | |
| # Reinstalls packages (ignoring source descriptors "overlay" and "rom" using awk) | |
| opkg update | |
| cat /etc/backup/installed_packages.txt | awk 'gsub(/overlay|rom/, ""){print}' | xargs opkg install | |
| # Clean up duplicate conffiles generated by OPKG | |
| rm /etc/*/*-opkg | |
| echo "Done. Any duplicate conffiles created by OPKG have been deleted" |
iperf3 serverwg-quick down wg0/etc/wireguard/wg0.conf fileRemove 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 beginning of this script.
| :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 |
Made possible with this reddit post.
wine regedit wine-breeze-dark.reg
wine regedit wine-reset-theme.reg