Skip to content

Instantly share code, notes, and snippets.

View vimagick's full-sized avatar
🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰

K̶e̶v̶i̶n̶ vimagick

🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰
View GitHub Profile
@vimagick
vimagick / README.md
Last active October 15, 2026 07:26
Run Cracked RouterOS VirtualBox VM

Official Cracked Tutorial

VirtualBox NIC Settings:

  • NIC 1: NAT (ether1 - WAN) DHCP
@vimagick
vimagick / README.md
Last active October 15, 2026 07:36
Windows autostart VirtualBox VM at startup

Static Badge Static Badge

Create a system env var

@vimagick
vimagick / README.md
Created October 8, 2026 01:50
ufw-blocklist-ipsum

Static Badge

Static Badge

Important

China cannot access github.com, so https_proxy is needed!

@vimagick
vimagick / README.md
Last active October 6, 2026 06:27
Free Netify Application Domains Data Feeds
@vimagick
vimagick / README.md
Last active October 5, 2026 12:26
Running MQTT Server on OpenWrt

Server

apk update
apk install mosquitto-ssl mosquitto-client-ssl
cd /etc/mosquitto
touch acl passwd
mosquitto_passwd -b passwd admin secret
touch /etc/config/mosquitto
chown mosquitto:mosquitto /etc/mosquitto/*
@vimagick
vimagick / README.md
Last active September 30, 2026 10:31
OpenWrt Radius Server Setup

📦 Step 1: Install wpad-openssl

OpenWrt's default wpad-basic doesn't support EAP enterprise authentication. You must replace it with the full version.

opkg update
opkg list-installed | grep wpad
opkg remove wpad-basic-mbedtls
opkg install wpad-openssl
reboot
@vimagick
vimagick / README.md
Last active September 29, 2026 10:13
EdgeRouter DPI RuleSet (version: 1.564)

"TDTS" stands for Trend Micro Deep Threat Security. Ubiquiti utilizes an embedded Trend Micro SDK to categorize network traffic and identify potential malicious behavior.

$ tree /etc/ubnt/tdts/
|-- cats.xml
|-- rule.tar.md5sum
|-- rule.trf
`-- rule.xml
@vimagick
vimagick / README.md
Last active September 29, 2026 01:15
EdgeRouter L2TP Server Setup

Static Badge

Important

Pre-commit checks:

Check Command
DHCP range vs VPN pool overlap show service dhcp-server (in configure mode)
WAN interface is eth0 show interfaces
@vimagick
vimagick / README.md
Last active September 28, 2026 12:10
iptables ipset persistent

iptables-persistent

$ sudo apt install iptables-persistent ipset-persistent
$ dpkg -L iptables-persistent
$ sudo systemctl cat netfilter-persistent
$ cat /etc/default/netfilter-persistent
# IPTABLES_SKIP_SAVE=yes
# IP6TABLES_SKIP_SAVE=yes
# IPSET_SKIP_SAVE=yes
@vimagick
vimagick / README.md
Last active October 5, 2026 04:35
Install dnsmonster on macOS

macOS Requirements

  • macOS 11: v1.0.2
  • macOS 12+: v1.2.5+

Note

Set devname = lo0 when networksetup -getdnsservers Wi-Fi => 127.0.0.1
But capturing lo0 is not working FenkoHQ/dnsmonster#187 😢