Skip to content

Instantly share code, notes, and snippets.

@prabhu
Created February 5, 2015 11:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prabhu/509d048561db92195600 to your computer and use it in GitHub Desktop.
Save prabhu/509d048561db92195600 to your computer and use it in GitHub Desktop.
Iptables rule for mosh
# Mosh uses udp range 60000 - 61000. Just allow 60000 alone for added security
-A INPUT -p udp -m multiport --dports 60000:61000 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment