# yum install -y pptp pptp-setupLook at IP list from http://ip.line668.com/ip.php, look for foreign IP.
# pptpsetup --create 107_149_9_75 --server 107.149.9.75 --username USERNAME --password PASSWORD --encrypt --start
# route add -net 173.194.126.0 netmask 255.255.255.0 dev ppp0 metric 1Note: The previous one is Google's IP segment, the latter is mask; ppp0 is the device number of the Pptpsetup output, which is incremented sequentially. If you want to be valid for all IPs, you can:
# route add -net 0.0.0.0 netmask 0.0.0.0 dev ppp0
METRIC Specifies the integer value of the required metric (in the range 1~9999) for the route, which is used to select the route that most closely matches the destination address in the forwarding packet in multiple routes in the routing table. The selected route has a minimum number of hops. The metric can reflect the number of hops, the speed of the path, path reliability, path throughput, and administrative properties.
From for notes (Wiz)
Add a route under Linux