How can I use reverse SSH tunneling without a middleman server?

0
2
Asked By CuriousCactus92 On

I recently started learning Linux and I'm experimenting with a Kali virtual machine. I've discovered SSH and love being able to execute commands on another system. Now, I want to SSH into my VM from my mobile device using Termux, but unfortunately, my router is blocking the traffic. I read that reverse SSH tunneling could help, but I would need a middleman server for that, which I'd like to avoid since I don't want to create an account on services like AWS or Oracle for such a simple test. Are there any alternative solutions or suggestions for beginners like me?

3 Answers

Answered By NetworkingWhiz88 On

Just to clarify, who's controlling the router that’s blocking traffic? Is it a firewall or NAT setup that only lets connections in one direction? If it’s about the port being blocked, you might get away with changing the SSH port to something else.

CuriousCactus92 -

I’m in a rental, and my landlord manages the modem. I think it’s more of a NAT/firewall issue.

Answered By TechyTurtle77 On

You won't be able to use it for hacking, but you might find Tailscale useful. It easily creates a VPN between your devices, linking them together without much hassle.

LearningNinja54 -

I heard of Tailscale! But I'm trying to keep it straightforward for now and do things manually. Thanks for the tip, though!

Answered By ServerSeeker31 On

Oracle's free tier is definitely a solid choice, but you could also try using services like openport.io or localtunnel.io—they should work for your needs!

CuriousCactus92 -

Thank you! I’ll check those options out.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.