Hello,
I am convinced that IPFilter is not blocking anything like it should be. I'm going to get straight to the point because I've done several hours of research, several tutorials, dug through the handbook, looked at all sorts of stuff, and still can't solve it.
Here's what I have:
/etc/rc.conf
I've also attempted to integrate IPFilter into the kernel. The custom kernel is called UCO_TKE. Also, when I tried to preview this post, the forums complained that I had too much text, so I've only supplied what I added to the file. If I need to upload the entire file, let me know.
/usr/src/sys/i386/conf/UCO_TKE
Here are my options for IPFilter:
/etc/ipf.rules
Notes:
I am convinced that IPFilter is not blocking anything like it should be. I'm going to get straight to the point because I've done several hours of research, several tutorials, dug through the handbook, looked at all sorts of stuff, and still can't solve it.
Here's what I have:
/etc/rc.conf
Code:
hostname="uco_tke"
ifconfig_xl0="DHCP"
ifconfig_xl0_ipv6="inet6 accept_rtadv"
ftpd_enable="YES"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
apache24_enable="YES"
mysql_enable="YES"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
I've also attempted to integrate IPFilter into the kernel. The custom kernel is called UCO_TKE. Also, when I tried to preview this post, the forums complained that I had too much text, so I've only supplied what I added to the file. If I need to upload the entire file, let me know.
/usr/src/sys/i386/conf/UCO_TKE
Code:
# Enable IPFILTER
options IPFILTER
options IPFILTER_LOG
options IPFILTER_DEFAULT_BLOCK
Here are my options for IPFilter:
/etc/ipf.rules
Code:
block in quick on any from 172.18.9.218 to any
pass in all
pass out all
Notes:
- I am using FreeBSD 9.1-RELEASE, which hasn't passed it's EOL.
- The IP address "172.18.9.218" is a local IP address that I was using to test the firewall. The FreeBSD machine runs an Apache server, and I was still able to access the "website" on the machine. Also, the machine responded to pinging, even after the ruleset file was reloaded.