Open PhoenixHe-NV opened 8 years ago
Test cli:
node ./cli.js -v -p custom \ --rule-format $'r a %prefix/%length %gw table vpn\n' \ --route.net="CN" \ --gateway.net="via 172.27.0.1 dev eth0" \ --route.vpn="US" \ --gateway.vpn="via 172.27.0.2 dev eth1" \ --route.jp="JP" \ --gateway.jp="via 172.27.0.3 dev eth2" \ -f -o a/vpn_route.sh --header \ "#!/bin/bash PATH=/usr/sbin:$PATH ip route flush table vpn ip -b - <<FILE " \ --footer \ "FILE "
Thanks for the contribution. I'll look into it this weekend.
Well... I think pull request #14 works better. You can close this one.
Test cli: