Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can not establish VPN connection after my PC wakes up

73 views
Skip to first unread message

Kosh Surname

unread,
Nov 29, 2023, 4:03:58 PM11/29/23
to tunnelblick-discuss
I can not establish a VPN connection or even ping my VPN server after my MacBook goes to sleep and wakes up.
I use 2 VPN connection simultaneously, one for internet access and another one for my company resources.
1st VPN connection settings:
Screenshot 2023-11-30 at 00.58.36.png
2nd VPN connection settings:
Screenshot 2023-11-30 at 00.59.18.png
In the configuration file remote is set using IP address, not the domain name therefore I doubt it is a DNS issue.
Any suggestion?

Kosh Surname

unread,
Nov 29, 2023, 4:09:43 PM11/29/23
to tunnelblick-discuss
Log
Tunnelblick.log

Kosh Surname

unread,
Nov 29, 2023, 4:10:38 PM11/29/23
to tunnelblick-discuss
PS after restarting my MacBook connection works like a charm and I am able to ping my VPN host

Tunnelblick developer

unread,
Nov 29, 2023, 4:22:22 PM11/29/23
to tunnelblick-discuss
First, I recommend updating to Tunnelblick 4.0.0beta13, which fixes some problems in 3.8.8e.

Then you can try two things to solve the sleep/wake problem. I recommend trying each one separately, then both together if neither of them work alone:

1. In the OpenVPN configuration file of both configurations, remove or comment out the line with "persist-tun". (Comment out by inserting a "#" character at the start of the line.)

2. On the "Advanced" settings pages of both configurations, un-check the "Disconnect when computer goes to sleep" checkbox.

Kosh Surname

unread,
Nov 29, 2023, 5:01:34 PM11/29/23
to tunnelblick-discuss
Should I also remove persist-key as well?

Tunnelblick developer

unread,
Nov 29, 2023, 5:25:57 PM11/29/23
to tunnelblick-discuss
No.
Reply all
Reply to author
Forward
0 new messages