Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "David Cannings" <lists@edeca.net>
To: netfilter@lists.netfilter.org
Subject: Re: open ports
Date: Mon, 17 May 2004 10:43:53 +0100	[thread overview]
Message-ID: <003701c43bf3$7a1ab980$1400a8c0@DAVIDVAIO> (raw)
In-Reply-To: BAY15-F36xiW2wqUjfg0006b834@hotmail.com

From: "azeem ahmad" <azeem484@hotmail.com>
> but its not the soulution to just leave the programs that have dynamic
> ports. there must be a solution for them in netfilter

If you are very worried and have a large network, set up a SOCKS proxy.  I
believe the Windows MSN client also supports HTTP proxying but I've never
tried.  On a smaller scale, it is fairly safe to allow the whole range of
outgoing ports to be ACCEPTed in your OUTPUT chain, such as allowing out
2000-3000. You would have to find out the exact range it uses.  A rule
allowing ESTABLISHED or RELATED in your INPUT chain will handle the replies.

Unless you're going to use UPnP to open and close ports as needed it isn't
easy to get programs like MSN that use lots of ports to work fully behind a
firewall or NAT.  There is a UPnP daemon for Linux and a good article at:
http://www.ruwebit.net/article/77.

David



  reply	other threads:[~2004-05-17  9:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-17  0:55 open ports azeem ahmad
2004-05-17  9:43 ` David Cannings [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-16  9:52 azeem ahmad
2004-05-16 10:03 ` Rob Sterenborg
2004-05-16 15:09 ` Alistair Tonner
2004-05-16  9:22 azeem ahmad
2004-05-16  9:43 ` Antony Stone

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='003701c43bf3$7a1ab980$1400a8c0@DAVIDVAIO' \
    --to=lists@edeca.net \
    --cc=netfilter@lists.netfilter.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