Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added gsocket #132

Merged
merged 2 commits into from
Mar 24, 2024
Merged

added gsocket #132

merged 2 commits into from
Mar 24, 2024

Conversation

idarlund
Copy link
Contributor

Closing #65

@anderspitman
Copy link
Owner

Hi @idarlund, thanks for the contribution. gsocket seems to be a bit different than most of the tools on the list. Is there a simple example of how you would use it to host a website on a machine behind a NAT? Would it maybe fit better in the overlay network section?

@idarlund
Copy link
Contributor Author

idarlund commented Mar 22, 2024

There are examples here: https://github.com/hackerschoice/gsocket/tree/master/examples
You can port-forward to whatever service you are running. Here showed with a IRCD;
https://github.com/hackerschoice/gsocket/tree/master/examples/port-forward

You can expose sshd globally behind NAT like here:
https://github.com/hackerschoice/gsocket/tree/master/examples/sshd
Or simply just;
root@ALICE:~# gsocket -s ExampleSecretChangeMe /usr/sbin/sshd -D

I have not tried to run a webserver behind global socket, but I doubt that's hard.

Also; You've got ngrok in your list. This is almost the same functionality, but open source and no payment

@anderspitman
Copy link
Owner

Sounds good, thanks @idarlund!

@anderspitman anderspitman merged commit e74b85b into anderspitman:master Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants