| Weblog: | PPTP VPNs in Jaguar | |
| Subject: | If only i could choose default routes | |
| Date: | 2002-10-17 11:35:15 | |
| From: | afrenier | |
|
Response to: If only i could choose default routes
|
||
|
This fix does not work. That only comes into play when the machine has no network connection at all - it decides which one to try first based on the order in that dialog. There are some apps out there that allow you to start a PPTP connection (PiePants and DigiTunnel, among others) but none of them appears to work with Jaguar (10.2)... so I am stuck. There is a built-in pptp client in Jaguar, which connects fine but doesn't have an option to disable default route. I have tried the following (in a terminal window)
|
||
Showing messages 1 through 2 of 2.
| Showing messages 1 through 2 of 2. |




#!/bin/sh
# delete the broken default route
sudo route delete default
# add the route to the vpn network
# via the pptp interface
sudo route add -net 192.168.1.0 \
-netmask 255.255.255.0 -interface ppp0
# set the new default route
sudo route add default 192.168.100.254