localtunnel / server

server for localtunnel.me
https://localtunnel.me
MIT License
3.02k stars 977 forks source link

Alternative server with https and subdomain support #131

Open insign opened 4 years ago

insign commented 4 years ago

I created a permanent host to use, and implemented HTTPS support.

lt -h "https://cloudkit.link" -p 80 --subdomain=whatever

PR are welcome at https://github.com/cloudatlasid/tunnel-server

bmkimagem commented 4 years ago

@insign , I start tunnel-server in my cloud, but my client auto disconect. Can you help me?

insign commented 4 years ago

Hi, sure, you mean the local client or the server service?

bmkimagem commented 4 years ago

I installed the version of the tunnel server and apparently everything is ok. When I go to my client and direct to connect to my host, he connects but falls right away. And it on the server shows that you have a connection. I don't know why it's falling.

E Hélio escreveu:

Hi, sure, you mean the local client or the server service?

-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/localtunnel/server/issues/131#issuecomment-614389491 [2] https://github.com/notifications/unsubscribe-auth/AKDM7B4765532EQJRBOBTNDRMZY4XANCNFSM4MFIXPSQ

insign commented 4 years ago

When you try to another server it works completely fine?

bmkimagem commented 4 years ago

Sim...quando eu conecto nesse seu https://cloudkit.link...funciona perfeito.... But I wanted to set up a server myself, as yours is working I wanted to know if you could help me to stabilize mine.

insign commented 4 years ago

Strange... Have you configured ssl?

On Thu, Apr 16, 2020, 06:23 bmkimagem notifications@github.com wrote:

Sim...quando eu conecto nesse seu https://cloudkit.link...funciona perfeito.... But I wanted to set up a server myself, as yours is working I wanted to know if you could help me to stabilize mine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/localtunnel/server/issues/131#issuecomment-614526941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPXVIPD4XQIAELTLEZ2KDRM3FABANCNFSM4MFIXPSQ .

bmkimagem commented 4 years ago

no, simple http ... ssl is mandatory for connection?

bmkimagem commented 4 years ago

On the server it informs that the client has connected, but in the api / status it informs 0 in the tunnel. Do you have any tips on what it might be?

localtunnel:server making new client with id proud-dingo-86 +0ms

{"tunnels":0,"mem":{"rss":43745280,"heapTotal":10969088,"heapUsed":9099968,"external":1907554}}

insign commented 4 years ago

Have you disabled fw?

bmkimagem commented 4 years ago

That's right, I had to disable ... I was trying to add a rule ... Thank you

E2020-04-16 17:43, Hélio escreveu:

Have you disabled fw?

You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/localtunnel/server/issues/131#issuecomment-614884461 [2] https://github.com/notifications/unsubscribe-auth/AKDM7B6E6MHB4KYTXUXJ7ZLRM5UWFANCNFSM4MFIXPSQ

insign commented 4 years ago

You are welcome.

adamreed90 commented 4 years ago

@insign How are the dns subdomains handled in the server? Does the server have to host dns for the domain?

cha-hin commented 4 years ago

@insign

Hello, I'm trying to accomplish the same as you on my own server. I generated my certificates and forwarded both ports 80 and 443 to http://localhost:3000 on my server but I still get no output when I use lt -h "https://myserver.something" -p xxxx. Do you know where it could come from?

Thanks a lot

insign commented 4 years ago

I'm sorry to say that I'm specialized in that project.

cha-hin commented 4 years ago

@insign

It’s whatever I finally did it by myself.

skiwithuge commented 4 years ago

hi all! i have a question.. are you sure that the flow is full tls? by using wireshark on my server i see that some packets are in http

KhanMaytok commented 3 years ago

Any tutorial on this?