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

syntax differences



Hi all,
can anybody explain what's the difference bewteen the syntax ( sign '=')
between this rules :
"pass in on vr0 inet proto tcp from any to 192.168.12.15 port = 3128
keep state"  and  
"pass out on tun0 inet proto tcp from any to any port = www keep
state"
The rules here above seems ok.
But this rule :
 # Autorise SSH
"pass in quick on xl0 proto tcp from $TRUST_IP to any port = 22 flags S
keep state"  is followed by a syntax error and the '=' sign must be
removed to solve it.
 I don't know WHEN i've to use the '=' sign or not :(
Thanks in advance for your advice
mess-mate