Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Thomas Nyberg <tomuxiong@gmail.com>
To: netfilter@vger.kernel.org
Subject: Using iptables to only allow a specific application to use certain ports
Date: Fri, 5 Feb 2016 12:06:08 -0500	[thread overview]
Message-ID: <56B4D680.3060302@gmail.com> (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

                 reply	other threads:[~2016-02-05 17:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56B4D680.3060302@gmail.com \
    --to=tomuxiong@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox