[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pf rule



Hello.

i have 1 rule in my pf.conf, with wich i want to allow locally generated
traffic ONLY to 10.0.0.1 and port 22:

block out on $int_if proto {tcp,udp} from $int_ip to ! 10.0.0.1 \
	port != 22

this rule allow to connect to only 10.0.0.1, BUT to any port instead
only 22.
Am i doing something wrong?

--
raff