Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sig_Dude

macrumors newbie
Original poster
Jan 9, 2022
28
12
I have an IKEv2 VPN set up on my MacBook Pro (please see my sig).

After between 10 to 20 minutes of use, it will disconnect. This has happened at least 20 times since I set it up 3 weeks ago.

How do I view the VPN error log file on my Mac?

Thanks for any help.
 
In your Terminal, run:

log show --start "2024-01-05 23:44:00" --end "2024-01-05 23:45:59" | grep NEIKEv2Provider

To narrow it down, run:

log show --start "2024-01-05 23:44:00" --end "2024-01-05 23:45:59" | grep NEIKEv2Provider | grep -i disconnect

Remember to specify the timeframe.
 
  • Like
Reactions: Sig_Dude
In your Terminal, run:

log show --start "2024-01-05 23:44:00" --end "2024-01-05 23:45:59" | grep NEIKEv2Provider

To narrow it down, run:

log show --start "2024-01-05 23:44:00" --end "2024-01-05 23:45:59" | grep NEIKEv2Provider | grep -i disconnect

Remember to specify the timeframe.
Thanks. I tried that but was overwhelmed, lol.
 
Update:

I spoke too soon.

While my connections last longer now (45-60 minutes as opposed to 15-20 minutes), I'm still experiencing drops. Any ideas?

Thanks.
 
From your previous comment, I don’t quite understand your setup. Does your router connect to the VPN server and your Mac to the router? Or are you running a VPN server on a router and your Mac connects to that VPN server?
 
From your previous comment, I don’t quite understand your setup. Does your router connect to the VPN server and your Mac to the router? Or are you running a VPN server on a router and your Mac connects to that VPN server?
We are running a VPN server on our router.
 
So try to make a IKEv2 profile for your Mac. The responses from the other thread suggest they work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.