use ipchains block ports

use ipchains block ports

Secure Home | Search | About
 Networking Firewalls    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
use ipchains block ports pamela_tw 09-02-2007
Posted by on September 2, 2007, 9:26 am
If you were  Registered and logged in, you could reply and use other advanced thread options
hi there ,

I'm not familiar with linux firewall .
I tried to block port 6891 thru 6900 to disable msn messenger file
transfer.


following is the result of my linux ipchain -L :


Chain input (policy ACCEPT):
target prot opt source destination
ports
DENY tcp ------ anywhere anywhere
any -> 6891:6900
ACCEPT all ---f-- anywhere anywhere
n/
a
acctin all ------ anywhere anywhere
n/
a
acctboth all ------ anywhere anywhere
n/
a
inp all ------ anywhere anywhere
n/
a
Chain forward (policy DENY):
target prot opt source destination
ports
DENY tcp ------ anywhere anywhere
any -> 6891:6900
ACCEPT all ---f-- anywhere anywhere
n/
a
fwd all ------ anywhere anywhere
n/
a
Chain output (policy ACCEPT):
target prot opt source destination
ports
DENY tcp ------ anywhere anywhere
any -> 6891:6900
ACCEPT all ---f-- anywhere anywhere
n/
a
acctout all ------ anywhere anywhere
n/
a
acctboth all ------ anywhere anywhere
n/
a
out all ------ anywhere anywhere
n/
a
Chain acctin (1 references):
Chain acctout (1 references):
Chain acctboth (2 references):
Chain inp (1 references):
Chain out (1 references):
Chain fwd (1 references):
target prot opt source destination
ports
DENY udp ------ anywhere anywhere
any -> 6891:6900
DENY tcp ------ anywhere anywhere
any -> 6891:6900
DENY tcp ------ anywhere anywhere
any -> 6891:6900
DENY tcp ------ xxx.xxx.xxx.0/24 anywhere
any -> 6891:6900
DENY tcp ------ anywhere xxx.xxx.xxx.0/24
any -> 6891:6900
MASQ all ------ xxx.xxx.xxx.0/24 anywhere
n/
a
MASQ all ------ anywhere xxx.xxx.xxx.0/24
n/
a
MASQ all ------ xxx.xxx.xxx.0/24 anywhere
n/
a
MASQ all ------ anywhere xxx.xxx.xxx.0/24
n/
a

where xxx.xxx.xxx.0 is my ip address.

can anyone help me to block port 6891 thru 6900?
I tried and tried , but it just won't work?


please show me the right rule to block these ports.


any message from you will be appreciated.


tks .


Posted by Moe Trin on September 2, 2007, 3:53 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Sun, 02 Sep 2007, in the Usenet newsgroup comp.security.firewalls, in article
wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

>I'm not familiar with linux firewall .
> I tried to block port 6891 thru 6900 to disable msn messenger file
>transfer.

Is there any reason you are ignoring the responses to your previous posts
in news://comp.os.linux.networking ?

use ipchains to block msn messenger Thu, 30 Aug 2007 02:33:16
use ipchains to block msn messenger Thu, 30 Aug 2007 02:33:18
Re: use ipchains to block msn messenger Thu, 30 Aug 2007 10:29:32
Re: use ipchains to block msn messenger Thu, 30 Aug 2007 15:01:08
use ipchains to block ports Fri, 31 Aug 2007 21:43:15
use ipchains to block ports Fri, 31 Aug 2007 21:43:19

Maybe if you used a real news reader and a real news server, you wouldn't
have problems missing posts.

Old guy

Similar ThreadsPosted
advise please on what ports to block? June 22, 2006, 12:17 pm
Use Windows Firewall to Block ports November 16, 2007, 3:21 pm
Block internet access for apps that use random ports September 12, 2007, 10:48 am
Configure DCOM client to use only a small range of ports (instead of random ports) August 16, 2006, 4:43 am
Ports July 19, 2005, 6:00 pm
Re: Active Ports August 28, 2004, 5:29 pm
Re: Active Ports August 28, 2004, 5:33 pm
Opening TCP & UDP ports??? December 1, 2004, 5:49 pm
Open ports. February 5, 2005, 12:13 pm
Smoothwall ports? January 29, 2005, 3:17 pm

The site map in XML format XML site map

Contact Us | Privacy Policy