Skip to content

Instantly share code, notes, and snippets.

View coolmaxter's full-sized avatar

Maxten coolmaxter

View GitHub Profile
@SeeFlowerX
SeeFlowerX / iptables.sh
Created December 4, 2023 05:48
iptables + clash透明代理
#!/system/bin/sh
set -ex
# ENABLE ipv4 forward
sysctl -w net.ipv4.ip_forward=1
# DISABLE ipv6
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1