Installing Pangolin on a Server with Pre-existing WireGuard server #1247

Closed
opened 2026-04-05 18:36:48 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @afunworm on 7/11/2025

Hello.

I'm trying to install Pangolin on my server. This server hosts a WireGuard server already, so the port 51820/UDP is already taken. My plan is to change the port to 51888 for Gerbil.

I've tried the changing the port in docker-compose.yml:

  ports:
    - 51888:51820/udp

And change the start_port and IP address (since I'm behind Cloudflare) for config/config.yml:

gerbil:
    start_port: 51888
    base_endpoint: "IP_OF_THE_VPS_WHERE_PANGOLIN_AND_MY_CURRENT_WIREGUARD_SERVER_ARE_ON"

I have also made sure that my VPS firewall ports are open for 51888/UDP. All VPS firewalls are disabled.

Then, I tried both adding site using Newt & WireGuard. None of them shows the site being online. Here's what the log has in Newt container:

Here's what the Newt container looks like:

services:
  newt:
    image: fosrl/newt
    container_name: newt
    restart: unless-stopped
    environment:
      - PANGOLIN_ENDPOINT=https://pangolin.example.com
      - NEWT_ID=<ID>
      - NEWT_SECRET=<SECRET>

And here is the log from Newt:

INFO: 2025/07/11 19:29:26 Connecting to endpoint: MY_VPS_IP_ADDRESS
WARN: 2025/07/11 19:29:28 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout
WARN: 2025/07/11 19:29:30 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout
WARN: 2025/07/11 19:29:33 Periodic ping failed (2 consecutive failures): failed to read ICMP packet: i/o timeout
WARN: 2025/07/11 19:29:34 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout
WARN: 2025/07/11 19:29:35 Periodic ping failed (3 consecutive failures): failed to read ICMP packet: i/o timeout
WARN: 2025/07/11 19:29:35 Connection to server lost. Continuous reconnection attempts will be made.
INFO: 2025/07/11 19:29:35 Received registration message
INFO: 2025/07/11 19:29:35 Stopping ping check

And log from Gerbil:

INFO: 2025/07/11 19:29:26 Peer FD0+LwY1UmWpeFzyoA5H1hkTyrgr6JdQbtAsUnZKwAU= added successfully

I'm not sure how to proceed. Also I don't know how to check log for adding sites using WireGuard instead of Newt.

Please advise.

*Originally created by @afunworm on 7/11/2025* Hello. I'm trying to install Pangolin on my server. This server hosts a WireGuard server already, so the port 51820/UDP is already taken. My plan is to change the port to 51888 for Gerbil. I've tried the changing the port in `docker-compose.yml`: ``` ports: - 51888:51820/udp ``` And change the start_port and IP address (since I'm behind Cloudflare) for `config/config.yml`: ``` gerbil: start_port: 51888 base_endpoint: "IP_OF_THE_VPS_WHERE_PANGOLIN_AND_MY_CURRENT_WIREGUARD_SERVER_ARE_ON" ``` I have also made sure that my VPS firewall ports are open for 51888/UDP. All VPS firewalls are disabled. Then, I tried both adding site using Newt & WireGuard. None of them shows the site being online. Here's what the log has in Newt container: Here's what the Newt container looks like: ``` services: newt: image: fosrl/newt container_name: newt restart: unless-stopped environment: - PANGOLIN_ENDPOINT=https://pangolin.example.com - NEWT_ID=<ID> - NEWT_SECRET=<SECRET> ``` And here is the log from Newt: ``` INFO: 2025/07/11 19:29:26 Connecting to endpoint: MY_VPS_IP_ADDRESS WARN: 2025/07/11 19:29:28 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout WARN: 2025/07/11 19:29:30 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout WARN: 2025/07/11 19:29:33 Periodic ping failed (2 consecutive failures): failed to read ICMP packet: i/o timeout WARN: 2025/07/11 19:29:34 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout WARN: 2025/07/11 19:29:35 Periodic ping failed (3 consecutive failures): failed to read ICMP packet: i/o timeout WARN: 2025/07/11 19:29:35 Connection to server lost. Continuous reconnection attempts will be made. INFO: 2025/07/11 19:29:35 Received registration message INFO: 2025/07/11 19:29:35 Stopping ping check ``` And log from Gerbil: ``` INFO: 2025/07/11 19:29:26 Peer FD0+LwY1UmWpeFzyoA5H1hkTyrgr6JdQbtAsUnZKwAU= added successfully ``` I'm not sure how to proceed. Also I don't know how to check log for adding sites using WireGuard instead of Newt. Please advise.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1247