[ SlackList ] [ WkikiSlack ]




nat p2p w wiele IP

From: Krzysztof Pawlowski <msciciel_malpka_darkzone.ma.cx>
Date: Thu Sep 30 2004 - 17:11:22 CEST

Witam
Uzywam sobie ipp2p w sposob taki ze:
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -j CONNMARK
--restore-mark
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -m mark ! --mark 0
-j ACCEPT
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -m ipp2p --ipp2p -j
MARK --set-mark 1
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -m ipp2p
--ipp2p-data -j MARK --set-mark 2
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -m mark --mark 1 -j
CONNMARK --save-mark
${IPTABLES} -A PREROUTING -t mangle -i $IFACE -p tcp -m mark --mark 2 -j
CONNMARK --save-mark

markuje sobie pakiety... i chcialbym teraz zrobic jeszcze nat'a w zakres
  ip dla p2p... ma ktos jakis pomysl jak to zrobic ? :)
Pozdrawiam
--
<< IRC : IrcNet : #bsd4pl, #llug >< WWW : http://darkzone.ma.cx >>
<< Linux Registered User : #212220 >< GG : 3383949 >>
<< PGP ID: 8D3E1AE2 >< JID : msciciel@histeria.pl >>
<< "Forever trusting who we are and nothing else matters" >>
Received on Thu Sep 30 18:56:49 2004

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014