I am trying to fix the following error:
with the following pf.cof
When I disable PF, there's no error.
Inspecting pflog shows that a netbios-ns response from the server was blocked:
where 192.168.1.1 is local machine and 192.168.1.2 is the server.
My understanding was that "keep state" in
should let the server response to the original local machine netbios name resolution request through. Am I wrong?
How should I change pf.conf for mount_smbfs to work?
Code:
mount_smbfs //user@server/share /mnt/share
mount_smbfs: can't get server address: syserr = Operation timed out
with the following pf.cof
Code:
ext_if="igb0"
tcp_pass_in= "{ ssh netbios-ssn netbios-ns netbios-dgm swat }"
udp_pass_in= "{ ssh netbios-ns netbios-ssn netbios-dgm }"
block in log
pass out all keep state
pass in on lo0 all
pass in on $ext_if proto tcp from any to any port $tcp_pass_in keep state
pass in on $ext_if proto udp from any to any port $udp_pass_in keep state
When I disable PF, there's no error.
Inspecting pflog shows that a netbios-ns response from the server was blocked:
Code:
00:00:02.275714 rule 0..16777216/0(match): block in on igb0: 192.168.1.2.137 > 192.168.1.1.38295: NBT UDP PAC KET(137): QUERY; POSITIVE; RESPONSE; UNICAST
My understanding was that "keep state" in
Code:
pass out all keep state
How should I change pf.conf for mount_smbfs to work?