|
lug-bg: iptables - ip_conntract - icq
- Subject: lug-bg: iptables - ip_conntract - icq
- From: slv69@xxxxxxx (Slavi)
- Date: Thu, 14 Nov 2002 02:41:41 +0200 (EET)
zdraveite!
gledam edna mashina koiato zad koiato izliza malka mreja ot pc-ta /ima
squid i /usr/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -j
MASQUERADE/
ot niakolko chasa /sega e 2.26, znachi ot pone 5/ pc-tata v mrejata sa
izklucheni no ~/netstat-nat -n mi dava:
Proto NATed Address Foreign Address State
tcp 192.168.0.116:1038 64.12.24.150:5190
ESTABLISHED
tcp 192.168.0.118:1073 64.12.28.117:5190
ESTABLISHED
tcp 192.168.0.14:1033 64.12.29.125:5190
ESTABLISHED
tcp 192.168.0.24:1700 64.12.26.109:5190
ESTABLISHED
tcp 192.168.0.27:1039 64.12.28.155:5190
ESTABLISHED
tcp 192.168.0.30:1043 64.12.24.230:5190
ESTABLISHED
tcp 192.168.0.30:1029 64.12.24.228:5190
ESTABLISHED
tcp 192.168.0.32:1038 64.12.26.145:5190
ESTABLISHED
tcp 192.168.0.35:1036 64.12.24.130:5190
ESTABLISHED
tcp 192.168.0.44:1054 64.12.25.99:5190
ESTABLISHED
tcp 192.168.0.49:1194 64.12.28.104:5190
ESTABLISHED
tcp 192.168.0.49:1720 64.12.28.104:5190
ESTABLISHED
root@ns:/etc/rc.d#
Ochevidno che tova e ot ICQ, no zashto systoianieto e ESTABLISHED, sled
kato 192.168.0.0/24 sa off-line i to ne ot edna-dve minuti?
blagodaria!
p.s. netstat-nat pokazva systoianieto ot /proc/net/ip_conntract v po-
udoben za chetene vid.
____________________________________________________
Êàêâî å ðåêëàìà â Èíòåðíåò? - http://reklama.mail.bg
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|