jerson / pgrok

Free Introspected tunnels to localhost, like ngrok but free and unlimited
https://hub.docker.com/r/jerson/pgrok
Other
281 stars 54 forks source link

Only accepted people can use a pgrok server #21

Closed NhProGamer closed 1 year ago

NhProGamer commented 2 years ago

Is it possible to make sure that only accepted people can use my pgrok server?

jerson commented 2 years ago

HI @NhProGamer yes you can use a CA and a client certificate per person, all client certificate needs to be generated by that CA in order to validate that connection

https://github.com/jerson/pgrok/blob/master/docs/SELFHOSTING.md#protect-you-clientpgrok-to-serverpgrokd-connection-with-a-ca

is not a very convenient solution but you can algo generate one client certificate for all you allowed clients

https://campus.barracuda.com/product/webapplicationfirewall/doc/12193120/creating-a-client-certificate/

NhProGamer commented 2 years ago

Oh okay, thanks you so much

NhProGamer commented 2 years ago

It's that possible to build pgrok with these certs ?