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

socket activation #1

Open
sean9999 opened this issue Mar 24, 2018 · 3 comments
Open

socket activation #1

sean9999 opened this issue Mar 24, 2018 · 3 comments
Assignees

Comments

@sean9999
Copy link

sean9999 commented Mar 24, 2018

What do you think about the idea of supporting socket activation?

Use case is this: Sometimes I open a browser for work that is configured to use a proxy listening on localhost:1080. I often forget to explicitly open the tunnel first. What if I didn't need to explicitly open it? What if my system just launched the tunnel the first time a request to :1080 was made.

@renxida
Copy link
Owner

renxida commented Mar 25, 2018

I just found out that Systemd supports socket activation!
https://coreos.com/os/docs/latest/customizing-sshd.html
We can absolutely explore this idea.

@sean9999
Copy link
Author

I looked into it. It's not easy figuring out how to convince systemd to play nice with SSH. I think it would be cool if you could do something like:
systemctl --user enable labtunnel@jumpbox-a:1080.socket

to enable a listener on port 1080 that tunnels to jumpbox-a

@renxida
Copy link
Owner

renxida commented Jul 14, 2022

If you create a pull request and ping me via email (cedar.ren gmail)/ discord (RAD1ENC3#3283), I will merge it within 3 days or venmo you $50 if i fail to do that (this is my committment device lol)

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

No branches or pull requests

2 participants