Report abuse

1
2
3
4
5
6
7
#!/bin/sh
VPNIP="10.10.250.1";
if [ $IPREMOTE = $VPNIP ]
then
    /sbin/route -n add -net 192.200 $IPREMOTE > /tmp/ppp.log 2>&1
    /sbin/route -n add -net 192.200.131.150 default >> /tmp/ppp.log 2>&1
fi