|
Re: lug-bg: traffic scan
- Subject: Re: lug-bg: traffic scan
- From: gf@xxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Mon, 22 May 2000 13:09:22 +0300
Hi!
ipchains -I input -i eth0 -s 0.0.0.0/0 -d 192.168.0.1 -j ACCEPT
ipchains -I output -i eth0 -s 192.168.0.1 -d 0.0.0.0/0 -j ACCEPT
pravish tova za wsiaka mashina ot mrezhata koiato iskash da sledish
i posle pravish za cialata mrezha ot 255 IP-ta primerno:
ipchains -I input -i eth0 -s 0.0.0.0/0 -d 192.168.0.1/24 -j ACCEPT
ipchains -I output -i eth0 -s 192.168.0.1/24 -d 0.0.0.0/0 -j ACCEPT
Posle mozhesh da widish prez wseki chain kolko trafik e minal sas
ipchains -L -v
Georgi Chorbadzhiyski
System Administrator
Cybercom Ltd.
http://www.cybcom.net/
gggg ggg wrote:
> 3dr,
> imam LRP ili dwe LAN carti na normalen linux ili kwoto
> i da e davashto oblika na router ,sas slednite danni :
> real IP <--> fake IP (192.168....)
> t.e. ako sa dwe LAN karti to ednata e s realen IP ,a
> drugata s fake IP (192.168...)
>
> tezi adresi 192.168..... pri udaljenie na LAN bih
> mogal da gi rotiram oshte po wednaj-dvaj s mashinata
> koiato shte e tam ( tui kato sa dale4 ot men).
> Vaprosa mi e kak da meria trafik ( In/Out )v Mbytes za
> wseki adres ot mrejata 192.168.... za koito jelaia ili
> za grupa adresi ot sushtata mreja no trafika ot tazi
> grupa adresi da e sumaren ?
>
> TIA na koito me helpne .
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|