songgao / vpnroutesd

Make your corporate VPN less miserable by explicitly specifying destinations that should use VPN and having the rest of traffic go through the primary interface. Supports both static IPs and DNS names.
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

CIDRs & proxies #1

Open ChipWolf opened 3 years ago

ChipWolf commented 3 years ago

Hey, just wondering if it's possible to add support for CIDRs in the IP config?

Also, wondering what you recommend doing in the event you also need the traffic to go via a proxy (excluding destinations in the 'no proxy' list) only while on the VPN?

songgao commented 3 years ago

Hi @ChipWolf, good to hear from you! CIDRs shouldn't be hard. I actually thought of that too but never got to it. Thanks for brining it up.

Not completely sure about proxy stuff. Perhaps there's something you can do with the networksetup CLI? I'm curious about the use case though. If it's because the VPN blocks some certain types of traffic going out of the corporate network, the routing changes should make it work. But I guess it's a different story if accessing internal resources need the proxy as well.