[7.99.18] ipfilter

BERTRAND Joël <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
	Hello,

	I'm not sure it's a sparc64 specific issue. Maybe I have done a mistake.

	I use a blade2000 as a router. WAN is connected to gem0 by a WIMAX 
modem. LAN's are connected to hme[0-3].

	All but 2222/TCP (ssh) are closed from WAN. Thus, I have written in 
/etc/ipf.conf :

pass in from any to any
pass out from any to any
block in log on gem0 proto tcp \
	from any to any port = 2222
pass in log on gem0 proto tcp \
	from rayleigh.systella.fr to any port = 2222
pass in log on gem0 proto tcp \
	from newton.systella.fr to any port = 2222
pass in on hme0 to tap0:192.168.1.1 proto tcp \
         from 192.168.10.250 port = 80 to any

	If I understand, all connections to 2222/TCP are blocked when they 
don't come from rayleigh and newton. But I see on console that some IPv4 
(mainly from China) try to connect to my server on 2222/TCP port.

	Where is my mistake ?

	Best regards,

	JKB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.