Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Brauch Hilfe bei IPP2P
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
trikolon
Apprentice
Apprentice


Joined: 04 Dec 2004
Posts: 297
Location: Erlangen

PostPosted: Sun Jun 08, 2008 10:53 am    Post subject: Brauch Hilfe bei IPP2P Reply with quote

hallo alle.
ich habe nun eine firewall mit iptables aufgesetzt wie es bei "iptables for newbies" beschieben wird und packet shaping vom wiki eingerichtet.
nun möchte ich ipp2p installieren um unerwünschten p2p traffic zu priorisieren.

dazu habe ich im /etc/init.d/qos.iptables skript folgende zeilen hinzugefügt:

Code:

iptables -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK --set-mark $MARKPRIO4
iptables -t mangle -A PREROUTING -p tcp -m mark --mark 1 -j CONNMARK --save-mark
iptables -t mangle -N MARKED
iptables -t mangle -A POSTROUTING  -m mark --mark 1 -j MARKED

#iptables -t mangle -A MARKED -m physdev --physdev-out eth0 -j CLASSIFY --set-class 1:12
#iptables -t mangle -A MARKED -m physdev --physdev-out eth1 -j CLASSIFY --set-class 2:12


bei den letzten beiden kommentierten zeilen bin ich mir unsicher. was machen die genau und sind das die richtigen befehle für meine config? ich möchte einfach nur, dass sämtlicher p2p traffic in der prioritätsklasse 4 landet, welche entsprechend vorher konfiguriert wurde.
devices sind: eth0 lan, eth1 ppp0, wlan0

danke schonmal im voraus

gruß ben
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum