|
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
|