Re: Firewall setup for Samba

From: Jan Schledermann (jschledermann_at_REMOVEeuronet.nl)
Date: 05/18/05


Date: Wed, 18 May 2005 15:07:56 +0200

JPB wrote:

>
> I would prefer to have the firewall on, for obvious reasons. Would
> anyone be willing to offer any guidance as to how to perhaps open the
> needed ports for Samba? I use webmin for Samba configuration and other
> tasks, but the iptables options there are a little over my head;
> notwithstanding the fact I do not know which ports need to be open by
> default for smb.
>
> Thanks,
>
> JPB
You'll need at least port 138 and 139 open.
Check out the file: /etc/services
It is a reference of all normal ports/services.
Whenever you are having the fw on and are being blocked, have a look at:
/var/log/messages
It'll show you which ports are being blocked.

Best regards
Jan



Relevant Pages

  • HP1022 USB with CUPS
    ... Anyone got the HP 1022 working under FreeBSDS-5 with CUPS? ... appreciate some guidance. ... * - Installing HPIJS from ports ...
    (comp.unix.bsd.freebsd.misc)
  • how to choose port
    ... that I plan to put on the Internet. ... there guidance on what ports I should ...
    (comp.os.linux.networking)
  • Re: how to choose port
    ... that I plan to put on the Internet. ... there guidance on what ports I should ... You should probably stay away from the "Well Known Ports". ...
    (comp.os.linux.networking)