Hi
My rules for pf.conf
Now when I'm trying to ping(8) my gateway (192.168.1.0), I get no response:
Looking at the pf.log file I see:
Does anyone knows what am I doing wrong?
BTW my rc.conf has:
Thanks
My rules for pf.conf
Code:
...
set skip on $lo_if
block drop log all
antispoof log quick for { $lo_if, $ext_if } inet
pass out log on $ext_if inet proto icmp from ($ext_if) to any icmp-type echoreq keep state (if-bound)
Now when I'm trying to ping(8) my gateway (192.168.1.0), I get no response:
ping -c3 192.168.1.0
Looking at the pf.log file I see:
Code:
00:06:49.614398 rule 4..16777216/0(match): pass out on bge0: 192.168.1.2 > 192.168.1.0: ICMP echo request, id 47624, seq 0, length 64
00:00:00.000020 rule 3..16777216/0(match): block in on bge0: 192.168.1.2 > 192.168.1.0: ICMP echo request, id 47624, seq 0, length 64
00:06:01.063109 rule 3..16777216/0(match): block in on bge0: 192.168.1.2 > 192.168.1.0: ICMP echo request, id 47624, seq 1, length 64
00:06:01.063525 rule 3..16777216/0(match): block in on bge0: 192.168.1.2 > 192.168.1.0: ICMP echo request, id 47624, seq 2, length 64
Does anyone knows what am I doing wrong?
BTW my rc.conf has:
Code:
...
defaultrouter="192.168.1.0"
ifconfig_bge0="inet 192.168.1.2 netmask 255.255.255.248"
...
Thanks