RE: lug-bg: traffic log with ipchains
- Subject: RE: lug-bg: traffic log with ipchains
- From: kleo@xxxxxxxxxxxxx (Kliment Ognianov)
- Date: Wed, 28 Feb 2001 10:09:49 +0200
6tom e 10.10.x.x za6to maskata ti e 24?????
I osven tova vmesto da pravish po 2 chain-a ( da smenqsh -s i -d) sloji si
napravo -b
ipchains -A input -i eth0 -s 0/0 -d 10.10.0.0/16 -b -l -j ACCEPT
osven tova sloji
echo "1" > /proc/sys/net/ipv4/ip_forward (predpolagam , 4e go imash, ina4e
zabravqsh za masq-ing)
ipchains -P forward DENY
ipchains -A forward -s 10.10.0.0/16 -d !10.10.0.0/16 -j MASQ
Predpolagam , 4e 6te stane.....
I vse pak ne e li po-udobno da polzvash mrtg???
-----Original Message-----
From: owner-lug-bg@xxxxxxxxxxxxxxxxxx
[mailto:owner-lug-bg@xxxxxxxxxxxxxxxxxx]On Behalf Of gggg ggg
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
|