From: "Anthony M. Rasat" <a.m.rasat@palangkaraya.speed.net.id>
To: netfilter@lists.netfilter.org
Subject: Re: looking for rules for samba-related traffic
Date: Mon, 7 Apr 2003 11:13:00 +0700 [thread overview]
Message-ID: <003301c2fcbb$faf6d700$7e00a8c0@speednet6> (raw)
In-Reply-To: Pine.LNX.4.44.0304061428160.14285-100000@dell
Dear Robert,
Most times, when configuring a firewall, people blocked everything first
then allow any service required. This goes for any incoming traffic rule.
Now, outgoing rule may vary. Some people like to let any outgoing traffic
may pass unchanged, some are not. In your case, if you wish to do so, your
can set rules to block outgoing TCP and UDP port 137 - 139. This rules will
not affecting Samba (or Microsoft Windows Network Sharing Service)
communication inside your internal network.
Examples? I think
http://www.linuxguruz.org/iptables/scripts/rc.firewall_002.txt should
answered the question.
Regards,
A.
----- Original Message -----
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: "iptables mailing list" <netfilter@lists.netfilter.org>
Sent: Monday, April 07, 2003 1:31 AM
Subject: looking for rules for samba-related traffic
>
> (sorry if you already saw this -- due to the fact that i've
> been messing with my iptables setup, i'm not sure this made
> it out the first time.)
>
> i'm looking for the ruleset to filter all samba-related
> traffic. i realize that this involves ports 137-9, based
> on what i see in /etc/services. but i did a quick google
> search and a couple sample sets i've seen refer to TCP
> traffic, when i've already confirmed that, for example,
> nmblookup is UDP.
>
> so, anyone have a pointer to a nicely-annotated set of
> rules for samba, mounting filesystems, printing, etc?
> thanks.
>
> in the meantime, i'll just keep experimenting and
> watching the packets.
>
> rday
>
>
>
>
>
next prev parent reply other threads:[~2003-04-07 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-06 18:31 looking for rules for samba-related traffic Robert P. J. Day
2003-04-07 4:13 ` Anthony M. Rasat [this message]
2003-04-07 12:41 ` Robert P. J. Day
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='003301c2fcbb$faf6d700$7e00a8c0@speednet6' \
--to=a.m.rasat@palangkaraya.speed.net.id \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.