• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • Last Modified:

change mac's vpn default route

Hi. I'm  in dire need of a solution to rid myself of a pain in the rear-end.

1. connecting a mac (Panther 10.3.3) through a vpn to a windows server.
2. need the vpn to upload .cfm documents to the server.
3. need to use browsers to review changes to cfm pages.
4. Mac changes default route to go through the vpn, which is very slow and sometimes having server problems resulting in browser occassionally saying "unable to find server called www.whatevername.com. Frustrating at best!

Question: is there any way at all to modify the mac so that it doesn't use the vpn connection as the default route for web browsing? If so, exactly what do I do to make it so?? I haven't been long on Panther so Unix backdrop is foreign to me. Consequently, I'll need as close to step by step as anyone is able to give me.

Thanks very much. Here's hoping!
0
Coltrain
Asked:
Coltrain
1 Solution
 
ColtrainAuthor Commented:
I'm brand new to experts exchange. Have I asked this question incorrectly or assigned points incorrectly?. Or is the question simply way too difficult?

Any response would be appreciated.
0
 
fhorlavilleCommented:
have you tried moving the vpn connection downwards in the network preferences ?
0
 
ColtrainAuthor Commented:
Sorry. I don't understand what you mean by "moving vpn connection downwards". Can you explain more elaborately?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
scalvilloCommented:
Did anyone ever get a solution to this?  I am having the same problem.  Per fhorlaville's advice, I went into the "System Preferences|Network."  Clicked on "Show" and chose "Network Port Configurations" and ordered my airport before my VPN PPTP connection hoping that it would try that connection first when I am web browsing.  No dice though.  Any help is appreciated.
0
 
abiss0Commented:
The Internet Connection Application will not let you setup a vpn connection without changing the default route.
Even if you put the VPN connection under the Ethernet one in the Network preference pane, the VPN route will be changed.

I found a way to establish a VPN connection without changing the route, but you have to do it from the Terminal.

sudo pppd serviceid 2 debug logfile /tmp/ppp.log plugin /System/Library/SystemConfiguration/PPPController.bundle/Contents/PlugIns/PPPDialogs.ppp plugin PPTP.ppp remoteaddress AAA.AAA.AAA.AAA redialcount 1 redialtimer 5 idle 1800 mru 1500 mtu 1448 receive-all ipparam BBB.BBB.BBB.BBB novj 0:0 noipdefault ipcp-accept-local ipcp-accept-remote noauth user MYLOGIN password MYPASSWORD looplocal

Change :
• AAA.AAA.AAA.AAA to the VPN server's IP or Name
• BBB.BBB.BBB.BBB to your actual default gateway
• MYLOGIN to your login
• MYPASSWORD to your password

For a more convenient way to connect to your VPN, I recommend to create a shell script. Still in the terminal, type :
echo "sudo pppd serviceid 2 debug logfile /tmp/ppp.log plugin /System/Library/SystemConfiguration/PPPController.bundle/Contents/PlugIns/PPPDialogs.ppp plugin PPTP.ppp remoteaddress AAA.AAA.AAA.AAA redialcount 1 redialtimer 5 idle 1800 mru 1500 mtu 1448 receive-all ipparam BBB.BBB.BBB.BBB novj 0:0 noipdefault ipcp-accept-local ipcp-accept-remote noauth user MYLOGIN password MYPASSWORD looplocal" > ~/Desktop/MyVPN.command && chmod a+x ~/Desktop/MyVPN.command

This will create an icon on your desktop, that when launched, will ask for your root password.

VPN connections established this way will not appear in the connection manager... but you can try... It's working !
0
 
fhorlavilleCommented:
it seems to me that abiss0 deserves the points ...
0
 
VenabiliCommented:
His comment  is 3 months after the last comment in the thread... Usually after so much time the Asker does not need the Answer... So no points

But I guess we can PAQ- no refund...
0
 
moduloCommented:
PAQed with no points refunded (of 500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now