-
Nginx and Fancyindex Containerization
Docker Compose File
version: "2.1" services: transmission: image: vonsy/fancyindex:1.23.3 container_name: fancyindex environment: - PUID=3000 - PGID=3000 - TZ=Asia/Shanghai - USER=Neo - PASSWORD=RedPill$ volumes: - /zion/share/nginx/nginx.conf:/etc/nginx/nginx.conf - /zion/share/private:/private - /zion/share/public:/public ports: - 80:80 - 443:443 restart: unless-stopped
-
Transparent Gateway
软硬件
N1,NDM(aarch64 GNU/Linux)
创建网络,网卡混杂模式
ip link set eth0 promisc on docker network create -d macvlan --subnet=2.2.2.0/24 --gateway=2.2.2.1 -o parent=eth0 macnet
转发用clash redir
docker run -d \ -it \ --name=clash \ --network macnet \ --ip 2.2.2.77 \ --mac-address 32:D8:E2:AE:93:77 \ --ulimit nofile=16384:65536 \ --cap-add=NET_ADMIN \ --privileged=true \ -e TZ=Asia/Shanghai \ -p 7892:7892 \ golang:latest \ /bin/sh
安装,配置clash
go install github.com/Dreamacro/clash@latest cd bin/ vi config.yaml ./clash -f config.yaml
iptables规则
```bash #来自 https://github.com/shadowsocks/shadowsocks-libev#transparent-proxy
-
Jekylly 相关
使用 Obsidian 编辑
软链接
```bash – 创建软链接 ln -s /Users/fsy/Documents/GitHub/vonsy.github.io/_posts /Users/fsy/Library/Mobile\ Documents/iCloud~md~obsidian/Documents
-
Java SE Development Kit
预备知识
- macOS 查询已安装的 JDK: /usr/libexec/java_home -V
- 查询使用的 SHELL: echo $SHELL
- ~/.bash_profile
- ~/.zshrc
-
VMware ESXi 安装 OpenWrt
硬件
- HPE ProLiant MicroServer Gen10 Plus E-2224
- Crucial 32GB Single DDR4 2666 MT/s CL19 DIMM 288-Pin Memory - CT32G4DFD8266
-
开始
记录,分享,创造一些东西.