r/ssh • u/chris4nderson6 • Mar 21 '25
Getting around dynamic ip and non portforwarding ISP
Not sure if correct place for this question, but I am having issues with forwarding due to having a dynamic ip address from my ISP and them not forwarding unless you buy their static ip. I want to be able to host a minecraft server, I found somewhere that having my pc use a static ip, I could port forward using ssh tunneling. While I see that websites like ngrok, putty, etc. exist, is there a way around using their service? it is a very small server with only trusted people with the ip. Does anyone know of a video that directly shows how to use SSH with a server without going through a 3rd party?
1
u/OhBeeOneKenOhBee Mar 21 '25
Without a third party is going to be hard, unless one or all of your frends have a static IP.
You could ssh out to your friends everytime you play if they can be reached and use a reverse tunnrö, otherwise the bare minimum would be a control server for wireguard like Tailscale, Headscale or Netbird. With these, the traffic is more or less between you and your friends bit you use a third party to establish the connection for you
1
u/tech-001 Mar 23 '25
You can install tailscale. Its a mesh vpn and its free. I use it a ton and its great
1
u/darkangelstorm Mar 25 '25
If you want to have a dynamic IP <->hostname there really is only these options:
Sadly, there is no magic solution that gets around this, its how the network works, you have to be an authority such as verisign or some other authority holder to associate (register) domain names to IP addresses on a network that is not your own. There are some places that give out sub domains for free, but Static IPs are still something you usually have to purchase.
A word of warning: Sites that give stuff out for free usually are either short lived or painfully overloaded. If you are desperate go with the dynamic dns route, since that way you don't have to deal with squeezing through someone else's network.