3 ms·
Mosh is nice, but I always feel wary about opening a big port range for it. Had it on my todo list for ages to work out a way of temporarily opening the port ra
by blueskin_ 12y ago
Mosh is nice, but I always feel wary about opening a big port range for it. Had it on my todo list for ages to work out a way of temporarily opening the port range for an IP that makes a successful SSH login.
- falcolas 12y agoFWIW, it works well with a fairly typical "allow all out, deny all in" firewall configuration. That is what I have set up on my server, and it works fine. If you go the deny all out, yeah, you'll probably have to set up more specific outgoing exceptions for Mosh.
- blueskin_ 12y agoThat's surprising, as IIRC it needs inbound UDP on high ports which aren't directly associated with the inbound TCP for the SSH session.
- jamies888888 12y agoYou can open a single UDP port and specify the port number using the -p option when connecting.
- ryanlol 12y agoIf you're worried about opening ports, you're doing security wrong.
- blueskin_ 12y agoVery funn- ...oh, you're serious? /facedesk
- deleted 12y ago[deleted]