Re: lug-bg: MRTG and IPCHAINS problem
- Subject: Re: lug-bg: MRTG and IPCHAINS problem
- From: mano@xxxxxxxxxxxxx (Marian Popov)
- Date: Thu, 28 Mar 2002 01:37:49 +0200 (EET)
On Wed, 27 Mar 2002, Teodor Georgiev wrote:
>
>
> iskash da ti otchita TRANZITNIA trafik.
>
> slozhi go na forward verigata.
>
> da rechem che i az imam : PC1, PC2, PC3 -----> {gateway} -->
> (((internet)))
>
> iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do
> gateway'a,
> shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova
> na PC-tata.
>
> togava slagash forward chain na gateway i merish vsichko:
>
> ot : PC1|PC2|PC3
> kum : ! lokalnia subnet
>
Eto rule koito slojih
ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT
ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT
Pri tova polojenie poluchavam samo
0
0
I nishto poveche demek ne otchita nikakyv traffic.
>
>
>
>
>
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
=-rw-r--r--=======================
Pazardjik.com System Administrator
email: mano@xxxxxxxxxxxxx
icq: 9362972
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|