RE: lug-bg: traffic log with ipchains
- Subject: RE: lug-bg: traffic log with ipchains
- From: bkrosnov@xxxxxxxx (Boyan Krosnov)
- Date: Mon, 26 Feb 2001 22:38:25 +0200
masqueradinga srabotwa wyw forward chaina...
gore dolu pytq na paketa e takyv
vhoden interface, razpaketirane, prowerka na check sumi
-> input chain
-> wzemane na routing decision
-> forward chain
-> ako e acceptnat ot MASQ rule tuk stawa maskiraneto
-> output chain
-> output interface, paketirane, smqtane na nowite check sumi
w obratnata posoka....
vhoden interface, razpaketirane, prowerka na check sumi
-> input chain
paketa se okazwa za lokalnata mashina... znachi nqma da go rutirame
-> processwane na lokalen paket... paketa trqbwa da se razmaskira...
razmaskirane
-> wzemane na routing decision za paket praten ot lokalnata mashina
-> output chain
-> output interface, paketirane, smqtane na nowite check sumi
zabeleji che wyw wtoriq sluchaj nqmash forward chain....
az sym si razhvyrlql input i output chaina po interface-i i prawq
accountinga wyw otdelen chain kato jump-wam wyw 2 otdelni chain-a(edin
za in i edin za out) za accounting na pyrwo mqsto wyw input i output
chaina na interface-a kym klientite..
BR,
--
Boyan Krosnov (http://www.nat.bg/~bkrosnov)
Network Administrator
Lirex BG Ltd.
> -----Original Message-----
> From: gggg ggg [mailto:gashti_dolu@xxxxxxxxx]
> Sent: Monday, February 26, 2001 9:41 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: lug-bg: traffic log with ipchains
>
>
> zdraveite,
>
> imam masqueradirani 2 mreji ot tipa 10.10.x.x
> 192.168.x.x i iskam za niakoi Ip-ta da meria trafik.
>
> pravia neshto ot roda:
>
> ipchains -I input -p eth0 -s 0.0.0.0/0 -d 10.10.x.x/24
> -j ACCEPT -l
> i razbira se sashtoto za output s razmeneni -d i -s ,
> no neshto ne se polu4ava - bytes mi stoiat na 0.
> za adresi ,koito ne sa v masqueradinga mi raboti
> idelano .neshto barkam pri masqueradiraneto ili drug e
> problema?
> malko help ?
>
> g.
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> ==============================================================
> =============
> 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
>
===========================================================================
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
|