Koozali.org: home of the SME Server

Close outboud port

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
Close outboud port
« on: August 04, 2010, 04:55:11 PM »
I am using SME as a server/gateway.
I need to close an outbound port (TCP Port 20) for all users in the LAN
How do I close an outbound port?

Thanks,
Shane
......

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Close outboud port
« Reply #1 on: August 04, 2010, 05:53:13 PM »

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
Re: Close outboud port
« Reply #2 on: August 04, 2010, 06:28:48 PM »
Thank you.  I followed that document.
Very helpful.
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Close outboud port
« Reply #3 on: August 04, 2010, 08:25:35 PM »
I need to close an outbound port (TCP Port 20) for all users in the LAN

If you do that, you will interfere with some ftp transfers. Is that what you are trying to do? If so, you would be better to block port 21 outbound.

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
Re: Close outboud port
« Reply #4 on: August 05, 2010, 12:40:58 AM »
I don't want to block any FTP transfers.  I believe all my ftp software is connecting on port 21, not port 20.

I have no idea what's running on port 20, but I have something sending from port 20, and hitting one of my web hosts.  The web host doesn't like that activity on hitting them on Port 20.  So I wanted to shut it down till I could identify what is running on that port.

It's interesting to hear you say that port 20 is used for some FTP transfers.  Something for me to look into for sure.

Thanks
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Close outboud port
« Reply #5 on: August 05, 2010, 12:53:08 AM »
well.. in this case, as your SME is your gw, use tcpdump to discover who's making outbound traffic on remote 20 TCP

just closing the door will not solve the problem

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Close outboud port
« Reply #6 on: August 05, 2010, 01:21:04 PM »
Normally port 20 is created for "data transfers", so FTP uses port 21 for creating the connection between two computers and port 20 is used for data transfer.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline srushik

  • **
  • 32
  • +0/-0
    • http://www.pcconline.com
Re: Close outboud port
« Reply #7 on: August 05, 2010, 03:38:45 PM »
You are super helpful.  I'll use tcpdump and do some discover to find where this is coming from.  Thanks for the caution on FTP connections over PORT 20.

......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Close outboud port
« Reply #8 on: August 05, 2010, 04:48:47 PM »
I have no idea what's running on port 20, but I have something sending from port 20, and hitting one of my web hosts.  The web host doesn't like that activity on hitting them on Port 20.

Then you should fix the web host (probably by just ignoring port 20 traffic).