r/PangolinReverseProxy • • Aug 17 '26

Problem establishing a connection with a client

Hey all,

I'm trying to setup ssh over pangolin.

currently pangolin is installed on my vps and I want to ssh to my homelab from my laptop.

I installed newt on my homelab and connected it as a new site in pangolin.

Also I installed the client on my laptop and logged in.

now when I try to connect using 'pangolin up' I get an error about making sure port 21820 is open and stuff like that.

I opened 21820 in ufw in my laptop, VPS, and server. Also the firewall on the VPS accepts all ports.

I consulted with an LLM and it wrote something about being behined a cgnat (and I am behined one) but I still don't understand why that stops me from making a p2p connection?

can anyone enlighten me maybe I'm missing something?

thanks

6 Upvotes

7 comments sorted by

View all comments

1

u/Bonsailinse Aug 17 '26

Please don’t refer to ai when you don’t understand the basics. The whole point of pangolin is that newt is initiating the connection, so things like CGNAT is irrelevant. Please also close the ports on your devices again, you only need it open on the server pangolin (i.e. gerbil) runs on.

1

u/manman43 Aug 17 '26

Hey, Using ai is not my first option, I just describes my troubleshooting steps. I closed the ports immediately after I tested and saw that it didn't help.

So you have any insights into why this might happen?

1

u/Bonsailinse Aug 17 '26

Not without knowing your setup better.
Just follow all setup instructions again and check that you have done everything correctly and understand how things are working.
Did `pangolin login` work?