Hello all,
I have a 9.0 fw/dhcpd/pptp currently running ipf/ipnat but looking to switch to pf but having a route issue that I cannot seem to pin down.
ipf/ipnat are working great but whenever I switch to pf, I am unable to route to even myself. netstat -nr look the same using either so I cant see a problem there. It leads me to believe that it would be a pf.conf issue but being new to pf, I just don't see the problem.
I tried to keep the pf.conf as simple as possible and keep to the sample pf entries just so I can get anything to work. I can't even ping myself at this point. I really just hope that I've over looked something.
Any help would be much appreciated!
rc.conf
pf.conf
I have a 9.0 fw/dhcpd/pptp currently running ipf/ipnat but looking to switch to pf but having a route issue that I cannot seem to pin down.
ipf/ipnat are working great but whenever I switch to pf, I am unable to route to even myself. netstat -nr look the same using either so I cant see a problem there. It leads me to believe that it would be a pf.conf issue but being new to pf, I just don't see the problem.
I tried to keep the pf.conf as simple as possible and keep to the sample pf entries just so I can get anything to work. I can't even ping myself at this point. I really just hope that I've over looked something.
Any help would be much appreciated!
rc.conf
Code:
#PF SETTINGS
pf_enable="YES" # Enable PF (load module if required)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_flags="" # additional flags for pfctl startup
pflog_enable="YES" # start pflogd(8)
pflog_logfile="/var/log/pf.log" # where pflogd should store the logfile
pflog_flags="" # additional flags for pflogd startup
pflogd_enable="YES"
pfsync_enable="NO"
pf.conf
Code:
ext_if="xl0"
int_if="bge0"
set loginterface $ext_if
set skip on lo0
nat on $ext_if from !($ext_if) -> ($ext_if:0)
block in
pass out
pass quick on $int_if no state
antispoof quick for { lo $int_if }