【折腾必懂】第十一期 分流仅连内网
网络 折腾必懂 远程连接
> $logfile echo "The VPN interface (e.g. ppp0): $1" >> $logfile echo "Unknown, was 0, in my case: $2" >> $logfileecho "IP of the VPN server: $3" >> $logfile echo "VPN gateway address: $4" >> $logfileecho "Regular (non-vpn) gateway for your lan connections: $5" >> $logfile # Add 192.168.0.0 to 192.168.0.255 range to routing table on VPN interface /sbin/route add -net 192.168.0.0/16 -interface $1 >> $logfile 2>&1" />