From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DNS_FROM_AHBL_RHSBL,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 DKIM-Filter: OpenDKIM Filter v2.9.2 python.ilimnet.ru 79F2BE28DA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taf.ru; s=FCA68DE2-074C-11E2-AD6F-DEDBFE231BC9; t=1460098304; bh=Lf6xNElfdX5g/RT5JhQuGOWGJiFwfwcBttipn/xC/SY=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding; b=eM4WJTk7LvSqnlcp08HFfynFzR2qPoF7ipJ5bb0WIsC86FMZOnAIwggi8DBgmgBoC YAx4tj+EshPfrxI48AfGJRg4skB6TynnC49ZszWNFInHt7hDqns7tib3Qp1PCh+oEZ rg/cGU1aH2Cl1bNTWCzZAun8L62ageZ7f15VWTjE= X-Virus-Scanned: amavisd-new at ilimnet.ru Date: Fri, 8 Apr 2016 15:51:44 +0900 (IRKT) From: Alexei Takaseev To: ALT Linux sysadmins' discussion Message-ID: <25120945.279.1460098212268.JavaMail.taf@taf.office.telnet> In-Reply-To: <33100913.277.1460097931130.JavaMail.taf@taf.office.telnet> References: <5706792D.1040907@altlinux.ru> <12565064.67.1460080492924.JavaMail.taf@taf.office.telnet> <33100913.277.1460097931130.JavaMail.taf@taf.office.telnet> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [193.33.232.46] X-Mailer: Zimbra 8.6.0_GA_1194 (Zimbra Desktop/7.2.7_12059_Linux) Thread-Topic: nat and shaper Thread-Index: xT8b1xIdynMfaE8RFOSXS+7mKP/TqhD02Y5c Subject: Re: [Sysadmins] nat and shaper X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 06:50:19 -0000 Archived-At: List-Archive: ----- =D0=98=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D0=BE=D0=B5 =D1=81=D0=BE=D0=BE= =D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5 ----- > =D0=9E=D1=82: "Alexei Takaseev" > =D0=9A=D0=BE=D0=BC=D1=83: "ALT Linux sysadmins' discussion" > =D0=9E=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BD=D1=8B=D0=B5:= =D0=9F=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, 8 =D0=90=D0=BF=D1=80=D0=B5=D0= =BB=D1=8C 2016 =D0=B3 14:46:59 > =D0=A2=D0=B5=D0=BC=D0=B0: Re: [Sysadmins] nat and shaper >=20 > ... > IPv4 > /etc/net/ifaces/default/fw/iptables/mangle/POSTROUTING: > - -o bondEXT -j SET --map-set shaper4 src --map-prio > + -i bondINT -j SET --map-set shaper4 src --map-prio > -o bondINT -j SET --map-set shaper4 dst --map-prio > IPv6 > /etc/net/ifaces/default/fw/ip6tables/mangle/POSTROUTING: > - -o bondEXT -j SET --map-set shaper6 src --map-prio > + -o bondINT -j SET --map-set shaper6 src --map-prio + -i bondINT -j SET --map-set shaper6 src --map-prio ^ =D1=82=D1=83=D1=82 i, =D0=BA=D0=BE=D0=BD=D0=B5=D1=87=D0=BD=D0=BE = =D0=B6=D0=B5 > -o bondINT -j SET --map-set shaper6 dst --map-prio > ... >=20 > =D0=9D=D0=BE =D0=BD=D0=B0=D0=B4=D0=BE =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1= =80=D1=8F=D1=82=D1=8C. > _______________________________________________ > Sysadmins mailing list > Sysadmins@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sysadmins >=20