Re: Samba and firewall



Stephane M wrote:
"MooNPuP" <slackerama@xxxxxxxxxxxx> wrote in message news:4499E3E2.2010607@xxxxxxxxxxxxxxx
MooNPuP wrote:
Stephane M wrote:
hi,

I am using CentOS v 4.3 and use to work fine without any firewall
I was using the HTTP, FTP and samba

Then, I start to enable the Firewall (-> System Setting -> Security Level)
I declare enable FTP and HTTP

I can't find anything concerning a specific application like Samba.
I did browse the SE Linux... But nothing

- Do you think that this is a problem linked to SE Linux ?
- How can Tell SE Linux that a specific application can do what it wants !

Cheers,

Open the specific ports for netbios which is UDP 137 and 139 on the other ports section of the firewall settings. Seperate them with a space as below.

137:UDP 139:UDP
ooops I meant to type TCP not UDP...also you may need 445 if your in an active directory environment

Thanks for your email...

But how to do that ? :-( Sorry to be so newbye:-(

Where should I allow these ports ?

Stephane


go back into the firewall setup and in the 'other ports' section type in what i typed above.
.



Relevant Pages

  • Re: FTP server behind a PF firewall (including NAT)
    ... Philip> have exactly the same problem. ... Philip> huge range of high ports, and I can't find any information ... IPFW is a real pain compared to most modern firewall software. ... address-translate) the FTP data transfers. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Newbie question about ports.
    ... Can you do a CVSup to update your ports via http? ... Cvsup does not support http, but neither does it use ftp (see man cvsup, ... openable through your firewall. ...
    (freebsd-questions)
  • Re: Passive Mode issue
    ... in the windows firewall and the network firewall with the same results. ... and the ftp site is bound to a specific public IP. ... The server will timeout from all users trying passive mode. ... passive port range for IIS and opened those ports in the firewall, ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Passive Mode issue
    ... Bernard Cheah ... windows firewall for ftp, so it does fail with the firewall enabled, this ... Normally the FTP site is bound to the public IP, ... firewall ports, but i think i have all those correct. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Windows XP and FTP
    ... Thank you for your suggestion - I have tried this, and unfortunately opening ports 20 & 21 on the firewall as an exception does not seem to make a difference, even after a restart of both the connection and the client machine itself. ... Subject: Windows XP and FTP ... > are using explorer as their FTP client, I have them enable Passive FTP ...
    (Security-Basics)