MAC OSX VPN自动添加静态路由

2019/4/3 13:34 下午 posted in  Mac
sudo tee /etc/ppp/ip-up <<-'EOF'
#!/bin/sh
/sbin/route add 10.10.100.0/24 -iface ppp0
EOF

sudo chmod 755 /etc/ppp/ip-up