Last active
July 27, 2024 11:08
-
-
Save davidliyutong/5f36e8ffcad02309241faf54a0f3bd16 to your computer and use it in GitHub Desktop.
surge_personal_module.txt
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
#!name=davidliyutong personal module | |
#!desc=This is a custom module for Surge5 that sets direct routes for specific IP CIDRs. | |
[MITM] | |
hostname = %APPEND% 100.100.100.0/24, 100.99.0.0/16, 192.168.0.0/16, 10.0.0.0/8 | |
[Rule] | |
IP-CIDR,100.100.100.0/24,DIRECT | |
IP-CIDR,100.99.0.0/16,DIRECT | |
IP-CIDR,192.168.0.0/16,DIRECT | |
IP-CIDR,10.0.0.0/8,DIRECT | |
PROCESS-NAME,/usr/bin/ssh,DIRECT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment