I connect from a Mac running PPTP VPN to a synology box VPN server.Connecting works great, but in order to access the the drive shares, I need to run ifconfig and then sudo route add -net 192.168.x.x(server ip)/24 10.0.0.x (VPN assigned gateway ip). This works fine, but I'd either like to place this routing command into an automatically run script or to make the additional route permanent.How do I do that?
Add a route permanently to mac
routing;macintosh