Koozali.org: home of the SME Server

Port blocking

Offline Tejaswini

  • **
  • 36
  • +0/-0
Port blocking
« on: June 01, 2009, 11:36:20 AM »
Hi everyone....
                     How to block ports in SME server.Can anyone help me???Please...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Port blocking
« Reply #1 on: June 01, 2009, 11:46:29 AM »
what port? to do what? why?

Stefano and "no crystal ball here"

Offline Tejaswini

  • **
  • 36
  • +0/-0
Re: Port blocking
« Reply #2 on: June 01, 2009, 11:50:48 AM »
I have to Block port 25 i,e SMTP TCP port..To block outlook express..

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Port blocking
« Reply #3 on: June 01, 2009, 11:53:27 AM »
so, as far as I understand, you wish no client can send mail but SME?

if so (and your SME is in server & gateway mode), enable smtp proxy and you're done..

ciao
Stefano

Offline Tejaswini

  • **
  • 36
  • +0/-0
Re: Port blocking
« Reply #4 on: June 01, 2009, 11:59:59 AM »
If it is port 25,then ok..If I have to block all ports except browsing...Then what I have to do...What code I have to use...Is there any specific code for that???

Offline Tejaswini

  • **
  • 36
  • +0/-0
Re: Port blocking
« Reply #5 on: June 01, 2009, 12:08:40 PM »
I checked this by using code,whatever mentioned in http://wiki.contribs.org/Firewall    but this is not working...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Port blocking
« Reply #6 on: June 01, 2009, 12:09:06 PM »
ok..

first of all I ask you to read the documentation and to search the forums and the wiki.

then.. SME is not designed to filter outgoing traffic.. you could try Dansguardian, but if you want to block p2p and so on, the only thing you can do IMVHO is to use a firewall like pfsense, m0n0wall, IpCop ect in front of your lan.

Ciao
Stefano

Offline Tejaswini

  • **
  • 36
  • +0/-0
Re: Port blocking
« Reply #7 on: June 01, 2009, 12:29:39 PM »
My question is...Can I block any specific port using some specific code????Is it possible...??

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Port blocking
« Reply #8 on: June 01, 2009, 12:31:07 PM »
AFAIK no

Stefano

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Port blocking
« Reply #9 on: June 01, 2009, 12:39:48 PM »
I'm sorry, I'm wrong :-)

read here

HTH
Ciao
Stefano

please, use the search and read the documentation, thank you