Firewalls/Gateways

When my home DHCP address changes, I want stuff done

I recently moved from an appliance to a FreeBSD 14.2 gateway. In this post: FreeBSD 14.2 gw01 gw01 photos These are the main things I need done when my IP address changes: restart OpenVPN restart my Hurricane Electric IPv6 tunnel with the new IP address – written Tell HE.net about my IP address change – written Notify OpenDNS.com about my IP address change Update a dynamic DNS entry so my VPN clients can […]

When my home DHCP address changes, I want stuff done Read More »

Debugging aids for pf firewall rules [on FreeBSD]

It is not often that I need to debug pf firewall rules. Yet, when I do, I cannot remember the commands for what I want to do. What is being blocked First, I want to see the firewall rule numbers in the tcpdump output. I am logging all blocked packets, via pflog0. I can use that to see what is being blocked and by what rule. These are found in my /etc/pf.conf: There

Debugging aids for pf firewall rules [on FreeBSD] Read More »

pf – cannot define table: Cannot allocate memory

I use pf on FreeBSD 8.1-stable as my firewall of choice. Recently I’ve started using the University of Alberta list of trapped addresses. As of the time of writing this, the list contains about 56,000 IP addresses. When combined with my own list of 27,000 SPAMTRAP addresses, I quick ran into a problem when reload my rule set: $ sudo pfctl -f /etc/pf.rules No ALTQ support in kernel ALTQ related functions disabled /etc/pf.rules:69:

pf – cannot define table: Cannot allocate memory Read More »

Scroll to Top