Solved

change mac's vpn default route

Posted on 2004-04-30
10
478 Views
Last Modified: 2013-11-13
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
Comment
Question by:Coltrain
10 Comments
 

Author Comment

by:Coltrain
ID: 11010107
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
 

Expert Comment

by:fhorlaville
ID: 11063919
have you tried moving the vpn connection downwards in the network preferences ?
0
 

Author Comment

by:Coltrain
ID: 11065194
Sorry. I don't understand what you mean by "moving vpn connection downwards". Can you explain more elaborately?
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Expert Comment

by:scalvillo
ID: 11191191
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
 

Expert Comment

by:abiss0
ID: 11655168
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
 

Expert Comment

by:fhorlaville
ID: 14370042
it seems to me that abiss0 deserves the points ...
0
 
LVL 20

Expert Comment

by:Venabili
ID: 14370063
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14403098
PAQed with no points refunded (of 500)

modulo
Community Support Moderator
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question