hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.26k stars 6.32k forks source link

Lose internet connection #1494

Closed st-small closed 11 months ago

st-small commented 11 months ago

Hi! Thank you very much for your script and support. I'm using your on my server for a long time and all works always as a clock. But now I have troubles. My vps provider is Digital ocean. I have certificates on my iOS and MacOS devices.

Sometimes I get error 'No internet connection' when my vpn connection is on. But if I make it off all works as usual. What I should to do to find a problem and check it? Maybe logs from vps or somewhere else?

Thank for help.

hwdsl2 commented 11 months ago

@st-small Hello! Please check logs and VPN status for errors. Also see IKEv2 troubleshooting, including the section about macOS Sonoma.

If the issue only happens sometimes, it could be due to network issues between the VPN client and server or on the VPN server. Try setting up the VPN on a new VPS can sometimes help.