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

Support SOCKS5 proxy #8671

Open
makew0rld opened this issue Feb 14, 2025 · 3 comments
Open

Support SOCKS5 proxy #8671

makew0rld opened this issue Feb 14, 2025 · 3 comments

Comments

@makew0rld
Copy link

Hello, thanks for creating borg. It's super useful.

It would be helpful if borg supports SOCKS5 proxying. Currently the network I'm in won't allow me to SSH into my backup box, but if I was able to use a SOCKS5 proxy it would work. Thanks!

@ThomasWaldmann
Copy link
Member

I am not familiar with ssh + socks5 proxying, but that rather sounds like a ssh configuration issue than a borg issue.

Can you maybe solve it with a specific ssh configuration or ssh commandline options?

@makew0rld
Copy link
Author

One option would be to use another machine I have as a jump host, although I'm not sure how to do that with borg. To be specific the network I'm using blocks port 23, which is what Hetzner uses for its storage boxes. This isn't urgent for me because I can just continue my backup when I'm home. But I thought it might be a good question in case there is an easy solution.

@Eskaan
Copy link

Eskaan commented Feb 15, 2025

If you want to use a ssh jumphost, something like this should work:

BORG_RSH="ssh -J user@gateway"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants