Created
February 16, 2023 07:33
-
-
Save kaiili/bead3e9fb674465f0794c880289bc4a2 to your computer and use it in GitHub Desktop.
配置特定应用的端口转发,可用于抓包,来自 https://mp.weixin.qq.com/s/P0ESUUXBmq2aQnrqDHsDaw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -t nat -A OUTPUT -p tcp ! -d 127.0.0.1 -m owner --uid-owner 2000 -m multiport --dports 80,443 -j DNAT --to-destination 127.0.0.1:8080 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment