this post was submitted on 23 Apr 2025
696 points (99.4% liked)
[Moved to [email protected], check pinned post.] iiiiiiitttttttttttt.
871 readers
440 users here now
you know the computer thing is it plugged in?
Moved to [email protected].
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'll save noobies some time.
What could go wrong?
Okay clearly this won't work because there aren't enough local ports to match to 16 bits of ports on potentially 255 machines, but with some slight modification I could add in a test to only increment the local port if the forward is successful and thereby create the dumbest-ass port forwarding script ever.
ip a a 127.0.0.2/8 dev lo
You have a whole /8 subnet of localhost, do it.
I like where your head is at.
We could also save some time just parsing something like..
We have the technology, we can be stupid.