LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2002, 01:09 PM   #1
The Jesus
Member
 
Registered: Mar 2002
Location: Cleveland, Ohio
Distribution: Ubuntu, Gentoo, Fedora Core 5, FreeBSD
Posts: 50

Rep: Reputation: 15
ipchains with forwarding and disabling kazaa


I currently have forwarding available on ipchains for everything to get out through the firewall. I want to keep Kazaa (port 1214) from getting in or out. I have put rules to deny in all chains (input, output, forwarding) and still kazaa connects. If I disable forwarding kazaa stops working. That is great accept that nothing else works. I want to stay away from making special rules for everything else to get out. Please give me an idea as to why this is not working. Thanks in advance.
 
Old 10-18-2002, 01:13 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I gues you don't have all Kazaa ports blocked. Turn forwarding on, run tcpdump on the router and connect to Kazaa from one of the machines inside yur local network. Tcpdump will show you what ports were used.
 
Old 10-18-2002, 01:35 PM   #3
The Jesus
Member
 
Registered: Mar 2002
Location: Cleveland, Ohio
Distribution: Ubuntu, Gentoo, Fedora Core 5, FreeBSD
Posts: 50

Original Poster
Rep: Reputation: 15
i have done that and 1214 is the first port that it communicates with. Also all of the Kazaa forums say that 1214 is the port that needs to be opened in order for it to work.
 
Old 10-18-2002, 06:49 PM   #4
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
First of all INPUT and OUTPUT don't affect the KaZaA connections if the KaZaA connections are coming from the internal network. So what you must do is this. So make all DENY entries in the FORWARD chain. run tcpdump and find the ports it uses to connect like Mara said and then make entries in your firewall script to block the ports. Although since you can change what ports are used for KaZaA I would also make entries to block the servers that list where P2P peers are located.

--tarballedtux
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipchains forwarding rules scheidel21 Linux - Networking 0 01-20-2004 07:37 AM
IPChains/IPMasqadm Port Forwarding Sonicsone Linux - Networking 8 12-03-2002 01:18 PM
IPChains + port forwarding + redhat 7.2 purduephotog Linux - Networking 2 04-22-2002 04:38 PM
ipchains port forwarding Ratclaws Linux - Security 2 12-04-2001 03:59 AM
Ipchains port forwarding localy yogee Linux - Networking 7 07-16-2001 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration