Ask a Question related to Mac Networking, Design and Development.
-
Jean-François Lacrampe #1
Establishing a VPN connection takes my default route over.
Hello,
I'm connecting to my work VPN network through Mac OS X's native VPN
client (right now on Panther 7B68, but I was told by coworkers that
this behavior is the same on Jaguar).
It works quite well, but when I'm connected to the VPN (PPTP), I can't
access my home network (and the Internet). For some reason, the VPN
connexion sets itself as the default route.
OS X's normal behavior, if I'm not mistaken, is that routing
priorities are set according to the place of the ports in System
Prefs/Network/Show: Network port configuration. Airport is placed
first and VPN is placed last. Airport should stay the default route
even when I establish a VPN connection.
The only way I have found to fix this problem is ugly: I establish a
VPN connexion, lose my LAN & Internet connexion, open a root terminal
where I type:
route delete default
route add default 192.168.0.127 (my local gateway)
route add 10. 10.0.10.248 (the gateway on the VPN side)
and everything is back to normal.
This solution is ugly, because 1. I lose my LAN & Internet connexion
for a few seconds every time and 2. I must know my gateway (if I
connect from a place I'm not used, I don't know it).
Sure, I can write an AppleScript that does most of the work for me,
but that's a less-than-perfect solution.
Is there any way to to it better?
Thanks,
JFL
Jean-François Lacrampe Guest
-
Establishing connection
Trying to establish connection for the first time with Contribute. I get all the way through to the remote info section and it runs all the tests... -
need help establishing connection with IIS
When I try to start the ColdFusion server, I get the following error message: 'Windows could not start the ColdFusion MX 7 Application Server on... -
os-9 default route
I'm not sure if I'm in the right place but here goes. I've been asked to find the correct command to add a default route for a hardware device which... -
Default route changed automatically
I am having a problem when my default route was changed automatically to the computer running ipfilter. Does anyone know how to prevent this from... -
Rebuilding the kernel - establishing the default settings
Hello, I have installed Redhat Linux 7.3 (kernel 2.4.18-3) on my pc. And also installed a SCSI raid controller. All successful so far! I now... -
Sak Wathanasin #2
Re: Establishing a VPN connection takes my default route over.
In article <6ff02a67.0309191719.1c6bc982@posting.google.com >,
[email]jflac2000@hotmail.com[/email] (Jean-François Lacrampe) wrote:
route change default 192.168.0.127> The only way I have found to fix this problem is ugly: I establish a
> VPN connexion, lose my LAN & Internet connexion, open a root terminal
> where I type:
>
> route delete default
> route add default 192.168.0.127 (my local gateway)
> route add 10. 10.0.10.248 (the gateway on the VPN side)
saves you 1 line of typing
It does? Your Internet connection will be routed through the VPN - it's> This solution is ugly, because 1. I lose my LAN & Internet connexion
> for a few seconds every time
slower, but it should still work.
netstat -nr> and 2. I must know my gateway (if I
> connect from a place I'm not used, I don't know it).
before you establish the PPTP tunnel will show you the existing routes. The
PPTP implementation in OSX is very lame.
Buy a copy of DigiTunnel; much better but even W95 can do better than this> Is there any way to to it better?
(allows more than 1 concurrent tunnel, for example).
--
Sak Wathanasin
Network Analysis Limited
[url]http://www.network-analysis.ltd.uk[/url]
Sak Wathanasin Guest
-
Mike Cohen #3
Re: Establishing a VPN connection takes my default route over.
I use DigiTunnel ([url]http://www.gracion.com/vpn/[/url]), which doesn't set
the default route.
--
Mike Cohen - mike3k <at> onepost <dot> net
Personal: [url]http://www.mc-development.com/[/url]
Mac News: [url]http://www.macmegasite.com/[/url]
Mike Cohen Guest
-
Bob Harris #4
Re: Establishing a VPN connection takes my default route over.
In article <6ff02a67.0309191719.1c6bc982@posting.google.com >,
[email]jflac2000@hotmail.com[/email] (Jean-François Lacrampe) wrote:
There are several tips on PPTP connections and ways to try and deal with> Hello,
>
> I'm connecting to my work VPN network through Mac OS X's native VPN
> client (right now on Panther 7B68, but I was told by coworkers that
> this behavior is the same on Jaguar).
>
> It works quite well, but when I'm connected to the VPN (PPTP), I can't
> access my home network (and the Internet). For some reason, the VPN
> connexion sets itself as the default route.
>
> OS X's normal behavior, if I'm not mistaken, is that routing
> priorities are set according to the place of the ports in System
> Prefs/Network/Show: Network port configuration. Airport is placed
> first and VPN is placed last. Airport should stay the default route
> even when I establish a VPN connection.
>
> The only way I have found to fix this problem is ugly: I establish a
> VPN connexion, lose my LAN & Internet connexion, open a root terminal
> where I type:
>
> route delete default
> route add default 192.168.0.127 (my local gateway)
> route add 10. 10.0.10.248 (the gateway on the VPN side)
>
> and everything is back to normal.
>
> This solution is ugly, because 1. I lose my LAN & Internet connexion
> for a few seconds every time and 2. I must know my gateway (if I
> connect from a place I'm not used, I don't know it).
>
> Sure, I can write an AppleScript that does most of the work for me,
> but that's a less-than-perfect solution.
>
> Is there any way to to it better?
>
> Thanks,
> JFL
the default route issue at <www.macosxhints.com>. The most recent was
<[url]http://www.macosxhints.com/article.php?story=20030906232648318&query=Avo[/url]
id+creating+PPTP+default+routes>
Bob Harris
Bob Harris Guest



Reply With Quote

