Pune regula in FORWARD. > -----Original Message----- > From: Buhus Teodor-Marius [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 5:43 PM > To: [EMAIL PROTECTED] > Subject: [rlug] Conexiune pe portul 3000 > > > Salut, > Doresc sa interzic ip-ului 192.168.0.170 sa poate accesa > portul 3000 al masinii 192.168.0.1 cu ajutorul lui iptables > care ruleaza pe masina 192.168.0.1 (eth1) . > > iptables -A INPUT -p tcp -i eth1 -s 192.168.0.170/32 -d > 192.168.0.1/24 --dport 3000 -j DROP > iptables -A OUTPUT -p tcp -o eth1 -d 192.168.0.170/32 -s > 192.168.0.1/24 --sport 3000 -j DROP > > iptables -L -n -v | grep 192.168.0.170 > 0 0 DROP tcp -- eth1 * 192.168.0.170 > 192.168.0.0/24 tcp dpt:3000 > 0 0 DROP tcp -- * eth1 192.168.0.0/24 > 192.168.0.170 tcp spt:3000 > > si totusi conexiunea la 192.168.0.1 pe portul 3000 de la > 192.168.0.170 este functionala. Ce regula lipseste? Multumesc! > > > > --- > Outgoing mail is certified Virus Free. Acest e-mail este > clasificat ca fiind fara virusi! > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004 > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > >
*********************************************************************************************** The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony United Kingdom Limited. (04) *********************************************************************************************** --- Detalii despre listele noastre de mail: http://www.lug.ro/
