Skip to contentSkip to conversation

Using iptables to only allow a specific application to use certain ports

DISCUSSION Thomas Nyberg 1 participant 1 message Feb 5, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

The mosh program requires ports 60000-61000 for operation (well it can get by with less, but it appears it requires an indeterminate number of ports). Is it possible to only open these ports for the /usr/bin/mosh-server binary?

I've done some searching online and haven't been all that successful at figuring this out so I figured I'd ask here. Thanks so much!

Cheers,
Thomas