Skip to content

Instantly share code, notes, and snippets.

@julianoes
julianoes / RTSP forwarding.md
Last active December 30, 2025 23:19 — forked from corenel/README.md
RTSP Port Forwarding

RTSP forwarding using UDP transport

This is based on https://gist.github.com/corenel/db98113b346717e114864538996134a8, however, adapted to work over UDP transport, rather than TCP, which makes it a bit more complicated, and requires the client to fix the UDP ports used.

Assume we have the following network environments:

  • Forwarder device:
    • eth0 (192.168.144.25): for camera access
    • wlan0 (192.168.1.54): for PC access
  • IP Camera:192.168.144.25
@zsien
zsien / -etc-init.d-clash
Last active January 16, 2024 05:16
openwrt-clash
#!/bin/sh /etc/rc.common
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
START=95
USE_PROCD=1
@corenel
corenel / README.md
Last active December 30, 2025 23:19
RTSP Port Forwarding

之前在这里研究过的用iptables配置跨网段的端口转发

Assume we have the following network environments:

  • Device:
    • eth0 (192.168.6.59): for external access
    • enx000ec6a490c5 (192.168.1.2): for ip camera
  • IP Camera:192.168.1.10
  • PC:192.168.6.2
@bcastellano
bcastellano / raspberry-pi-cups.md
Last active November 19, 2024 11:30
Configure Raspberry to be print server with cups and adding HP LaserJet 1020
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active December 25, 2025 05:42
crack activate Office on mac with license file
#!/bin/sh
opkg update
for ipk in $(opkg list-upgradable | awk '$1!~/^kmod|^Multiple/{print $1}'); do
opkg upgrade $ipk
done
@edomaru
edomaru / Enable or disable device on ubuntu 14.04.md
Last active October 5, 2023 20:52
Enable or disable device on ubuntu 14.04

Enable or disable device on ubuntu 14.04

type xinput and see the device id

$ xinput

To disable device, type this line

$ xinput --disable xx xx adalah id device