LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 02-01-2005, 01:32 PM   #1
Neze
Registered User
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
iptables how to block p2p (missing ipp2p)


Hi!


I need help from you, with configuring some p2p blocker to our net.
I have a linux server and 51 workstations. The server has 2 nics eth0 to the internet and

eth1 as the internal LAN. The workstations receive there IP's from DHCPd on the server.

My whole bandwith is blocked by p2p, so normal users cant connect to a WWW or its a very

slow. We have a dsl with 2048 download limit and 256 upload but we have 51 people in our

network. What i need is a p2p blokckade from 5 am to 23 pm , or even 24/7 for all people in

lan , exepct 2 ip's. There is a firewall in a file and there i have some initial options for

p2p deny. (firewall.sh reads firewall.conf at start) if you need ask about other options.

almost all is propely configured. but person which has done this our server has been already

payed and dont want to help 3 days layter :/

firewall.conf
SIEC="192.168.1" this siec means "net"
SERVER=$SIEC.1
MASK="255.255.255.0"
#P2p_DENY=""


firewall.sh

#blokada p2p
if [ ! "$P2P_DENY" == ""]; then
modprobe ipt_ipp2
for i in $P2P_DENY ; do
tptables -t filter -A FORWARD -o $IF_INET -s $SIEC.$i -p tcpm -m ipp2p --ipp2p -j

DROP

But there is no iptable_ipp2p file or something like that (i got this message when

restarting server)

so i mean that i only have to create this file?

i beg you for help - ppl are furious and those leechers dont care.

sorry fon english it isnt my native
 
Old 02-01-2005, 01:33 PM   #2
Neze
Registered User
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
of course these are only the fragments of these files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install iptables-p2p Skunk_Face Fedora 5 01-12-2007 09:43 AM
Can you block programs (like p2p) by protocol examining? servnov Linux - Networking 3 10-02-2005 04:33 PM
IPTables and PPTPD :S (to block or not to block) thewonka Linux - Networking 0 03-24-2005 06:58 PM
iptables and p2p gcampos2 Linux - Newbie 3 10-09-2004 04:46 PM
block p2p tcby Linux - Security 1 10-28-2001 10:54 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration