Skip to content

Instantly share code, notes, and snippets.

View Droid-MAX's full-sized avatar

Droid-MAX Droid-MAX

View GitHub Profile
@veltlion
veltlion / qbittorrent.sh
Last active May 11, 2025 11:34
NATMap 打洞后自动更新 qBittorrent/Transmission 监听端口和 OpenWrt 防火墙规则并推送到 Telegram
#!/bin/sh
protocol=$5
inner_ip=$6
inner_port=$4
outter_ip=$1
outter_port=$2
ip4p=$3
qbv4="10.0.0.123"
source: http://182.43.249.225:19735/sdsj.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- saved from url=(0014)about:internet -->
<head>
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">