mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
[GH-ISSUE #1052] Installing Pangolin on a Server with Pre-existing WireGuard server #1738
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @afunworm on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1052
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:And change the start_port and IP address (since I'm behind Cloudflare) for
config/config.yml: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:
And here is the log from Newt:
And log from Gerbil:
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.
@oschwartz10612 commented on GitHub (Jul 12, 2025):
Hi! When you change the start port in the config that changes the port inside of the container. So try to use:
@afunworm commented on GitHub (Jul 12, 2025):
This is it! Thank you so much!!!
@hiagocosta commented on GitHub (Jul 16, 2025):
is it possible to use this wireguard tunnel instead gerbil's tunnel?
@afunworm commented on GitHub (Jul 17, 2025):
I opted in for the cleanest route, which is just to create a separate network for WireGuard for Gerbil to use. But there is an option to use any WireGuard client in the settings. That should work. You just need to handle the NAT manually.
@hiagocosta commented on GitHub (Jul 18, 2025):
do you know how can I do that?
@oschwartz10612 commented on GitHub (Jul 18, 2025):
@hiagocosta You can actually run Gerbil as a binary and configure it with the CLI commands to manage your existing WG interface I think. https://docs.fossorial.io/Gerbil/overview
But I would not really recommend this. I would try to keep your existing setup separate from what Pangolin is going to try to manage I think it might just be safer and easier.