My MacBook Pro's VPN disconnects two minutes after it connects. I change the account and I had no luck with it, Any ideas?
-
When it connects do you get an active connection to your internal resources?– ConstantineKApr 26, 2011 at 11:40
-
Anything in the system log? Open Console in the Utilities directory. Select FILES, system.log in the left pane, and type 'pppd' in the search box. The right pane will show the log messages for VPN connections.– JRobertApr 26, 2011 at 14:24
-
@hobs : yes, I have an active connection.– AliBZApr 27, 2011 at 11:18
-
I would try also to connect via a third-party vpn app, to see its behavior. Viscosity is my favorite. Although it costs $9, it has a 30 days trial so you can see if it works.– nucMay 3, 2011 at 7:43
-
Do you have access to the vpn endpoint logs? That should be a good starting point.– joet3chAug 12, 2011 at 21:09
|
Show 1 more comment
1 Answer
Under the built-in client, this is solved by:
setting the following on the VPN custom connection:
a) "lifetime time 24 hours;" or more
b) dpd_delay 0;
c) proposal_check claim;
This can be done by creating a file, e.g. /etc/racoon/fix.1.1.conf
and adding the lines above in there. Also ensure that the line "include /etc/racoon/*.conf" is not commented out in /etc/racoon/racoon.conf
.
-
It's been a while, but where is this "VPN custom connection" on OSX? Or does one set it in a config file from the command prompt? If so, in which file?– LifeboySep 16, 2019 at 11:34
-
@Lifeboy I'll have a look when I get home. My answer may have been helpful at the time, but now I can't remember? ¯_(ツ)_/¯ Sep 16, 2019 at 22:51