mirror of
https://github.com/fosrl/pangolin.git
synced 2026-11-14 21:11:20 -06:00
Unable to connect to resource #98
Closed
opened 2025-11-13 11:49:59 -06:00 by GiteaMirror
·
10 comments
No Branch/Tag Specified
main
feat/sync-idp-user-dir
website-checkout
dev
dependabot/npm_and_yarn/npm-dependencies-adef1355ca
dependabot/go_modules/install/go-install-dependencies-1560069833
1-27
dependabot/npm_and_yarn/node-forge-1.4.3
l10n_dev
dependabot/github_actions/github-actions-dependencies-6e53f9d9a5
dependabot/npm_and_yarn/node-forge-1.4.2
dependabot/github_actions/github-actions-dependencies-0c219a018e
extern-ws
1.26.0
1.26.0-rc.0
1.25.3
1.25.2
1.25.1
1.25.0
1.25.0-rc.0
1.24.0
1.24.0-rc.0
1.23.0
1.23.0-rc.0
1.22.2
1.22.1
1.22.0
1.22.0-rc.0
1.21.1
1.21.0
1.21.0-rc.0
1.20.0
1.20.0-rc.0
1.19.4
1.19.3
1.19.2
1.19.1
1.19.0
1.19.0-rc.1
1.19.0-rc.0
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.18.0-rc.0
1.17.1
1.17.0
1.17.0-rc.0
1.16.2
1.16.1
1.16.0
1.16.0-rc.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.15.0-rc.0
1.14.1
1.14.0
1.14.0-rc.0
1.13.1
1.13.0
1.13.0-rc.0
1.12.3
1.12.2
1.12.1
1.12.0
1.12.0-rc.0
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
1.0.0-beta.15
1.0.0-beta.14
1.0.0-beta.13
1.0.0-beta.12
1.0.0-beta.11
1.0.0-beta.10
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Labels
Clear labels
api
authentication
bug
config
dependencies
docker
documentation
enhancement
good first issue
help wanted
Improvement
Look Into
needs investigating
networking
new feature
non-critical bug
potential bug
pull-request
question
reverse proxy
Security
stale
ui
wontfix
Mirrored from GitHub Pull Request
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pangolin#98
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @L3nski on GitHub (Feb 20, 2025).
I have tried multiple different hosts to install the newt agent on. I have tried my primary network as well as vlans.
@Lokowitz commented on GitHub (Feb 20, 2025):
Hey,
is port 51820/udp open in your firewall in front of pangolin installation?
@L3nski commented on GitHub (Feb 20, 2025):
According to the VPS yes. I have tried both in a VPS and on my local server.
@oschwartz10612 commented on GitHub (Feb 20, 2025):
A couple of things you could check: make sure the endpoint on the Newt logs and in the Gerbil section of the config.yml resolves to your VPS IP from your Newt location. Usually you can run nslookup to check.
Next make sure one more time nothing is blocking that port and you did allow UDP. UFW or iptables can block.
Finally if all that is good run a tcpdump on the VPS and filter for that port and see if you are getting packets. You can run newt to connect or see if you can connect with netcat
nslookup example.comtcpdump -i any -n udp port 51820nc -uv {vps_ip} 51820@L3nski commented on GitHub (Feb 21, 2025):
Thanks all for the advise. Looks like 51820 is blocked somehow but cant find where.
@oschwartz10612 commented on GitHub (Feb 21, 2025):
Hum that's odd. You could look through your VPS settings maybe in the hosting provider and also check UFW and IPTABLES rules to make sure it is not blocked.
Who is your hosting provider?
iptables -Lufw show added@L3nski commented on GitHub (Feb 21, 2025):
VPS is RackNerd. I think that it has to do with my local firewall. I'm running PFSsense. Reason I say that is that it's not working even if I run. Pangolin locally so I feel like the Newt connection is the issue which is local in both cases. VPS iptables
@L3nski commented on GitHub (Feb 21, 2025):
Yes the port is supposed to be forwarded
@smoothml commented on GitHub (Feb 27, 2025):
I'm not sure if this is helpful, but it's tangentially related. I had this issue and Newt prompted me to open port 51280 on my Pangolin server. I did this and now everything works, though as far as I can tell no traffic is actually being sent to this port. Here are the Newt logs. The
Failed to connectlogs were because I rebooted my Pangolin server.@x86txt commented on GitHub (Apr 6, 2025):
If you change the gerbil
start_portin config.yml from 51280, you have to update the port forward in the docker-compose.yml also.That's the cause of the ping failures.
I can't run any WG on port 51820, so I moved Newt to 51830 but I noticed the docker network proxy was still listening on 51820.
I made the change below and the site finally came up.
docker-compose.yml:
to
@Soitora commented on GitHub (Jul 29, 2025):
Reading this comment solved 15 hours of debugging on my Unraid system. I was never able to test the 51822 port that Gerbil had as it was busy by other services, but now that I tried it, it solved every issue I had.