ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] iptables
@ 2006-02-09  7:49 Laaz Vadim
  2006-02-09 10:44 ` Laaz Vadim
  0 siblings, 1 reply; 4+ messages in thread
From: Laaz Vadim @ 2006-02-09  7:49 UTC (permalink / raw)
  To: community

что-то никак не пойму

шлюзовая машина, внешний интерфейс eth0

проверяю машину с наружи:
$ nmap x.x.x.x
PORT    STATE  SERVICE
22/tcp  open   ssh
80/tcp  open   http
135/tcp closed msrpc
139/tcp closed netbios-ssn
445/tcp closed microsoft-ds
593/tcp closed http-rpc-epmap

Почему показывает порты, пусть даже closed?

# iptables -L FORWARD -v
...
    0     0 REJECT     tcp  --  any    any     anywhere             anywhere            
multiport ports 135,netbios-ssn,microsoft-ds,593 reject-with 
icmp-port-unreachable
    0     0 REJECT     udp  --  any    any     anywhere             anywhere            
multiport ports 135,netbios-ssn,microsoft-ds,593 reject-with 
icmp-port-unreachable
...

# iptables -L OUTPUT -v
Chain OUTPUT (policy ACCEPT 69396 packets, 8850K bytes)
 pkts bytes target     prot opt in     out     source               
destination
    0     0 REJECT     tcp  --  any    eth0    anywhere             anywhere            
multiport ports 135,netbios-ssn,microsoft-ds,593 reject-with 
icmp-port-unreachable
    0     0 REJECT     udp  --  any    eth0    anywhere             anywhere            
multiport ports 135,netbios-ssn,microsoft-ds,593 reject-with 
icmp-port-unreachable


-- 
инженер-электроник Лааз Вадим
Железноводский ГУС
т. (87932) 3-14-30


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-09 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09  7:49 [Comm] iptables Laaz Vadim
2006-02-09 10:44 ` Laaz Vadim
2006-02-09 10:51   ` Dmitry Lebkov
2006-02-09 11:09     ` Laaz Vadim

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git