[GH-ISSUE #100] macos unable connect vpn server running on vps #88

Closed
opened 2026-03-02 07:11:39 +03:00 by kerem · 1 comment
Owner

Originally created by @lncan on GitHub (Nov 19, 2018).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/100

Hi guys, I followed this tutorial to run libreswan ipsec vpn server on google cloud. But when i cannot connect to server. Here is my log:
screen shot 2018-11-19 at 17 42 31
screen shot 2018-11-19 at 17 43 07
I tried to connect, but this error always occur everytime:
screen shot 2018-11-19 at 17 45 46
screen shot 2018-11-19 at 17 46 06
While I can ping this ip normally:
screen shot 2018-11-19 at 17 47 57
I sure that i do all step correctly. I searched and tried to fix it but no successful. i don't know where error from? Anybody has solution about that and please let me know details that how can i correct this error? Thank you.

Originally created by @lncan on GitHub (Nov 19, 2018). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/100 Hi guys, I followed this tutorial to run libreswan ipsec vpn server on google cloud. But when i cannot connect to server. Here is my log: ![screen shot 2018-11-19 at 17 42 31](https://user-images.githubusercontent.com/40355589/48702118-a4a32a80-ec22-11e8-95a6-679a1dc0046b.png) ![screen shot 2018-11-19 at 17 43 07](https://user-images.githubusercontent.com/40355589/48702119-a53bc100-ec22-11e8-8612-e8af91b1d9e5.png) I tried to connect, but this error always occur everytime: ![screen shot 2018-11-19 at 17 45 46](https://user-images.githubusercontent.com/40355589/48702268-17140a80-ec23-11e8-88cd-488ded881023.png) ![screen shot 2018-11-19 at 17 46 06](https://user-images.githubusercontent.com/40355589/48702269-17140a80-ec23-11e8-952c-fb5079eb83fc.png) While I can ping this ip normally: ![screen shot 2018-11-19 at 17 47 57](https://user-images.githubusercontent.com/40355589/48702350-49256c80-ec23-11e8-837c-8e8c25b8ae85.png) I sure that i do all step correctly. I searched and tried to fix it but no successful. i don't know where error from? Anybody has solution about that and please let me know details that how can i correct this error? Thank you.
kerem closed this issue 2026-03-02 07:11:39 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Nov 19, 2018):

@lncan Hello! You’ll need to open UDP ports 500 and 4500 for the VPN in your Google Cloud firewall settings for this server. Search Google for how to open the two ports. Before doing that, make sure to delete and re-create the Docker container with a new secure IPsec PSK and password (you posted those in the screenshot)

<!-- gh-comment-id:439881543 --> @hwdsl2 commented on GitHub (Nov 19, 2018): @lncan Hello! You’ll need to open UDP ports 500 and 4500 for the VPN in your Google Cloud firewall settings for this server. Search Google for how to open the two ports. Before doing that, make sure to delete and re-create the Docker container with a new secure IPsec PSK and password (you posted those in the screenshot)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#88
No description provided.