?
Solved

change mac's vpn default route

Posted on 2004-04-30
10
Medium Priority
?
483 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

 

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

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.

Question has a verified solution.

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

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 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